Claude API pricing

Per-model list prices, the multipliers that change them, and how a relay bills against the same meter.

Model prices

Prices are USD per million tokens (MTok), first-party Claude API, global routing. Cache read is the price of reading a prompt prefix from cache.

Claude API list prices, December 2026
ModelInputOutputCache read
Claude Fable 5.2$8$40$0.20
Claude Fable 5.1$10$50$0.25
Claude Fable 5$10$50$1.00
Claude Opus 5.5$4$20$0.20
Claude Opus 5$5$25$0.50
Claude Opus 4.8$5$25$0.50
Claude Sonnet 5.5$2$10$0.10
Claude Sonnet 5$2$10$0.20
Claude Sonnet 4.6$3$15$0.30
Claude Haiku 5.5 (prompts up to 100k tokens)$0.10$0.50$0.01
Claude Haiku 5.5 (prompts over 100k tokens)$0.50$2.50$0.05
Claude Haiku 4.5$1$5$0.10

Claude 4.7 and later use a newer tokenizer that produces roughly 30% more tokens for the same text, so a cost estimate from an older model understates a current bill.

Multipliers that change the number

FeatureEffect
5-minute cache write1.25x base input price
1-hour cache write2x base input price
Cache read0.1x on most models, 0.05x on Opus 5.5 and Sonnet 5.5, 0.025x on Fable 5.1 and 5.2
Batch API50% off input and output
Fast mode2x price for up to 2.5x output speed
US-only inference1.1x on all token categories
Web search tool$10 per 1,000 searches, plus tokens
Web fetch toolNo additional charge

Caching pays for itself fast: a 5-minute write breaks even after one cache read, a 1-hour write after two. For Claude Code, which re-reads context constantly, caching is the single largest cost lever.

Getting access

How a relay relates to list price

A relay meters requests exactly as the API does — at list price for the model used — and bills them at a discount. gatewaydock charges 10.5% of list, so the same work costs about a tenth of what it would on the API, with the same per-model economics: Sonnet days stretch further than Opus days.

Subscription pricing is compared on Claude Code pricing, and the token arithmetic is worked through on Claude Code cost.

Questions

How much does the Claude API cost?

It depends entirely on the model and the token mix. Sonnet 5.5 is $2 per million input tokens and $10 per million output tokens; Opus 5.5 is $4 and $20; Haiku 5.5 starts at $0.10 and $0.50. Cache reads are a fraction of the input price.

Is there a Claude API free tier?

No. There is no free tier or self-serve trial, and new accounts include no credits. The minimum purchase is $5, or you can claim the API credits included with Max and Ultra.

What is the difference between API pricing and subscription pricing?

A subscription charges a flat monthly fee for a usage allowance measured in time windows. The API charges per token with no windows. The API is more predictable per request and usually more expensive for heavy Claude Code use.

How do I estimate my API cost before running?

Use the token counting endpoint with the model ID you plan to use, then apply the input, output and cache-read prices from the table above. Remember the 1.1x multiplier if you pin inference to the US.

Sources

Last checked 2026-12-06.

Private beta

Founding members keep their price. Join the waitlist before the first batch of seats opens.

Join waitlist