Claude 4 Sonnet pricing
Compare Claude 4 Sonnet API pricing across 4 listed sources. The best input rate we show is $3.00 per million tokens from Vercel Ai Gateway. The best output rate is $15.00 per million tokens from Vercel Ai Gateway.
Pricing across providers
All figures are list prices per million tokens unless a column says otherwise. 4 offers are listed for Claude 4 Sonnet. Best input in this view: Vercel Ai Gateway.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
VA Vercel Ai Gateway | $3.00 | $15.00 | $0.300 | — |
H Heroku | N/A | N/A | — | — |
R Replicate | $3.00 | $15.00 | — | — |
D DeepInfra | $3.30 | $16.50 | — | — |
Input vs output · per provider
Cost calculator
Use this block to stress test Claude 4 Sonnet cost without a spreadsheet. All estimates come from public list rates in this page.
Provider
0.300000¢ / req
0.750000¢ / req
Model specifications
These fields describe Claude 4 Sonnet as we store it (source: Anthropic). They sit next to price so buyers can check limits and tools in one place.
- Context window
- 200,000 tokens
- Max output
- 200,000 tokens
- Vision (images)
- No
- Tool / function calling
- Yes
- Streaming
- No
- Released
- N/A
- Primary provider
- Anthropic
- Model family
- N/A
Compare Claude 4 Sonnet
Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for Claude 4 Sonnet.
- Claude 4 Sonnet vs Claude Sonnet 4.6
Compare pricing side by side
- Claude 4 Sonnet vs Claude Haiku 4.5
Compare pricing side by side
- Claude 4 Sonnet vs Claude Opus 4.6
Compare pricing side by side
- Claude 4 Sonnet vs GPT-4o
Compare pricing side by side
- Claude 4 Sonnet vs GPT-4o mini
Compare pricing side by side
- Claude 4 Sonnet vs Gemini 2.0 Flash
Compare pricing side by side
Frequently asked questions
Answers pull from the same numbers you see on this page.
Also from Anthropic
Other models by Anthropic with live pricing in our catalog.