Claude Sonnet 4
Claude Sonnet 4 is Anthropic's mid-tier model released with Claude Opus 4 on May 22, 2025, succeeding Claude 3.7 Sonnet. It is a hybrid model that answers near-instantly or uses extended thinking with tool use, with a 200K-token context window and 64K output. It was widely used for coding and agent work and has since been retired.
At a glance
- Context window
- 200K tokens
- Max output
- 64K tokens
- Historical text input / output · per 1M tokens
- $3.00 / $15.00
- Knowledge cutoff
- —
A place to remember
Retired, not forgotten.
- Released
- 23 May 2025
- Endpoint retired
- 15 Jun 2026
- Time in service
- 388 days
Retired by provider
“The workhorse of 2025. Retired the same day as its bigger sibling.”
84 leaderboards · 0 top-three finishes · Best rank #4. The full model record remains below.
Benchmark snapshot
Best result in 6 of 10 categories
AcademicMATH-500
99.1Thinking (No Tools) · #4 of 49
Source: Artificial Analysis (artificialanalysis.ai)CodingSWE-bench Verified
80.2Parallel Thinking (With Tools) · #15 of 108
Computer UsePinch Bench
80.5Thinking (With Tools) · #23 of 38
MultimodalMMMU
74.4Normal (No Tools) · #23 of 62
Professionalτ³-Banking
16.7Thinking (With Tools) · #67 of 120
ReasoningSimpleBench
45.5Thinking (No Tools) · #73 of 106
Benchmark details
42 results · Best published score per benchmark, grouped by category
| Benchmark · setting | Score | Rank |
|---|---|---|
| Academic | ||
| AIME 2024 Normal (No Tools) · Mathematics | 43.4 | 45 / 54 |
| AIME2025 Deep Thinking (With Tools) · Mathematics | 85.0 | 48 / 86 |
| CritPt Normal (No Tools) · Scientific Reasoning | 1.1 | 103 / 134 |
| FrontierMath Normal (No Tools) · Mathematics | 4.1 | 32 / 48 |
| FrontierMath - Tier 4 Normal (No Tools) · Mathematics | 0.0 | 44 / 50 |
| GPQA Diamond Deep Thinking (With Tools) · Scientific Reasoning | 83.8 | 91 / 200 |
| HLE Thinking (No Tools) · Knowledge Exams | 9.6 | 130 / 151 |
| IMO-ProofBench Thinking (No Tools) · Mathematics | 27.1 | 8 / 14 |
| IMO-ProofBench Advanced Thinking (No Tools) · Mathematics | 4.8 | 19 / 23 |
| MATH-500 Thinking (No Tools) · Mathematics Source: Artificial Analysis (artificialanalysis.ai) | 99.1 | 4 / 49 |
| MMLU-Pro Thinking (No Tools) · Knowledge Exams | 84.0 | 42 / 153 |
| Coding | ||
| Aider-Polyglot Thinking (No Tools, 32K Budget) · Agentic Development | 61.3 | 14 / 47 |
| CodeClash Normal (With Tools) · Algorithmic Coding | 1223Elo | 4 / 8 |
| IOI 2024 (Vals v1) Normal (With Tools) · Algorithmic Coding | 9.7 | 5 / 9 |
| IOI 2025 (Vals v1) Thinking (With Tools) · Algorithmic Coding | 4 | 5 / 8 |
| LiveCodeBench Normal (No Tools) · Algorithmic Coding | 48.5 | 88 / 113 |
| SWE-Bench Pro - Commercial Unspecified Reasoning (With Tools) · Repository Engineering Source: Scale AI SWE-Bench Pro leaderboard | 9.1 | 13 / 14 |
| SWE-Bench Pro - Public Normal (With Tools) · Repository Engineering Source: Scale AI | 42.7 | 58 / 66 |
| SWE-bench Verified Parallel Thinking (With Tools) · Repository Engineering | 80.2 | 15 / 108 |
| Terminal Bench Hard Thinking (With Tools) · Agentic Development | 31.1 | 66 / 157 |
| Terminal-Bench 1.0 Deep Thinking (With Tools) · Agentic Development | 41.3 | 9 / 26 |
| Computer Use | ||
| Claw Bench Thinking (With Tools) · Tool Orchestration | 77.8 | 23 / 29 |
| OSWorld-Verified Thinking (With Tools) · Desktop Workflows | 42.2 | 31 / 36 |
| Pinch Bench Thinking (With Tools) · Tool Orchestration | 80.5 | 23 / 38 |
| PinchBench v2 Reported best (effort unspecified) · Tool Orchestration | 48.8 | 45 / 51 |
| General Evaluation | ||
| ECI Reported best (effort unspecified) · Capability Indices | 142 | 91 / 168 |
| LiveBench Thinking (No Tools, 64K Budget) · Cross-capability Suites | 61.3 | 83 / 106 |
| Language & Creation | ||
| Creative Writing Normal (No Tools) · Writing | 1483 | 62 / 121 |
| IF Bench Thinking (With Tools) · Instruction Following | 55.0 | 34 / 38 |
| Long Context | ||
| Fiction.liveBench Normal (No Tools) · Long Reasoning | 46.9 | 24 / 28 |
| Multimodal | ||
| MMMU Normal (No Tools) · Visual Understanding Shown: Official leaderboard. Also reported: Provider-reported 74.4 | 74.4 | 23 / 62 |
| MMMU-Pro Normal (No Tools) · Visual Understanding | 62.4 | 100 / 136 |
| VPCT Thinking (No Tools, 32K Budget) · Visual Understanding | 34.0 | 22 / 26 |
| Professional | ||
| GDPval-AA Thinking (No Tools) · Cross-industry Work | 33.0 | 12 / 14 |
| SAGE Normal (With Tools) · Service Workflows | 35.0 | 67 / 82 |
| τ²-Bench Normal (With Tools) · Service Workflows | 52.0 | 32 / 40 |
| τ³-Banking Thinking (With Tools) · Service Workflows | 16.7 | 67 / 120 |
| Reasoning | ||
| ARC-AGI-1 Thinking (No Tools) · Abstract Generalization | 40.0 | 69 / 87 |
| ARC-AGI-2 Thinking (No Tools) · Abstract Generalization | 5.9 | 64 / 80 |
| SimpleBench Thinking (No Tools) · Commonsense | 45.5 | 73 / 106 |
| Science & Health | ||
| MedCode Thinking (With Tools) · Clinical Workflows | 35.0 | 73 / 97 |
| MedScribe Normal (With Tools) · Clinical Workflows | 72.4 | 81 / 99 |
Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.
Back to benchmark snapshot ↑Historical API pricing
Listed text rates, USD per million tokens · effective 2026-11-14
- Input
- $3.00
- Output
- $15.00
- Cached input
- $0.30
Blended price4:1 input:output · 90% of input tokens cached · same basis as the price ranking
$3.456/ 1M tokens
Specifications
- Provider
- Anthropic
- Model type
- Reasoning model
- Released
- May 23, 2025
- Endpoint retired
- 2026-06-15 Source
- Architecture
- Undisclosed
- Context window
- 200K tokens
- Max output
- 64K tokens
- Input
- Text, Image
- Output
- Text
- Weights
- Closed / API only
- Commercial use
- Proprietary
Capabilities
Claude Sonnet 4 vs competitors
Comparable results only · record is Claude Sonnet 4's wins–losses
| Benchmark | Claude Sonnet 4This model | vs GPT-5Record 2–30 | vs Claude Sonnet 4.5Record 1–28–1 | vs Gemini 2.5-ProRecord 11–19 | vs Opus 4.5Record 0–29 |
|---|---|---|---|---|---|
| GPQA Diamond | 83.8 | 87.3 | 73.7 | 86.4 | 87.0 |
| Terminal Bench Hard | 31.1 | 37.9 | 35.6 | 26.5 | 47.0 |
| MMLU-Pro | 84.0 | 87.1 | 88.0 | 86.2 | 90.0 |
| HLE | 9.6 | 35.2 | 33.6 | 21.6 | 43.2 |
| MMMU-Pro | 62.4 | 78.4 | 68.9 | 74.9 | 74.0 |
| CritPt | 1.1 | 5.7 | 1.1 | 2.6 | 4.6 |
| Creative Writing | 1483 | 1626 | 1677 | 1422 | 1686 |
| τ³-Banking | 16.7 | 22.1 | 24.5 | 13.7 | 24.7 |
| SWE-bench Verified | 80.2 | 72.8 | 82.0 | 67.2 | 80.9 |
| SimpleBench | 45.5 | 56.7 | 54.3 | 62.4 | 62.0 |
Lineage
Predecessors and successors · oldest to newest
- Claude Sonnet 4May 23, 2025Retired
- 130 daysClaude Sonnet 4.5Sep 30, 2025
- 140 daysClaude Sonnet 4.6Feb 17, 2026
- 133 daysClaude Sonnet 5Jun 30, 2026
Price & benchmark trends
Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.
API price across generations
Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.
Benchmark performance across generations
Elo / win rate · Higher is better. Same recorded metric, protocol and setting.
Inspect CodeClash ↗Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.
| Model · released | Input / 1M | Output / 1M | Price effective | CodeClash |
|---|---|---|---|---|
| 1Claude Sonnet 4May 23, 2025 · Retired · This model | $3.00 | $15.00 | 2026-11-14 | 1223 ↗ |
| 2Claude Sonnet 4.5Sep 30, 2025 | $3.00 | $15.00 | 2026-01-03 | 1389 ↗ |
| 3Claude Sonnet 4.6Feb 17, 2026 | $3.00 | $15.00 | 2026-09-13 | — |
| 4Claude Sonnet 5Jun 30, 2026 | $2.00 | $10.00 | 2026-08-30 | — |
| 5Claude Sonnet 5.5Sep 28, 2026 | $2.00 | $10.00 | 2026-09-28 | — |
Primary sources
- Claude Sonnet 4 announcementdatalearner.com
- Claude Sonnet 4 technical reportanthropic.com
On the stone
Memories and epitaphs, kept separately from model reviews.
Epitaphs from visitors
Nobody has written on this stone yet. The first line is yours.
Community discussion
Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.
Sign in with Google to rate this model and leave a comment.
No community comments yet.
