What is CodeGateway
CodeGateway is a jurisdiction-aware multi-model AI Gateway that aggregates Claude, GPT, and Gemini. It offers intelligent routing, usage analytics, and cost optimization capabilities, leveraging Cloudflare's global network for low-latency access.
How to use CodeGateway
- Register an account to receive a $2 free credit.
- Obtain an API Key from the Dashboard's "API Keys" page.
- Integrate by replacing the API address in your Claude Code, Cursor, or Codex CLI setup.
Features of CodeGateway
- Low-latency Access: Utilizes Cloudflare's global edge network for stable, low-latency connections.
- Convenient Payment: Supports multiple payment methods including credit cards, Alipay, and WeChat.
- Streaming Response: Natively supports SSE streaming output, fully compatible with Claude Code's real-time display.
- One-Click Configuration: Fully compatible with Claude Code; simply replace the API address.
- Transparent Billing: Real-time monitoring of token usage and costs. Volume discounts apply, with rates as low as 1.05x for high usage.
- Secure and Reliable: API Keys are stored using SHA-256 hashing, all communication is HTTPS encrypted, and conversation content is not retained.
Use Cases of CodeGateway
- Seamless integration with Claude Code, Cursor, and Codex CLI.
- Developers can leverage multiple AI models through a single gateway.
- Enables real-time AI responses with streaming capabilities.
Pricing
CodeGateway operates on a pay-as-you-go model with no monthly fees. Balances do not expire. Pricing is tiered based on cumulative consumption over the past 90 days:
- Tier 1: $0 - $20 consumption, 1.25x rate.
- Tier 2: $20 - $50 consumption, 1.2x rate.
- Tier 3: $50 - $200 consumption, 1.15x rate.
- Tier 4: $200 - $500 consumption, 1.1x rate.
- Tier 5: $500+ consumption, 1.05x rate.
Available plans include:
- Trial Package: $10
- Developer Package: $20 (Most Popular)
- Professional Package: $50
- Team Package: $100
Payment methods include Alipay, WeChat Pay, and Credit Card. Prices are in USD, with RMB as a reference based on real-time exchange rates.
FAQ
- What is CodeGateway? CodeGateway is a Claude API access service designed for developers, enabling quick and stable calls to Anthropic's full range of models, fully compatible with the Claude Code workflow.
- How to use CodeGateway?
- Register an account to get an API Key.
- Replace the Claude Code API address with CodeGateway.
- Pay-as-you-go billing.
- What models are supported? Supports Anthropic models (Claude Sonnet 4.5/4.6, Claude Haiku 4.5, Claude Opus 4.5/4.6/4.7) and OpenAI models (GPT-4o / GPT-4o mini, GPT-4 Turbo, GPT-4.1 series, o-series inference models).
- How to top up? Supports WeChat Pay and Alipay. Top-up balances are permanent. The billing rate is determined by cumulative consumption over the past 90 days.
- Is the data secure? API Keys are stored as SHA-256 hashes. All communication is HTTPS encrypted. Conversation content is not stored.
- Is there a free credit? Yes, new users receive a $2 free credit upon registration to experience the full service without prior payment.




