Anthropic: Claude Sonnet 4
by AnthropicAnthropic: Claude Sonnet 4 is a large language model from Anthropic. It costs $3.00 per million input tokens and $15.00 per million output tokens. Its context window is 200K tokens.
- Input / 1M tokens
- $3.00
- Output / 1M tokens
- $15.00
- Cached input / 1M
- $0.300
- Context window
- 200K
On repeated prefixes
tokens
This model also charges $0.01 per search request
That is $10.00 per 1,000 requests, billed on top of the token prices above. On a typical 1,000-in / 500-out exchange the tokens cost $0.01, so the search fee is 95% on top. Per-token rankings elsewhere ignore this entirely.
Who serves it cheapest
1 hosts serve Claude Sonnet 4. Same weights, same API - the price difference is pure margin and routing.
| Provider | Input / 1M | Output / 1M | Context | Throughput | Uptime 24h |
|---|---|---|---|---|---|
| Amazon BedrockCheapest | $3.00 | $15.00 | 200K | - | 100.0% |
Benchmarks
Independent scores published alongside the catalogue.
- Intelligence index
- 18.9
- Coding index
- 37.6
About Claude Sonnet 4
Claude Sonnet 4 significantly enhances the capabilities of its predecessor, Sonnet 3.7, excelling in both coding and reasoning tasks with improved precision and controllability. Achieving state-of-the-art performance on SWE-bench (72.7%),...
Specifications
| Model ID | anthropic/claude-sonnet-4 |
|---|---|
| Provider | Anthropic |
| Context window | 200K tokens |
| Max output | 64K tokens |
| Input modalities | image, text, file |
| Output modalities | text |
| Knowledge cutoff | 2025-01-31 |
| Open weights | No |
| Released | May 22, 2025 |
Cheaper alternatives
Models that cost less than Claude Sonnet 4 while keeping at least half its context window and every input modality it supports.
Frequently asked
How much does Anthropic: Claude Sonnet 4 cost?
$3.00 per million input tokens and $15.00 per million output tokens. Cached input reads cost $0.300 per million tokens.
What is the context window of Anthropic: Claude Sonnet 4?
200K tokens, with up to 64K tokens of output per request.
Does Anthropic: Claude Sonnet 4 have extra fees beyond per-token pricing?
Yes. Anthropic: Claude Sonnet 4 charges $0.01 per search request - $10.00 per 1,000 requests - on top of $3.00 per million input tokens and $15.00 per million output tokens. On a typical 1,000-input / 500-output exchange the search fee alone is 95% on top.
Confirm against the source: Anthropic official pricing.