Codex CLICodex CLI
Run Codex CLI with your own API key. Replace base URL and start using GPT-5.5 at 76% lower cost. 使用你自己的 API 密钥运行 Codex CLI。替换 base URL 后,即可以低 76% 的成本接入 GPT-5.5。
Setup guide →接入指南 →OpenAI-compatible GPT API for Codex CLI and developer workflows 面向 Codex CLI 与开发者工作流的 OpenAI 兼容 GPT API
Same GPT-5.5 model. A fraction of the cost. 同样的GPT-5.5模型,更低的成本。
| Model | OpenAI Official | NexusAPI | You Save |
|---|---|---|---|
| GPT-5.5 Input | $5.00 / 1M | $1.20 / 1M | 76% |
| GPT-5.5 Output | $30.00 / 1M | $7.20 / 1M | 76% |
| GPT-5.4 Input | $3.00 / 1M | $0.60 / 1M | 80% |
| GPT-5.4 Output | $15.00 / 1M | $3.60 / 1M | 76% |
Top up — pay $10, get $10 in your balance. No bonus, no hidden math. 充值 — 付 $10,账户加 $10,实付=实得、无套路。
Create an API key. 创建 API 密钥。
Call the API — usage is deducted from your balance at the per-token rates above. 调用 — 按上方每百万 token 单价从余额扣费。
Drop-in replacement for OpenAI API. Works with Codex CLI, Cursor, and any OpenAI-compatible client. 可直接替换 OpenAI API。兼容 Codex CLI、Cursor 和任何 OpenAI 兼容客户端。
export OPENAI_API_KEY="your_nexusapi_key" export OPENAI_BASE_URL="https://api.devapikey.com/v1" codex
Works with Codex CLI · Cursor · Cline · GitHub Actions · Any OpenAI SDK 兼容 Codex CLI · Cursor · Cline · GitHub Actions · 任意 OpenAI SDK
Run Codex CLI with your own API key. Replace base URL and start using GPT-5.5 at 76% lower cost. 使用你自己的 API 密钥运行 Codex CLI。替换 base URL 后,即可以低 76% 的成本接入 GPT-5.5。
Setup guide →接入指南 →Automate code review, test generation, and PR summaries in GitHub Actions or any CI environment. 在 GitHub Actions 或任意 CI 环境中自动完成代码审查、测试生成和 PR 摘要。
View example →查看示例 →Compatible with Cursor, Cline, Continue, and any extension that accepts a custom OpenAI endpoint. 兼容 Cursor、Cline、Continue,以及任何支持自定义 OpenAI 接口地址的扩展。
Compatible tools →兼容工具 →Power autonomous coding agents that write, refactor, and debug code — at a fraction of official API cost. 为可自主编写、重构和调试代码的智能体提供能力,同时将 API 成本压到官方价格的一小部分。
Learn more →了解更多 →Sign up for free. No credit card required to start. 免费注册。开始使用无需信用卡。
Start from $10 and recharge any time. Credits land instantly after payment. 最低 $10 起充,按需随时续充,支付后额度即时到账。
Copy your API key, set the base URL, and use GPT-5.5 with any OpenAI-compatible client. 复制 API 密钥,设置 base URL,然后用任意 OpenAI 兼容客户端接入 GPT-5.5。
Choose the amount that fits your workflow. Pay as you go with instant credit delivery. 按你的工作流选择合适档位。按需充值,额度即时到账。
No subscription · Recharge anytime · Credits available instantly 无需订阅 · 随时充值 · 额度即时到账
Start with $10. No subscription. Recharge any time. 最低 $10 起充。无需订阅。随时充值。