Claude Sonnet 4.6 vs GPT-5.4 Mini
Updated October 21, 2026. 84 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Claude Sonnet 4.6 for coding: it scores 57.8 on the Vibe Coding Index against 28.2 for GPT-5.4 Mini.
Pick GPT-5.4 Mini when output tokens cost 3.3x less, or when a solved task costs $0.70 against $1.68.
- Shared results
- 84
- Claude Sonnet 4.6 only
- 33
- GPT-5.4 Mini only
- 4
- Like-for-like categories
- 7 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
Claude Sonnet 4.6
Claude Sonnet 4.6 scores 57.8 against 28.2.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 30.1 against 24.1.
Same board, both measured
Agentic work
AA Agentic Index
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 31.8 against 17.9.
Same board, both measured
Reasoning
GPQA Diamond
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 85.6% against 83.1%.
Same board, both measured
Math
AIME
GPT-5.4 Mini
GPT-5.4 Mini leads, 95.6% against 92.3%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 4.6
Claude Sonnet 4.6 leads, 87.3% against 84.5%.
Same board, both measured
Web design
Design Arena: websites
No call
Only Claude Sonnet 4.6 has a Design Arena: websites result, 1285.
Directional only
Long documents
Listed context window
Claude Sonnet 4.6
Claude Sonnet 4.6 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Mini
Claude Sonnet 4.6 $0.011, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.4 Mini
Claude Sonnet 4.6 $1.68, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.6 57.8 from 2 benchmarks, GPT-5.4 Mini 28.2 from 1 benchmark.
- Widest category
- Agentic work, 14.2 points apart on average over 7 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Claude Sonnet 4.6 60.4% against GPT-5.4 Mini 18.9%, 41.5 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.6 $15.00 against GPT-5.4 Mini $4.50 per million output tokens, 3.3x apart.
- Context window
- Claude Sonnet 4.6 takes 1M tokens, GPT-5.4 Mini 400K.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Claude Sonnet 4.6 | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 14 | 2 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 6 | 1 | ||
| Reasoning | 12 | 0 | 2 ties | |
| Math | 3 | 2 | ||
| Knowledge | 10 | 0 | ||
| General | 27 | 3 | ||
| All shared boards | 74 | 8 | 2 ties |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index142
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LiveBench coding | 66.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena WebDev | 1523 | 1397 | Claude Sonnet 4.6 |
| AA Coding Index | 63.0 | 56.1 | Claude Sonnet 4.6 |
| LiveCodeBench (Vals AI) | 82.1% | 81.5% | Claude Sonnet 4.6 |
| SWE-bench Verified (Vals AI) | 77.4% | 73.0% | Claude Sonnet 4.6 |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only GPT-5.4 Mini measured |
| Vibe Code Bench (Vals AI) | 55.8% | 48.0% | Claude Sonnet 4.6 |
| Code migration (Vals AI) | 39.9% | 12.9% | Claude Sonnet 4.6 |
| ProgramBench (Vals AI) | 0.5% | 0.0% | Claude Sonnet 4.6 |
| Terminal-Bench 2.1 (Vals AI) | 57.3% | 54.7% | Claude Sonnet 4.6 |
| SkillsBench (Vals AI) | 49.0% | Not measured | Only Claude Sonnet 4.6 measured |
| SciCode | 50.1% | 52.1% | GPT-5.4 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | 53.0% | 52.3% | Claude Sonnet 4.6 |
| Terminal-Bench | 53.4% | Not measured | Only Claude Sonnet 4.6 measured |
| FrontierCode | 24.3% | 27.0% | GPT-5.4 Mini |
| WeirdML | 66.1% | 60.3% | Claude Sonnet 4.6 |
| ALE-Bench | Not measured | 1188.6 | Only GPT-5.4 Mini measured |
| LMArena Text: coding | 1503 | 1438 | Claude Sonnet 4.6 |
| LMArena Text: software and IT | 1491 | 1436 | Claude Sonnet 4.6 |
| LMArena WebDev: React | 1512 | 1386 | Claude Sonnet 4.6 |
| LMArena WebDev: HTML | 1527 | 1419 | Claude Sonnet 4.6 |
| LMArena WebDev: from an image | 1529 | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 30.1 | 24.1 | Claude Sonnet 4.6 |
| Epoch Capabilities Index | 152.8 | 148.7 | Claude Sonnet 4.6 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index61
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 31.8 | 17.9 | Claude Sonnet 4.6 |
| Design Arena: agents building web apps | 1190 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building full-stack apps | 1213 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building mobile apps | 1212 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building Android apps | 1202 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building Godot games | 1226 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: agents building games | 1177 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench research | 63.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench browser | 68.0% | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench long agentic | 23.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Finance Agent (Vals AI) | 51.0% | 45.4% | Claude Sonnet 4.6 |
| Tax Agent Bench (Vals AI) | 25.8% | 8.8% | Claude Sonnet 4.6 |
| Legal Research Bench (Vals AI) | 38.5% | 12.5% | Claude Sonnet 4.6 |
| Excel Modeling Benchmark (Vals AI) | 60.2% | 45.4% | Claude Sonnet 4.6 |
| τ²-Bench Telecom | 79.5% | 83.3% | GPT-5.4 Mini |
| APEX-Agents | 43.0% | Not measured | Only Claude Sonnet 4.6 measured |
| OSWorld 2.0 | 9.3% | Not measured | Only Claude Sonnet 4.6 measured |
| DeepResearch Bench | 54.9% | 36.3% | Claude Sonnet 4.6 |
| OSWorld | 72.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Vending-Bench 2 | $7,204 | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 19 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index120
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 83.1% | Claude Sonnet 4.6 |
| LiveBench reasoning | 86.4% | Not measured | Only Claude Sonnet 4.6 measured |
| MMMU Pro (Vals AI) | 83.6% | 79.3% | Claude Sonnet 4.6 |
| GPQA Diamond (Artificial Analysis run) | 87.5% | 87.5% | Tie |
| Humanity's Last Exam (Artificial Analysis run) | 33.6% | 28.1% | Claude Sonnet 4.6 |
| GPQA Diamond (Epoch AI run) | 87.4% | 86.9% | Claude Sonnet 4.6 |
| ARC-AGI | 86.5% | 63.7% | Claude Sonnet 4.6 |
| ARC-AGI-2 | 60.4% | 18.9% | Claude Sonnet 4.6 |
| Chess puzzles | 23.0% | 23.0% | Tie |
| Mystery game puzzles | 16.0% | 11.0% | Claude Sonnet 4.6 |
| LMArena Text: hard prompts | 1485 | 1424 | Claude Sonnet 4.6 |
| LMArena Text: expert | 1500 | 1435 | Claude Sonnet 4.6 |
| LMArena Text: hard prompts in English | 1493 | 1420 | Claude Sonnet 4.6 |
| LMArena Vision: diagrams | 1306 | 1266 | Claude Sonnet 4.6 |
| LMArena Vision: homework | 1311 | 1285 | Claude Sonnet 4.6 |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | 92.3% | 95.6% | GPT-5.4 Mini |
| OTIS Mock AIME | 85.8% | 88.9% | GPT-5.4 Mini |
| FrontierMath, tiers 1 to 3 | Not measured | 51.2% | Only GPT-5.4 Mini measured |
| FrontierMath, tier 4 | Not measured | 9.8% | Only GPT-5.4 Mini measured |
| ProofBench | 45.0% | 21.0% | Claude Sonnet 4.6 |
| LMArena Text: math | 1462 | 1418 | Claude Sonnet 4.6 |
| LMArena Text: mathematical work | 1483 | 1429 | Claude Sonnet 4.6 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 87.3% | 84.5% | Claude Sonnet 4.6 |
| LegalBench (Vals AI) | 82.1% | Not measured | Only Claude Sonnet 4.6 measured |
| CaseLaw (Vals AI) | 64.0% | 51.7% | Claude Sonnet 4.6 |
| CorpFin (Vals AI) | 65.3% | 60.9% | Claude Sonnet 4.6 |
| TaxEval (Vals AI) | 77.1% | 71.2% | Claude Sonnet 4.6 |
| MortgageTax (Vals AI) | 67.7% | 63.5% | Claude Sonnet 4.6 |
| MedQA (Vals AI) | 92.1% | Not measured | Only Claude Sonnet 4.6 measured |
| SimpleQA Verified | 35.5% | 29.4% | Claude Sonnet 4.6 |
| LMArena Text: science | 1474 | 1417 | Claude Sonnet 4.6 |
| LMArena Text: medicine and healthcare | 1451 | 1395 | Claude Sonnet 4.6 |
| LMArena Text: legal and government | 1470 | 1414 | Claude Sonnet 4.6 |
| LMArena Text: business and finance | 1464 | 1418 | Claude Sonnet 4.6 |
| Neither model has a result on the other 5 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1285 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: UI components | 1271 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: game dev | 1259 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: data viz | 1278 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: 3D | 1234 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: all code categories | 1276 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: SVG | 1196 | Not measured | Only Claude Sonnet 4.6 measured |
| Design Arena: ASCII art | 1235 | Not measured | Only Claude Sonnet 4.6 measured |
| LiveBench design | 71.8% | Not measured | Only Claude Sonnet 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index273
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LiveBench data analysis | 76.1% | Not measured | Only Claude Sonnet 4.6 measured |
| Public Benefits Bench (Vals AI) | 62.5% | Not measured | Only Claude Sonnet 4.6 measured |
| SAGE (Vals AI) | 46.6% | 50.8% | GPT-5.4 Mini |
| Vals Multimodal Index | 60.6% | 54.2% | Claude Sonnet 4.6 |
| IFBench | 56.6% | 73.3% | GPT-5.4 Mini |
| Long context reasoning (AA-LCR) | 80.0% | 77.0% | Claude Sonnet 4.6 |
| DTBench | 89.9% | 80.0% | Claude Sonnet 4.6 |
| LMCA | 46.5% | 40.8% | Claude Sonnet 4.6 |
| ExploitBench | 23.6% | Not measured | Only Claude Sonnet 4.6 measured |
| LMArena Text | 1458 | 1412 | Claude Sonnet 4.6 |
| LMArena Text: instruction following | 1476 | 1405 | Claude Sonnet 4.6 |
| LMArena Text: creative writing | 1435 | 1370 | Claude Sonnet 4.6 |
| LMArena Vision | 1283 | 1245 | Claude Sonnet 4.6 |
| LMArena Text: English | 1472 | 1412 | Claude Sonnet 4.6 |
| LMArena Text: non-English | 1440 | 1405 | Claude Sonnet 4.6 |
| LMArena Text: Chinese | 1491 | 1446 | Claude Sonnet 4.6 |
| LMArena Text: German | 1428 | 1408 | Claude Sonnet 4.6 |
| LMArena Text: Japanese | 1420 | 1375 | Claude Sonnet 4.6 |
| LMArena Text: Korean | 1410 | 1370 | Claude Sonnet 4.6 |
| LMArena Text: French | 1465 | 1441 | Claude Sonnet 4.6 |
| LMArena Text: Spanish | 1464 | 1405 | Claude Sonnet 4.6 |
| LMArena Text: Russian | 1440 | 1417 | Claude Sonnet 4.6 |
| LMArena Text: Polish | 1443 | 1415 | Claude Sonnet 4.6 |
| LMArena Text: multi-turn | 1464 | 1429 | Claude Sonnet 4.6 |
| LMArena Text: longer queries | 1479 | 1408 | Claude Sonnet 4.6 |
| LMArena Text: writing and language | 1444 | 1393 | Claude Sonnet 4.6 |
| LMArena Text: entertainment and media | 1431 | 1373 | Claude Sonnet 4.6 |
| LMArena Vision: English | 1298 | 1244 | Claude Sonnet 4.6 |
| LMArena Vision: Chinese | 1307 | 1286 | Claude Sonnet 4.6 |
| LMArena Vision: reading text | 1296 | 1253 | Claude Sonnet 4.6 |
| LMArena Vision: humor | 1248 | 1235 | Claude Sonnet 4.6 |
| LMArena Vision: recognizing things | 1195 | 1218 | GPT-5.4 Mini |
| LMArena Vision: creative writing | 1272 | 1222 | Claude Sonnet 4.6 |
| LMArena Document | 1482 | Not measured | Only Claude Sonnet 4.6 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 4.6 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
GPT-5.4 Mini costs less
Repository review
50K input + 3K output tokens
GPT-5.4 Mini costs less
Agent loop
200K input + 10K output tokens
GPT-5.4 Mini costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Anthropic Claude Sonnet 4.6 | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | February 17, 2026 | March 17, 2026 |
| Context window | 1M | 400K |
| Input $/Mtok | $3.00 | $0.75 |
| Output $/Mtok | $15.00 | $4.50 |
| Coding index | 57.8 | 28.2 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.68 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.6 better than GPT-5.4 Mini for coding?
Pick Claude Sonnet 4.6 for coding: it scores 57.8 on the Vibe Coding Index against 28.2 for GPT-5.4 Mini. Pick GPT-5.4 Mini when output tokens cost 3.3x less, or when a solved task costs $0.70 against $1.68.
Which is cheaper, Claude Sonnet 4.6 or GPT-5.4 Mini?
Claude Sonnet 4.6 costs $3.00 per million input tokens and $15.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, Claude Sonnet 4.6 costs $1.68 and GPT-5.4 Mini $0.70.
Which has the bigger context window, Claude Sonnet 4.6 or GPT-5.4 Mini?
Claude Sonnet 4.6, with 1M tokens against 400K.
How many benchmarks is the Claude Sonnet 4.6 vs GPT-5.4 Mini comparison based on?
84 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.6's coding index rests on 2 independent benchmarks and GPT-5.4 Mini's on 1. Where only one model has a result, the page says so instead of naming a winner.