Codegateway
To be verified
OpenAI-compatible AI gateway for Claude, GPT & more — swap one base_url.
CodeGateway is an OpenAI-compatible AI gateway that gives developers unified access to Anthropic's Claude, OpenAI's models, and more through a single endpoint. Because it speaks the standard OpenAI API format, any tool you already use — Claude Code, Cursor, Codex CLI, Cline, Continue — works after a one-line change to the base_url. No SDK swap, no code rewrite. Smart routing picks a backend by latency and cost and fails over automatically during peak load, so requests stay reliable. Responses stream in real time over SSE, and Anthropic-compatible and Codex Responses endpoints are supported too. Built-in usage analytics give you real-time token usage, model distribution, and cost breakdowns you can export for audit anytime. Billing is pay-as-you-go with no subscription and no monthly minimum: top up from $5, every new account gets $2 of free trial credit, and payments accept cards as well as Alipay and WeChat Pay. Integrate in about five minutes and switch models without rewriting your code.
- Run Claude Code, Cursor or Codex CLI through one stable base_url
- Build AI apps on Claude or OpenAI and switch models without rewriting code
- Power coding agents and API integrations with built-in cost and usage tracking
- Top up with Alipay or WeChat Pay when cards are inconvenient
- Keep one OpenAI-compatible interface across multiple model providers
- 1. Sign up at codegateway.dev — every new account gets $2 of free trial credit. 2. Create an API key in the dashboard (top up from $5 when you need more). 3. Point your tool at the gateway by changing the base URL and using your key — for Claude Code
- set ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY. 4. Call any supported Claude or OpenAI model through the standard OpenAI/Anthropic format; responses stream in real time. 5. Track token usage
- model split
- and cost in the dashboard analytics.
