Overview
Claude Sonnet 4 was released on May 22, 2025, alongside Claude Opus 4 as part of the Claude 4 model generation. It is a hybrid reasoning model that significantly improved on Claude 3.7 Sonnet's coding, reasoning, and instruction-following, reaching a state-of-the-art 72.7% on SWE-bench Verified at launch.
Sonnet 4 introduced the Claude 4 generation's improvements in steerability and agentic behaviour, with extended thinking available for harder math and science problems. It scored 70.0% on GPQA Diamond and 33.1% on AIME without extended thinking, and was offered to free users as well as on the paid plans.
Sonnet 4 has a 200K token context window, 64K max output tokens, and supports text and vision input. It is available on the Claude API as claude-sonnet-4-0 (snapshot claude-sonnet-4-20250514), Amazon Bedrock, and Vertex AI, at $3 / $15 per million tokens. It is now deprecated, with Sonnet 4.6 as the recommended successor.
| Released | 2025-05-22 |
|---|---|
| License | Proprietary |
| Weights | API only |
| Context | 200K |
| Max output | 64K |
| Architecture | Proprietary transformer; Claude 4 hybrid reasoning model with extended thinking. |
| Knowledge cutoff | March 2025 |
| Modalities | Text, Vision, PDF |
| Status | Deprecated |
Benchmarks
Scores on a 0–100 scale (25-point gridlines); higher is better. Each benchmark links to its published source.
Pricing
| Input | $3.00 per million tokens |
|---|---|
| Output | $15.00 per million tokens |
Same pricing as Claude 3.7 Sonnet.
Strengths
- State-of-the-art 72.7% SWE-bench Verified at launch
- Large coding and steerability gains over Claude 3.7 Sonnet
- Extended thinking for math, science and multi-step reasoning
- Available to free users at launch
- Same $3/$15 pricing as prior Sonnet generations
Best for
- Agentic coding and software-engineering tasks
- General reasoning and instruction-following assistants
- Multimodal document and image understanding
- Tool-using agents and workflow automation
- Cost-efficient alternative to Opus 4 for everyday work
How to access
| Provider | Model ID |
|---|---|
| Anthropic ↗ | claude-sonnet-4-0 |
| Amazon Bedrock ↗ | anthropic.claude-sonnet-4-20250514-v1:0 |
| Google Vertex AI ↗ | claude-sonnet-4@20250514 |
Claude Sonnet — every version
The full lineage of the Claude Sonnet line, newest first. Every version has its own page — click any to compare specs, benchmarks and pricing.
| Version | Released | Context | License |
|---|---|---|---|
| Claude Sonnet 4.6current | 2026-02-17 | 1M | Proprietary |
| Claude Sonnet 4.5 | 2025-09-29 | 1M | Proprietary |
| Claude Sonnet 4 | 2025-05-22 | 200K | Proprietary |
| Claude 3.7 Sonnet | 2025-02-24 | 200K | Proprietary |
| Claude 3.5 Sonnet (new) | 2024-10-22 | 200K | Proprietary |
| Claude 3.5 Sonnet | 2024-06-20 | 200K | Proprietary |
| Claude 3 Sonnet | 2024-03-04 | 200K | Proprietary |
FAQ
When was Claude Sonnet 4 released?
May 22, 2025, alongside Claude Opus 4 as part of the Claude 4 generation.
How did Sonnet 4 score on coding benchmarks?
It reached a state-of-the-art 72.7% on SWE-bench Verified at launch, a large improvement over Claude 3.7 Sonnet.
What is the context window and pricing?
200K token context, 64K max output, priced at $3 per million input and $15 per million output tokens.
Is Claude Sonnet 4 still recommended?
It is deprecated. Anthropic recommends migrating to Claude Sonnet 4.6, which offers far stronger coding and computer-use performance at the same price.
