claude-sonnet-4 API pricing
Blended at 3:1 input to output: $6.00 per million tokens.
OpenRouter charges $3.00 per million input tokens and $15.00 per million output tokens. 3 of the models nearest it in price are cheaper on a blended basis.
Against the models nearest in price
Blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| claude-sonnet-4 This model | OpenRouter | $3.00 | $15.00 | 1,000,000 | $6.00 | ↗ |
| claude-sonnet-4-5 | Anthropic | $3.00 | $15.00 | 200,000 | $6.00 | ↗ |
| claude-sonnet-4-6 | Anthropic | $3.00 | $15.00 | 1,000,000 | $6.00 | ↗ |
| mistral-large-2402 | Mistral AI | $4.00 | $12.00 | 32,000 | $6.00 | ↗ |
| claude-sonnet-4.5 | OpenRouter | $3.00 | $15.00 | 200,000 | $6.00 | ↗ |
| claude-sonnet-4.6 | OpenRouter | $3.00 | $15.00 | 1,000,000 | $6.00 | ↗ |
| gpt-5.4 | OpenAI | $2.50 | $15.00 | 1,050,000 | $5.63 | ↗ |
| gpt-5.2 | OpenAI | $1.75 | $14.00 | 272,000 | $4.81 | ↗ |
| gpt-5.2-chat | OpenRouter | $1.75 | $14.00 | 128,000 | $4.81 | ↗ |
Last checked . Methodology
Questions
How much does claude-sonnet-4 cost per million tokens?
$3.00 per million input tokens and $15.00 per million output tokens, with cached input at $0.300. At a 3:1 input to output mix that blends to $6.00. Checked 12 Sept 2026.
What would claude-sonnet-4 cost for a real workload?
A thousand requests a day at 2,000 input and 600 output tokens each comes to $450.00 a month.
What is the context window for claude-sonnet-4?
1,000,000 tokens of input, with up to 64,000 tokens of output.
claude-sonnet-4-5 · claude-sonnet-4-6 · mistral-large-2402 · claude-sonnet-4.5 · claude-sonnet-4.6 · All OpenRouter models · Cost calculator