Anthropic, OpenAI, Google & More API Pricing (Live Rates)
Based on official provider list prices with a flat 1.07x× service markup; top-ups add a 2% service fee
Get started free: sign up, create an API key, and route your first request in minutes.
| Model | Input /MTok | Output /MTok | Cache Write /MTok | Cache Read /MTok | Unit |
|---|---|---|---|---|---|
claude-sonnet-4-5Anthropic | $3.2100 | $16.0500 | $4.0125 | $0.3210 | /MTok |
claude-sonnet-4-5-20250929Anthropic | $3.2100 | $16.0500 | $4.0125 | $0.3210 | /MTok |
claude-haiku-4-5Anthropic | $1.0700 | $5.3500 | $1.3375 | $0.1070 | /MTok |
claude-haiku-4-5-20251001Anthropic | $1.0700 | $5.3500 | $1.3375 | $0.1070 | /MTok |
claude-opus-4-5Anthropic | $5.3500 | $26.7500 | $6.6875 | $0.5350 | /MTok |
claude-sonnet-4-6Anthropic | $3.2100 | $16.0500 | $4.0125 | $0.3210 | /MTok |
claude-opus-4-6Anthropic | $5.3500 | $26.7500 | $6.6875 | $0.5350 | /MTok |
claude-opus-4-7Anthropic | $5.3500 | $26.7500 | $6.6875 | $0.5350 | /MTok |
claude-opus-4-8Anthropic | $5.3500 | $26.7500 | $6.6875 | $0.5350 | /MTok |
claude-fable-5Anthropic | $10.7000 | $53.5000 | $13.3750 | $1.0700 | /MTok |
claude-sonnet-5Anthropic | $2.1400 | $10.7000 | $2.6750 | $0.2140 | /MTok |
claude-opus-5Anthropic | $5.3500 | $26.7500 | $6.6875 | $0.5350 | /MTok |
← Swipe to see all prices →
Official provider list prices at anthropic.com/pricing
All prices exclude VAT (Value Added Tax). Applicable VAT may be added at checkout depending on your region.
Comparing providers? See Claude vs GPT vs Gemini price per million tokens.
Supported models
Full list of model ids — copy any of them: Claude and Gemini text models go into an Anthropic Messages client (/v1/messages), OpenAI text models into an OpenAI-compatible client; Gemini image models use the OpenAI-compatible /v1/images/generations.
anthropic/claude-fable-5-2claude-fable-5-2Anthropicanthropic/claude-haiku-5-5claude-haiku-5-5Anthropicanthropic/claude-sonnet-5-5claude-sonnet-5-5Anthropicanthropic/claude-opus-5-5claude-opus-5-5Anthropicanthropic/claude-fable-5-1claude-fable-5-1Anthropicanthropic/claude-opus-5claude-opus-5Anthropic
AI API Gateway Pricing vs Direct Provider Costs
- •All prices are in USD, based on upstream providers' official USD list prices
- •"Markup" = CodeGateway actual price ÷ upstream provider official price. For example, 1.07x means you pay 1.07× the official rate
- •The markup covers global CDN acceleration, high-availability infrastructure, API key management, and operational costs
- •Flat consumption multiplier Flat multiplier 1.07x
Top-up Processing Fee
- •Top-up service fee: 2% of the credited face amount (platform fee; credited balance is unaffected)
- •Plus a Stripe processing fee (~3.9% + $0.30/transaction)
- •Payment methods: credit cards (Visa / Mastercard / AmEx), Stripe Link, and bank transfer — checkout is provided by Stripe, with fees itemized at Stripe rates
- •Total charge = credit face + top-up service fee + Stripe fee, itemized at checkout
- •Refund cap: the lower of the amount actually charged for that payment (excluding bonus credit) and the current available balance; the minimum refund per request is $2.00
Cost calculator
See what you pay and what lands in your balance
Pick a top-up amount to see credited balance, actual charge and the cash→credit conversion. The numbers use the same billing formulas as checkout.
The first-top-up bonus applies only to the first completed top-up; accounts that have topped up before use the regular bonus table.
Credited balance
$12.00
Bonus $2.00
Actual charge
$10.93
Charge = face amount + 2% platform fee + Stripe fee (~3.9% + $0.30 per transaction)
Model rate
1.07× provider list price
Cash→credit conversion
First top-upEach $1 paid credits $1.098 of balance
Includes any bonus and fees
Top-up tiers are prepaid balance, not subscription plans: no monthly fee, and the balance never expires.
Refunds cover unused balance only, capped at the lower of the amount actually charged for that payment (excluding bonus credit) and the current available balance; the minimum refund per request is $2.00. All prices are displayed in US dollars (USD) and exclude VAT (Value Added Tax); applicable VAT may be added at checkout depending on your region.
Pay-As-You-Go API Credits — No Subscription
Pay only for what you use. Balance never expires.
- ✓ Usage-based · shared balance
- ✓ Member & role management
- ✓ Compliance reports & audit logs
- ✓ Dedicated support · contact us
Usage-based billing, balance never expires. Team shared balance, settled on one invoice
Enterprise
Team AI Gateway
Workspace multi-tenancy, one shared balance and usage analytics — manage multi-model access for the whole team.
Quick answers
Billing and top-up, answered directly
How does billing work?
CodeGateway bills per token: upstream cost × your multiplier. Flat multiplier 1.07x; top-ups carry a 2% service fee. No monthly fee, no hidden fees.
Is there a monthly fee?
There is no monthly fee, and top-ups start at $5. If you do not call the API, you do not pay.
Does the balance expire?
Balance never expires; you pay only for what you use.
How do I top up?
Top up once by card, Stripe Link, or bank transfer. We accept credit cards (Visa / Mastercard / AmEx), Stripe Link, and bank transfer. Top-ups add a 2% service fee plus the Stripe processing fee (about 3.9% + $0.30 per transaction), itemized at checkout.
AI API Gateway Pricing — FAQ
How much does an AI API gateway cost?
CodeGateway adds a flat 1.07× service multiplier on top of official provider base rates; top-ups add a 2% service fee. No monthly fee or minimum monthly spend; top up from $5, and your balance never expires.
What is Anthropic Claude API pricing per token in 2026?
Claude Opus 4.8 official rates are $5 / $25 per MTok (input / output); Sonnet 4.6 is $3 / $15. Via CodeGateway you pay the same base rates plus a flat 1.07× multiplier — no separate Anthropic account needed.
Is there a free tier for Claude API access?
New users receive free credit when they bind a card — enough to try the full service with no upfront payment required. After that, pay-as-you-go with no subscription fee.
How does pay-as-you-go API billing work?
Top up your workspace balance; each API call deducts the exact token cost (precision to $10⁻¹⁰). Balance never expires. Payment methods: credit card (Visa / Mastercard / AmEx), Stripe Link, or bank transfer.
Can I use one API key for Claude, GPT, and Gemini?
Yes. One key accesses 50+ models (Claude, GPT, Gemini, DeepSeek, etc.) — no need to manage separate provider accounts. Note the protocol split: Claude and Gemini text models are served by the Anthropic Messages protocol (POST /v1/messages); the OpenAI-compatible text endpoints (/v1/chat/completions, /v1/responses) do not accept those model families. Gemini image models use the OpenAI-compatible /v1/images/generations.
CodeGateway is not available in jurisdictions subject to comprehensive U.S. OFAC sanctions, including Cuba, Iran, North Korea, and the Crimea, Donetsk, and Luhansk regions of Ukraine. Syria is currently blocked as a product-policy measure. See the Terms of Service § Sanctions and Export Control Eligibility.