pay-as-you-go 1

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.