Claude Sonnet 5
Claude Sonnet 5 is Anthropic's model released Jun 30, 2026. On Terminal-Bench it passed 12.4% of 330 trials in Claude Code 2.1.231 at Max effort, for $29.10 per task. Epoch AI measures it at 63.3% on MirrorCode, 90.5% on GPQA Diamond and 65.6% on FrontierMath Tiers 1–3, its best settings.[1][2] Anthropic superseded it on Sep 28, 2026 with Claude Sonnet 5.5. Claude Sonnet 5.5 passes 61.8% of Terminal-Bench for $22.22 per task.
- Terminal-Bench
- 12.4%Claude Code · Max
- Cost per task
- $29.10353k output tokens
- MirrorCode
- 63.3%Epoch AI · Max
- API price
- $2/$10per 1M input/output tokens
On Terminal-Bench
Terminal-Bench has 66 tasks done in a terminal, from building software to fixing systems. This run drove Claude Sonnet 5 through Claude Code 2.1.231 and was graded on version 4.0 of the tasks.[1]
- Trials passed
- 41 of 330, 12.4% ±3.1
- Setting
- Max
- Cost per task
- $29.10
- Output tokens per task
- 353k
- All tokens per task
- 65.34M
- Minutes per task
- 109
± is the 95% confidence interval the run reported. All tokens include input and cached input, which an agent rereads on every turn.
- Frontier star
- At release: no star
A star marks a model on the cost frontier: for its cost per task, no other model scores higher on Terminal-Bench. At release counts the models out on Jun 30, 2026. Models under 75% of the top score do not earn one.
Compare Claude Code with other coding agents: Codex vs Claude Code · Antigravity CLI vs Claude Code
Epoch AI scores
| Benchmark | Setting | Score | Run on |
|---|---|---|---|
| MirrorCode | Max | 63.3%±10.7 | |
| GPQA Diamond | XHigh | 90.5%±1.8 | |
| GPQA Diamond | Max | 80.3%±2.8 | |
| FrontierMath Tiers 1–3 | Max | 65.6%±2.8 |
MirrorCode: A long-horizon coding benchmark. Models reimplement entire programs end-to-end, without access to the original source code.
GPQA Diamond: A challenging multiple-choice question set in biology, chemistry, and physics, authored by PhD-level experts.
FrontierMath Tiers 1–3: Unpublished math problems written by expert mathematicians: Tiers 1 to 3 of FrontierMath, a set Epoch keeps private.
Pricing
- Input
- $2 per million tokens
- Cached input
- $0.20 per million tokens
- Output
- $10 per million tokens
- Longest input
- 1M tokens
Token prices set the rate; how many tokens a task spends sets the bill.[3] In its Terminal-Bench run, Claude Sonnet 5 wrote 353k output tokens per task and reported $29.10 per task.[1]
Compare Claude Sonnet 5
Models it was current with
- Claude Opus 5.5 vs Claude Sonnet 5
- GPT-6 Luna vs Claude Sonnet 5
- GPT-6 Sol vs Claude Sonnet 5
- GPT-6 Astra vs Claude Sonnet 5
- Gemini 3.8 Flash vs Claude Sonnet 5
- Claude Fable 5.1 vs Claude Sonnet 5
- Gemini 3.7 Flash vs Claude Sonnet 5
- Claude Opus 5 vs Claude Sonnet 5
- Gemini 3.5 Flash-Lite vs Claude Sonnet 5
- Gemini 3.6 Flash vs Claude Sonnet 5
- Claude Sonnet 5 vs GPT-5.6 Luna
- Claude Sonnet 5 vs GPT-5.6 Sol
- Claude Sonnet 5 vs GPT-5.6 Terra
- Claude Sonnet 5 vs Claude Fable 5
Questions.
How does Claude Sonnet 5 score on Terminal-Bench?
It passed 41 of 330 trials, 12.4% (±3.1 points at 95% confidence), running in Claude Code 2.1.231 at Max effort. Terminal-Bench has 66 tasks; this run tried each 5 times and was graded on version 4.0 of the tasks.
How much does Claude Sonnet 5 cost per task?
Its Terminal-Bench run reported $29.10 per task and used 353k output tokens per task. The API charges $2 per million input tokens and $10 per million output tokens, and $0.20 for cached input.
How does Claude Sonnet 5 do on Epoch AI's benchmarks?
MirrorCode: 63.3% at Max effort. GPQA Diamond: 90.5% at XHigh effort, of 2 settings run. FrontierMath Tiers 1–3: 65.6% at Max effort. Scores are Epoch AI's, under CC BY 4.0.
When was Claude Sonnet 5 released?
Anthropic released Claude Sonnet 5 on Jun 30, 2026. Anthropic superseded it on Sep 28, 2026 with Claude Sonnet 5.5.
Sources and scope
The Terminal-Bench result is this model's run on the official leaderboard: the agent attempts all 66 tasks at least five times, errored trials count as failures, and passing trials are checked for reward hacking. Cost per task is what the run reported. Epoch AI's scores test the model alone, under CC BY 4.0. API prices come from LiteLLM's price list. Frontier stars compare current models only. Written by aicharts from data checked Nov 24, 2026. Prices and scores change as labs update their models.