ModelsAnthropic
Claude Sonnet 4
Context
tokens
Released
on OpenRouter
Token share
OpenRouter · Apr 29, 2026
Price per million tokens
Input $/MTok
OpenRouter · Jul 8, 2026
Output $/MTok
OpenRouter · Jul 8, 2026
Cache read $/MTok
OpenRouter
Cache write $/MTok
OpenRouter
| Source | Tracked slug | In $/MTok | Out $/MTok | Cache read | Cache write | Context | Effective | Last Δ (in) |
|---|---|---|---|---|---|---|---|---|
| OpenRouter | anthropic/claude-sonnet-4 | $3.00 | $15.00 | $0.3 | $3.75 | 1M | Jul 8, 2026 | — |
| models.dev | nano-gpt/claude-sonnet-4-20250514 | $2.99 | $14.99 | — | — | 200K | Jul 8, 2026 | 0.3% |
| llm-prices.com | claude-sonnet-4.5-200k | $6.00 | $22.50 | — | — | — | Jul 8, 2026 | 100% |
latest tracked price per source · Δ = most recent input-price move within that source
3 sources tracking
Input $/MTok
Output $/MTok
per-source step lines · $/MTok
history since Jan 1, 2023
Context & availability
| Provider | Anthropic |
|---|---|
| Context window | 1M tokens |
| Listed on OpenRouter | May 22, 2025 |
| Tracked price sources | llm-prices.com · OpenRouter · models.dev |
| OpenRouter slugs | anthropic/claude-sonnet-4 · anthropic/claude-4-sonnet-20250522 |
source: OpenRouter model catalog + tracked price feeds
id: claude-sonnet-4
Share of OpenRouter tokens
source: OpenRouter model rankings · share of tracked coding-token volume
0.4% on Apr 29, 2026
Benchmark results
| Benchmark | Configuration | Score | Date | Source |
|---|---|---|---|---|
| Aider Polyglot | claude-sonnet-4-20250514 (no thinking) | 56.4% | May 24, 2025 | aider-repo |
| Aider Polyglot | claude-sonnet-4-20250514 (32k thinking) | 61.3% | May 24, 2025 | aider-repo |
| AA Intelligence Index | anthropic/claude-sonnet-4 | 28.9index | — | or-embedded-aa |
| AA Coding Index | anthropic/claude-sonnet-4 | 37.6index | — | or-embedded-aa |
| AA Agentic Index | anthropic/claude-sonnet-4 | 16.6index | — | or-embedded-aa |
scores as published by each benchmark; configurations differ — compare within a row's benchmark only
latest result May 24, 2025
Similar models
| # | Model | Tokens/day | 7d Δ | Head-to-head |
|---|---|---|---|---|
| 1 | Hy3Tencent | 857.5B | — | vs Claude Sonnet 4 |
| 2 | DeepSeek V4 FlashDeepSeek | 806.2B | 6.6% | vs Claude Sonnet 4 |
| 3 | MiniMax M3MiniMax | 665.9B | 9.8% | vs Claude Sonnet 4 |
| 5 | DeepSeek V4 ProDeepSeek | 530.6B | 50.5% | vs Claude Sonnet 4 |
ranked by OpenRouter usage-rank proximity
snapshot Jul 7, 2026
Claude Sonnet 4 FAQ
- How much does Claude Sonnet 4 cost per token?
- Claude Sonnet 4 is priced at $3.00 per million input tokens and $15.00 per million output tokens, per OpenRouter as of Jul 8, 2026.
- What is Claude Sonnet 4's context window?
- Claude Sonnet 4 supports a context window of up to 1M tokens, per Anthropic.
- How widely used is Claude Sonnet 4?
- Claude Sonnet 4 accounts for about 0.4% of tracked OpenRouter coding-token volume as of Apr 29, 2026.
- What are the alternatives to Claude Sonnet 4?
- By OpenRouter usage, comparable models include Hy3, DeepSeek V4 Flash, and MiniMax M3. Side-by-side comparisons are linked in the alternatives table.
Track Claude Sonnet 4
Email me when Claude Sonnet 4's price moves or it gets deprecated.