CodeGateway

CodeGateway

Jurisdiction-aware multi-model AI gateway: one OpenAI-compatible endpoint for Claude, GPT, Gemini, DeepSeek and xAI, billed pay-as-you-go.

69/100MonitorFree · from $2 after linking a cardFreemium

CodeGateway earns its keep when region blocks or juggling five vendor accounts is the real bottleneck. The 1.25x entry markup is real money, but the ladder down to 1.05x is more generous than most gateways for high-volume users, and the $2 credit means testing costs nothing. If you already run OpenRouter and don't need jurisdiction routing, the markup math is broadly similar — switch for the one-line Claude Code swap, not for price.

Verified 7d ago · liveness 69/100 · cite: rightaichoice.com/tools/codegateway

Best for
  • Developers running Claude Code in regions where direct Anthropic API access is blocked
  • Small teams wanting one key and one bill across Claude, GPT, Gemini, DeepSeek and xAI
  • Cursor and Codex CLI users who prefer one base-URL swap over per-vendor configuration
  • Builders who need image and video generation endpoints alongside LLM text calls
Not ideal for
  • Developers who are happy with direct Anthropic or OpenAI billing and won't pay a 1.05x–1.25x markup
  • Enterprises needing on-premise or dedicated single-tenant deployment
  • Teams standardized on AWS Bedrock or Azure OpenAI for procurement reasons
Visit Website

IntermediateClaude Code: about 5 minutes — register, copy the key, run the one-command setup script and go. Other OpenAI-compatible CLIs (Aider, Crush, opencode, Qwen Code): 5–10 minutes to add a base URL and key. GitHub Copilot CLI: 4 environment variables. Cursor CLI and Gemini CLI cannot connect directly and need a documented workaround first.Web · API · CLI · DesktopAPI availableVerified 7d ago
Pricing
Free · from $2 after linking a card
FreemiumFree tier5 plans5 hidden costs
Learning curve
Intermediate
Claude Code: about 5 minutes — register, copy the key, run the one-command setup script and go. Other OpenAI-compatible CLIs (Aider, Crush, opencode, Qwen Code): 5–10 minutes to add a base URL and key. GitHub Copilot CLI: 4 environment variables. Cursor CLI and Gemini CLI cannot connect directly and need a documented workaround first.
Runs on
WebAPICLIDesktop
API available
Who it's for
Solo developer in a region where the Anthropic API is blockedSmall engineering team juggling Anthropic, OpenAI and Gemini accountsContent or product team generating assets alongside text
Live sentiment
Is CodeGateway actually worth it?

We scan live Reddit threads, YouTube comments, X posts, G2 reviews and other communities — and hand you an honest verdict in under a minute.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

3 free scans · no card needed

Skip it if

Skip CodeGateway if you are already on OpenRouter and don't need jurisdiction-aware routing — the markup math is broadly similar, and the one-line Claude Code swap is the only material difference.

The 30-second take
Biggest gripe

Stripe charges about 3.9% plus $0.30 on every top-up, and that fee is not refunded — small $10 top-ups carry a proportionally heavier drag.

Price reality

Pay-as-you-go with no subscription and no minimum makes CodeGateway cheap to trial at the $10 体验包 tier, but the real economics only beat direct vendor billing at the top of the ladder — teams spending $500+ per 90 days reach 1.05x and get close to official Anthropic pricing, while a $20/month user sits at 1.2x–1.25x. OpenRouter plays in a similar band, so choose on jurisdiction routing and Claude Code setup rather than headline price.

In short

CodeGateway — Jurisdiction-aware multi-model AI gateway: one OpenAI-compatible endpoint for Claude, GPT, Gemini, DeepSeek and xAI, billed pay-as-you-go. Best for Developers running Claude Code in regions where direct Anthropic API access is blocked, Small teams wanting one key and one bill across Claude, GPT, Gemini, DeepSeek and xAI, Cursor and Codex CLI users who prefer one base-URL swap over per-vendor configuration. Free to start; paid plans from $2.

What's new in CodeGateway

Checked 7 days ago

Across the latest 5 updates: 2 feature updates and 3 news mentions.

Viability Score

69/100
Monitor

How well maintained and how widely used is CodeGateway? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
90
Traction
not measured
Site health
95
User sentiment
not measured
What the vendor publishes
40

Last calculated: September 2026

How we score →

Key Features

  • OpenAI-compatible unified API endpoint covering 78 models from a single key
  • Jurisdiction-aware routing aimed at regions that block direct Anthropic or OpenAI access
  • Low-latency routing over the Cloudflare global edge network
  • One-line base URL swap for Claude Code, Cursor and Codex CLI
  • One-command Claude Code setup script for macOS, Linux and Windows
  • Unified access to Anthropic, OpenAI, Google Gemini, DeepSeek, xAI, Qwen, Mistral, Moonshot and Zhipu models
  • SSE streaming for real-time output, compatible with Claude Code display
  • Image generation endpoints including gpt-image-2, gpt-image-1.5 and gemini-2.5-flash-image
  • Video generation endpoints for Veo 3.1, Hailuo 2.3 and Seedance 2.0
  • Five-tier multiplier ladder from 1.25x to 1.05x based on rolling 90-day spend
  • Prepaid balance that never expires, with no monthly subscription or minimum
  • Token-level billing metered to $10⁻¹⁰ precision with no round-up
  • Cache write and cache read pricing published per model on the live rate table
  • Usage dashboard with per-token cost detail and call analytics
  • API keys stored as SHA-256 hashes, HTTPS everywhere, TOTP two-factor authentication

About CodeGateway

FreemiumIntermediateAPI availableWeb · API · CLI · Desktop

CodeGateway is a gateway service that puts Claude, GPT, Gemini, DeepSeek, xAI, Qwen, Mistral, Moonshot and Zhipu models behind a single OpenAI-compatible endpoint. You register, create an API key in the Dashboard, then swap the base URL in Claude Code, Cursor, Codex CLI, Aider, Crush, opencode, Qwen Code or the GitHub Copilot CLI to route traffic through CodeGateway instead of holding separate accounts with each vendor. The model list currently shows 78 entries, from claude-opus-5 and claude-sonnet-5 through gpt-5.6 and gemini-3.8-flash, synced to upstream releases, and the same key also reaches image endpoints (gpt-image-1.5, gpt-image-2, gemini-2.5-flash-image) and video generation (Veo 3.1, Hailuo 2.3, Seedance 2.0). The pitch is practical. Traffic moves over Cloudflare's global edge, SSE streaming works as-is so Claude Code's live output renders correctly, and jurisdiction-aware routing is aimed at developers whose region blocks direct Anthropic or OpenAI access. Billing is prepaid and pay-as-you-go with no subscription and no minimum: you top up $10, $20, $50 or $100, the balance never expires, and consumption is metered per token to $10⁻¹⁰ precision with no round-up. Pricing sits on top of official vendor rates at a multiplier that starts at 1.25x and falls through five tiers to 1.05x once your rolling 90-day spend passes $500. New users get $2 in credit after linking a card. Security basics are covered: keys stored as SHA-256 hashes, HTTPS everywhere, TOTP two-factor, and a stated policy of not retaining conversation content. Payment runs through Stripe (cards) plus Alipay and WeChat Pay.

Behind the Verdict

CodeGateway's value is concentrated in two places: regional access and Claude Code ergonomics. The setup is genuinely short. You register, grab a key from the Dashboard, and replace one API address in Claude Code (there is a one-command script for macOS, Linux and Windows) or add a base URL in Cursor, Codex CLI, Aider, Crush, opencode, Qwen Code and the GitHub Copilot CLI. Docs cover the tools that cannot connect directly — Cursor CLI only supports Cursor account auth, and Gemini CLI only speaks Gemini's native protocol — and explain the workarounds rather than pretending compatibility. The second half is cost structure. Prepaid balance, no subscription, no minimum, no expiry. The multiplier is based on rolling 90-day spend: 1.25x from $0–$20, 1.2x from $20–$50, 1.15x from $50–$200, 1.1x from $200–$500 and 1.05x above $500. The rate locks at top-up time and re-settles once that balance is consumed, which makes budgeting predictable. Token metering runs to $10⁻¹⁰ with no round-up, and the rate table publishes input, output, cache-write and cache-read prices per model, so you can see exactly where the markup lands (for example claude-sonnet-4-6 at $3.75 in / $18.75 out per MTok versus Anthropic's $3/$15). The honest weaknesses. First, it is a reseller — not an official Anthropic or OpenAI product — and the multiplier is dynamically adjusted by the operator in the background, so the ladder is a policy, not a contractual guarantee. Second, cross-border payment is not free: Stripe charges roughly 3.9% + $0.30 per top-up and that fee is not refunded, so small top-ups carry a proportionally larger drag. Third, light users sit at 1.25x and may never reach the discount tiers — the ladder rewards volume, not loyalty. Fourth, there is no on-premise or single-tenant deployment, and access is blocked for OFAC-sanctioned jurisdictions. If you are standardized on AWS Bedrock or Azure OpenAI for procurement reasons, this is not your tool. If your problem is that the Anthropic API is simply unreachable, or that five vendor accounts and five invoices are slowing you down, CodeGateway solves that in about five minutes.

Researching CodeGateway? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Real-world workflow fit

Concrete scenarios for the personas CodeGateway actually fits — and what changes day-one when you adopt it.

Solo developer in a region where the Anthropic API is blocked

Register, link a card to claim the $2 credit, copy an API key from the Dashboard, then run the one-command Claude Code setup script for macOS or Linux so the base URL points at CodeGateway.

Outcome: Claude Code runs end to end within about five minutes with no Anthropic account, and further usage is metered against a prepaid balance that never expires.

Small engineering team juggling Anthropic, OpenAI and Gemini accounts

Point Cursor, Codex CLI and Aider at the single CodeGateway OpenAI-compatible endpoint, keep one prepaid balance, and track per-token cost per model in the Dashboard while spend accumulates toward the 90-day multiplier tiers.

Outcome: Three vendor accounts and three invoices collapse into one, and the dashboard shows which model and which tool is driving spend.

Content or product team generating assets alongside text

Call gpt-image-2 or gemini-2.5-flash-image for stills and Veo 3.1 or Hailuo 2.3 for short video through the same API key used for text prompts.

Outcome: Image and video generation are billed from the same prepaid balance with no separate media-vendor account or billing relationship.

Use Cases

Models Under the Hood

claude-sonnet-4-5Claude Haiku 4.5claude-fable-5-1deepseek-v4-prodeepseek-v4-flashclaude-opus-5claude-fable-5GPT-4oGPT-4o miniGPT-4 TurboGPT-4.1GPT-4.1-mini

as of 2026-09-24

Limitations

  • CodeGateway is a third-party reseller, not an official Anthropic or OpenAI product, and its prices sit above official rates by a multiplier (1.05x–1.25x on a 90-day rolling spend ladder) that the operator adjusts dynamically in the background, so the published ladder is a policy rather than a contractual guarantee.
  • Stripe top-up fees of roughly 3.9% + $0.30 per transaction are not refunded, and all prices exclude VAT.
  • Some agent CLIs cannot connect directly through its unified endpoint: Cursor CLI accepts only Cursor account auth, and Gemini CLI speaks only Gemini's native protocol, so both require a workaround.

as of 2026-09-21

Verification history

We have re-verified CodeGateway 7 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  2. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  3. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  4. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  5. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it
  6. — re-verified summary, description, our verdict, our analysis, pricing model, pricing tiers, features, integrations, who it suits, who should skip it

Showing the 6 most recent of 7 verification passes.

Free to cite with attribution — this page re-verifies continuously.

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
$24
Over 12 months
Effective monthly
$2
Billed monthly

Vendor list price only. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Plans compared

For each published CodeGateway tier: who it actually fits, and what it adds vs. the previous tier. Cross-reference the cost calculator above for projected annual outlay.

Free Credit

$2 after linking a card

Ideal for

New developers who want to confirm Claude Code, Cursor or Codex CLI works through the gateway before spending anything.

What this tier adds

Starting entry point: a one-time $2 credit after linking a card, with full access to all 78 models and no prepayment.

体验包 (Starter Top-Up)

$10

Ideal for

Light or occasional users testing a few models per week without committing to a monthly plan.

What this tier adds

First paid tier at $10 — moves you from one-time credit to a prepaid balance that never expires, still at the 1.25x entry multiplier.

开发者包 (Developer Top-Up)

$20

Ideal for

Individual developers running Claude Code or Cursor daily who want a balance large enough not to top up constantly.

What this tier adds

Adds the $20 top-up level needed to enter the 1.2x multiplier tier based on 90-day spend.

专业包 (Professional Top-Up)

$50

Ideal for

Heavy individual users or small teams with steady daily API volume across text, image and video endpoints.

What this tier adds

At $50 of 90-day spend you reach the 1.15x tier, noticeably below the 1.25x entry rate.

团队包 (Team Top-Up)

$100

Ideal for

Teams or high-frequency users pushing toward the bottom of the discount ladder.

What this tier adds

The $100 tier is the practical path toward the 1.1x and 1.05x tiers once cumulative 90-day spend passes $200 and $500.

Hidden costs & gotchas

What the public pricing page doesn't put in bold. Captured from pricing-page footnotes, contract terms, and recurring complaints.

  • Stripe charges about 3.9% plus $0.30 on every top-up, and that fee is not refunded — small $10 top-ups carry a proportionally heavier drag.
  • Your multiplier is 1.25x until 90-day spend passes $20, so occasional users pay the highest markup and may never reach the 1.05x floor.
  • The multiplier is set at top-up time and only re-settles after that balance is consumed, so a large top-up locks in the current tier for its full duration.
  • Light and heavy models draw down the same credit at very different rates — $1 buys roughly 800K Haiku tokens at 1.25x but far fewer Opus tokens.
  • Requests to OFAC-sanctioned jurisdictions are blocked outright, so sanctioned-region users cannot use the service at all.

Where the pricing makes sense

The company stage and team size where CodeGateway's pricing actually pencils out — and where peers do it cheaper.

Pay-as-you-go with no subscription and no minimum makes CodeGateway cheap to trial at the $10 体验包 tier, but the real economics only beat direct vendor billing at the top of the ladder — teams spending $500+ per 90 days reach 1.05x and get close to official Anthropic pricing, while a $20/month user sits at 1.2x–1.25x. OpenRouter plays in a similar band, so choose on jurisdiction routing and Claude Code setup rather than headline price.

Setup time & first value

How long it actually takes to get something useful out of CodeGateway — broken out by persona, not the marketing-page minute.

Claude Code: about 5 minutes — register, copy the key, run the one-command setup script and go. Other OpenAI-compatible CLIs (Aider, Crush, opencode, Qwen Code): 5–10 minutes to add a base URL and key. GitHub Copilot CLI: 4 environment variables. Cursor CLI and Gemini CLI cannot connect directly and need a documented workaround first.

Switching to or from CodeGateway

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • →From direct Anthropic API: replace the base URL in your client with the CodeGateway endpoint and swap in a CodeGateway key.
  • →From OpenRouter: same OpenAI-compatible pattern — change the base URL and key, then recheck per-model rates on the CodeGateway rate table.
  • →From per-vendor OpenAI and Gemini accounts: consolidate onto one CodeGateway key and one prepaid balance.
  • →From Cursor built-in models: configure Cursor with the CodeGateway base URL to route through the gateway instead.
  • →From Codex CLI default endpoint: set base_url to CodeGateway and use gpt-5.3-codex or another listed model.
Migrating out
  • ↗To direct Anthropic or OpenAI billing: remove the gateway base URL and restore vendor keys, accepting separate accounts and invoices.
  • ↗To OpenRouter: swap the base URL and key — the endpoint shape is OpenAI-compatible and the markup band is broadly similar.
  • ↗To AWS Bedrock or Azure OpenAI: move to the cloud provider's model endpoints for procurement and consolidated cloud billing.
  • ↗To a self-hosted gateway: run your own proxy in front of vendor APIs if you need single-tenant control or on-premise deployment.

Resources & Guides

Tutorials & Learning

YouTube returned 6 videos for “CodeGateway”, and we withheld 6: 6 could not be judged, because “CodeGateway” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about CodeGateway.

Tools that pair well with CodeGateway

Common stack mates teams adopt alongside CodeGateway, with the specific reason each pairing earns its keep.

Featured Head-to-Head Comparisons

Alternatives to CodeGateway

View all
GPT API Free

GPT API Free

Free API keys for GPT, Claude, Gemini, DeepSeek and more behind one OpenAI-compatible endpoint.

FreemiumTry
Agnes AI

Agnes AI

Free multimodal AI API gateway for text, image, video, and audio generation with OpenAI-compatible endpoints

FreemiumTry
TokenHot

TokenHot

Unified LLM API gateway: one OpenAI-compatible endpoint for 96+ text, image, and video models at up to 90% off list price.

FreemiumTry

Frequently Asked Questions

Used CodeGateway? Help shape our editorial sentiment research.