{"_id":"@alephantai/n8n-nodes-alephant-ai","_rev":"7-87c7100ac226ae1006ceb655be5ee93d","name":"@alephantai/n8n-nodes-alephant-ai","dist-tags":{"latest":"0.1.7"},"versions":{"0.1.0":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.0","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.ai","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.0","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.ai","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"f99716730f3ebea0d3e42db3fd7b77c5a2f158d4","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.0.tgz","fileCount":27,"integrity":"sha512-g/aC5/Jpj7bzmSyp2C6Pnlazuw+0LDemjYV4WA52RZ3uSCySE2Y8aAqsdLfmSOkmtDdHJMhAAIT5IE1CsMBHHA==","signatures":[{"sig":"MEQCIHg+vp4M64Uiuflusv0vxSgKAZ4zj9iPY7amzm4i/noFAiBX1/i81T+b9G2P8wa982jbzgqwdTY5NgREbzpIIRTqew==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26774},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f6d83aab83f90c130296453065ede0d471b5c673","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"tengyu","email":"gengbingbing628@gmail.com"},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"10.9.4","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"^2.16.0"},"peerDependencies":{"n8n-workflow":"^2.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.0_1778855624628_0.8569277524180354","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.1","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.ai","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.1","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.ai","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"3f191535e45883889becbb0c2495476002fdac7b","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.1.tgz","fileCount":27,"integrity":"sha512-RCNaHh+KvVYLRsb0uot/LGLTQ+D1mDGNo+LiKQepepkj5YTEVN9T7nRpS6Gy+cxAHW7n6SW8gjtrkVIxmXOM3g==","signatures":[{"sig":"MEYCIQDrui6KozQaZ5sqhzy12gln/Ch6WpBwA9WRRMxZvUnWqgIhAN5Tq4VjVojZvGUBdqOf2iyHaTLmB1bi5iz0MSiEhbP5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26774},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8739a34db1f7e828e7da47992916949d51ad280d","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"11.14.1","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"^2.16.0"},"peerDependencies":{"n8n-workflow":"^2.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.1_1778855953427_0.16908359039056076","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.3","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.ai","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.3","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.ai","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"947b760f279f2aa375c950f8c38d84285ea2da39","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.3.tgz","fileCount":27,"integrity":"sha512-NGDOiBCNi513+PqARZVY1mCjsQOuPoJsfTrua2l6sTX153H6WWhXm6gGQR/VzchMiqE3i91oXMmEonGU/vJzfQ==","signatures":[{"sig":"MEUCIQDH3o2J4De3vb1f6WECaQ+qJ+cAlqwZXYYDQBJwP+UNIwIgRLIo+JfHYuJ0OIsbfxd/RCEyRBg4chb6mCHS0iJtORk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30110},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b915a3da72d8e6f9a7dc18e3501b28493f6fbc96","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"11.14.1","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"^2.16.0"},"peerDependencies":{"n8n-workflow":"^2.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.3_1778885635072_0.34763292739910945","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.4","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.4","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"89d3cbdf1d25e1c41ef539e1346cc7b0a0778d00","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.4.tgz","fileCount":27,"integrity":"sha512-I5PZ8HHFo82zTAx3tMAdUVtWb4AUqAjsUsx6xZDn1IFfow9ifiAZ4ln3DRbgfEB3F7CuMUKvefbzX7X6M/ggsA==","signatures":[{"sig":"MEUCIEk3LXx4WKEvrozDwJB8L2ooFOHOYqjG1+gUqmWVJ2rsAiEAmI0tbmeya/BmgnPWpnzr71kuKt6C1QxZl9E0JRIW6f0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30103},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0264812816de5922d36b6aa2f2532a20413c4ba1","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"11.14.1","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"^2.16.0"},"peerDependencies":{"n8n-workflow":"^2.16.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.4_1779192135976_0.5197755368533652","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.5","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.5","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"d08d5e84a5cc98b227347e8e2a7b94fa571b22f5","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.5.tgz","fileCount":27,"integrity":"sha512-DqKnq6h9n3OWOzpyJZJHZ3lHJNDYYzFKD8moOw34DHpMKgI76YajJFXocQcsYOUO0zOonXznvoY4LbegdTp2kQ==","signatures":[{"sig":"MEUCIQC7Kj3mRWeLnREKFY5c8MY5xihECNBpdLEBD9yfWNustgIgZo9MYQc10feykewGEPkZfGC7J5UGY5dsMvnSzHos9aA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30091},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"53ede09b1cc6e08b1cf1d4149a109592aa3e174c","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"11.14.1","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.5_1779238500073_0.24430743602970373","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.6","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"author":{"url":"https://alephant.io","name":"Alephant","email":"dev@alephant.io"},"license":"MIT","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.6","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"homepage":"https://alephant.io","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"n8n":{"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"],"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"4086d5cdd237f3e7b68c7614dd76df3ae622cbbb","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.6.tgz","fileCount":27,"integrity":"sha512-PicWNz3lBFYYsjwnPYeL3F/L9UFlUq6OmMN6NpF+GoeB5MEKZ6DzIbQ3OsGiCR39wHhuKG9BUp8gL2CWfczQ4w==","signatures":[{"sig":"MEUCIEYKbB/s5MtY3eEQwTCv7Yk+dlJgbUTmVf46UrzA/481AiEA7Y4e5fVm2dyKoC+NU4Nmw7nsd7Prb5Tf+AV37zMyvwE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30132},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a09671b7b0b156db1bb6787de673ac0f57d639ff","scripts":{"lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","prepublishOnly":"npm run lint && npm run test && npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"repository":{"url":"git+https://github.com/AlephantAI/alephant-n8n.git","type":"git","directory":"packages/alephant-ai"},"_npmVersion":"11.15.0","description":"n8n node for Alephant AI Gateway cost control and observable model requests","directories":{},"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.6.3","n8n-workflow":"*"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-alephant-ai_0.1.6_1779316451167_0.1508379725306912","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@alephantai/n8n-nodes-alephant-ai","version":"0.1.7","description":"n8n node for Alephant AI Gateway cost control and observable model requests","license":"MIT","homepage":"https://alephant.io","author":{"name":"Alephant","email":"dev@alephant.io","url":"https://alephant.io"},"repository":{"type":"git","url":"git+https://github.com/AlephantAI/alephant-n8n.git","directory":"packages/alephant-ai"},"keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc -p tsconfig.json && node ../../scripts/copy-package-assets.cjs dist AlephantAi","lint":"npm --prefix ../.. run lint","test":"npm --prefix ../.. run test","prepublishOnly":"npm run lint && npm run test && npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/AlephantVirtualKeyApi.credentials.js"],"nodes":["dist/nodes/AlephantAi/AlephantAi.node.js"]},"peerDependencies":{"n8n-workflow":"*"},"devDependencies":{"n8n-workflow":"*","typescript":"^5.6.3"},"gitHead":"08515acffdbd9a0aa46287d1b61d71849273522b","_id":"@alephantai/n8n-nodes-alephant-ai@0.1.7","bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"_nodeVersion":"24.15.0","_npmVersion":"11.15.0","dist":{"integrity":"sha512-Ya3ebIku6RQkHyfw3b01vzA0zFq/kDXCJczvqEgaVcyxvt5EYjoF3F8kyjnzyu8CX9eO2G0vs8r+2jAxgRYP7g==","shasum":"033b0e73eff77bc9ada879522cf89e6dc2b7a7fd","tarball":"https://registry.npmjs.org/@alephantai/n8n-nodes-alephant-ai/-/n8n-nodes-alephant-ai-0.1.7.tgz","fileCount":27,"unpackedSize":30090,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alephantai%2fn8n-nodes-alephant-ai@0.1.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICuMmFett0lnaONoC5LYf6BDRSngk4GO3Ja3uDtx6zUOAiEAyOw+RiJ1f2L+ce6CHj9LpgskNHaRYRPPs+a8Am40kpo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f8404f05-cffc-4dfd-97a2-ce1ee520074e"}},"directories":{},"maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-alephant-ai_0.1.7_1779324219067_0.5965493842390506"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-15T14:33:44.544Z","modified":"2026-05-21T00:43:39.510Z","0.1.0":"2026-05-15T14:33:44.772Z","0.1.1":"2026-05-15T14:39:13.598Z","0.1.3":"2026-05-15T22:53:55.227Z","0.1.4":"2026-05-19T12:02:16.182Z","0.1.5":"2026-05-20T00:55:00.259Z","0.1.6":"2026-05-20T22:34:11.320Z","0.1.7":"2026-05-21T00:43:39.230Z"},"bugs":{"url":"https://github.com/AlephantAI/alephant-n8n/issues"},"author":{"name":"Alephant","email":"dev@alephant.io","url":"https://alephant.io"},"license":"MIT","homepage":"https://alephant.io","keywords":["n8n-community-node-package","n8n","alephant","ai","finops","byok"],"repository":{"type":"git","url":"git+https://github.com/AlephantAI/alephant-n8n.git","directory":"packages/alephant-ai"},"description":"n8n node for Alephant AI Gateway cost control and observable model requests","maintainers":[{"name":"alephantway","email":"cgwang@alephant.io"},{"name":"tengyu","email":"gengbingbing628@gmail.com"}],"readme":"# @alephantai/n8n-nodes-alephant-ai\n\nn8n community node for Alephant AI Gateway cost control and observable model requests.\n\n## What This Node Does\n\nThis package adds the **Alephant Cost Control** node to n8n. The node sends OpenAI-compatible chat completion requests through Alephant AI Gateway so teams can route model traffic through a virtual key, track usage, and attribute cost by workspace, key, model, provider, or workflow run.\n\nUse this package when you want an n8n workflow to call a model through Alephant instead of calling the model provider directly.\n\n## Installation\n\nIn n8n:\n\n1. Go to **Settings** > **Community nodes**.\n2. Select **Install**.\n3. Enter `@alephantai/n8n-nodes-alephant-ai`.\n4. Confirm the community node installation prompt.\n\nFor self-hosted n8n, community packages must be enabled:\n\n```bash\nN8N_COMMUNITY_PACKAGES_ENABLED=true\n```\n\nRestart n8n after changing environment variables.\n\n## Authentication\n\nThis node uses the **Alephant Virtual Key** credential.\n\nTo configure it:\n\n1. Follow the Alephant quickstart guide: `https://developers.alephant.io/docs/overview/getting-started/quickstart-guide`.\n2. In the Alephant dashboard, register or sign in to your workspace.\n3. Add an upstream provider API key as a Master Key.\n4. Create an Agent for the n8n workflow or application that will send AI traffic.\n5. Copy the Virtual Key generated for that Agent.\n6. In n8n, create a new **Alephant Virtual Key** credential.\n7. Paste the key into the **Virtual Key** field.\n8. Leave **Gateway Base URL** empty unless you use a staging, local, or dedicated Alephant deployment.\n\nProduction defaults:\n\n- Gateway Base URL: `https://ai.alephant.io/v1`\n- SaaS Base URL: `https://alephant.io`\n- Analytics Base URL: `https://analytics.alephant.io`\n\nThe credential test calls the Alephant Gateway models endpoint with your virtual key. A successful test means n8n can authenticate to the gateway.\n\nThe Alephant quickstart also shows the equivalent OpenAI-compatible setup: use `https://ai.alephant.io/v1` as the base URL and send the Virtual Key as a Bearer token. This n8n node handles that request setup for you after the credential is saved.\n\n## Worked Example: Chat Completion\n\nThis example sends a prompt to Alephant AI Gateway and returns the model response plus request metadata.\n\n1. Create a new workflow in n8n.\n2. Add a **Manual Trigger** node.\n3. Add the **Alephant Cost Control** node.\n4. Select your **Alephant Virtual Key** credential.\n5. Set **Operation** to `Chat Completion`.\n6. Set **Model** to a model available in your Alephant workspace, for example `gpt-4o-mini`.\n7. Set **Input Mode** to `Prompt`.\n8. Set **Prompt** to:\n\n```text\nWrite a one sentence summary of why AI cost attribution matters.\n```\n\n9. Execute the node.\n\nExample output shape:\n\n```json\n{\n  \"text\": \"AI cost attribution matters because it shows which teams, workflows, and models drive spend.\",\n  \"model\": \"gpt-4o-mini\",\n  \"usage\": {\n    \"prompt_tokens\": 18,\n    \"completion_tokens\": 17,\n    \"total_tokens\": 35\n  },\n  \"requestId\": \"req_...\",\n  \"requestLogId\": \"...\"\n}\n```\n\nYou can pass structured OpenAI-compatible message arrays by changing **Input Mode** to `Messages JSON` and entering:\n\n```json\n[\n  {\n    \"role\": \"system\",\n    \"content\": \"You write concise workflow summaries.\"\n  },\n  {\n    \"role\": \"user\",\n    \"content\": \"Summarize the latest workflow item.\"\n  }\n]\n```\n\n## Node\n\n- **Alephant Cost Control**\n\n## Credential\n\n- **Alephant Virtual Key**\n\n## Support\n\nFor product and API documentation, visit `https://alephant.io`.\n","readmeFilename":"README.md"}