Claude Sonnet 4.5 vs GPT-5.4 Mini
Updated October 21, 2026. 61 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.5 for coding: it scores 59.1 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.16.
- Shared results
- 61
- Claude Sonnet 4.5 only
- 31
- GPT-5.4 Mini only
- 27
- 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.5
Claude Sonnet 4.5 scores 59.1 against 28.2.
2 and 1 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 20.7.
Same board, both measured
Agentic work
AA Agentic Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 17.9 against 15.8.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5.4 Mini
GPT-5.4 Mini leads, 83.1% against 81.6%.
Same board, both measured
Math
AIME
GPT-5.4 Mini
GPT-5.4 Mini leads, 95.6% against 88.2%.
Same board, both measured
Knowledge
MMLU Pro
Claude Sonnet 4.5
Claude Sonnet 4.5 leads, 87.4% against 84.5%.
Same board, both measured
Web design
Design Arena: websites
No call
Only Claude Sonnet 4.5 has a Design Arena: websites result, 1190.
Directional only
Long documents
Listed context window
Claude Sonnet 4.5
Claude Sonnet 4.5 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Mini
Claude Sonnet 4.5 $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.5 $1.16, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Sonnet 4.5 59.1 from 2 benchmarks, GPT-5.4 Mini 28.2 from 1 benchmark.
- Widest category
- Math, 9.4 points apart on average over 7 shared benchmarks.
- Widest single gap
- FrontierMath, tiers 1 to 3: Claude Sonnet 4.5 23.9% against GPT-5.4 Mini 51.2%, 27.4 points apart on a 0 to 100 scale.
- Output price
- Claude Sonnet 4.5 $15.00 against GPT-5.4 Mini $4.50 per million output tokens, 3.3x apart.
- Context window
- Claude Sonnet 4.5 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.5 | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 2 | 8 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 1 | 1 | ||
| Reasoning | 5 | 4 | 1 tie | |
| Math | 2 | 5 | ||
| Knowledge | 10 | 0 | ||
| General | 18 | 2 | ||
| All shared boards | 38 | 22 | 1 tie |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index28
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SWE-bench Verified | 74.8% | Not measured | Only Claude Sonnet 4.5 measured |
| SWE-bench Multilingual | 67.0% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena WebDev | 1394 | 1397 | GPT-5.4 Mini |
| AA Coding Index | 52.1 | 56.1 | GPT-5.4 Mini |
| LiveCodeBench (Vals AI) | 73.0% | 81.5% | GPT-5.4 Mini |
| SWE-bench Verified (Vals AI) | 70.0% | 73.0% | GPT-5.4 Mini |
| Terminal-Bench 4 (Vals AI) | Not measured | 2.5% | Only GPT-5.4 Mini measured |
| Vibe Code Bench (Vals AI) | 22.6% | 48.0% | GPT-5.4 Mini |
| Code migration (Vals AI) | Not measured | 12.9% | Only GPT-5.4 Mini measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only GPT-5.4 Mini measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 54.7% | Only GPT-5.4 Mini measured |
| SciCode | Not measured | 52.1% | Only GPT-5.4 Mini measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 52.3% | Only GPT-5.4 Mini measured |
| Terminal-Bench | 46.5% | Not measured | Only Claude Sonnet 4.5 measured |
| FrontierCode | Not measured | 27.0% | Only GPT-5.4 Mini measured |
| GSO-Bench | 14.7% | Not measured | Only Claude Sonnet 4.5 measured |
| WeirdML | 47.7% | 60.3% | GPT-5.4 Mini |
| Cybench | 60.0% | Not measured | Only Claude Sonnet 4.5 measured |
| ALE-Bench | Not measured | 1188.6 | Only GPT-5.4 Mini measured |
| LMArena Text: coding | 1488 | 1438 | Claude Sonnet 4.5 |
| LMArena Text: software and IT | 1473 | 1436 | Claude Sonnet 4.5 |
| LMArena WebDev: React | 1386 | 1386 | GPT-5.4 Mini |
| LMArena WebDev: HTML | 1399 | 1419 | GPT-5.4 Mini |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 20.7 | 24.1 | GPT-5.4 Mini |
| Epoch Capabilities Index | 146.7 | 148.7 | GPT-5.4 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 15.8 | 17.9 | GPT-5.4 Mini |
| Design Arena: agents building web apps | 1060 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building full-stack apps | 1050 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: agents building mobile apps | 1137 | Not measured | Only Claude Sonnet 4.5 measured |
| Finance Agent (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| Tax Agent Bench (Vals AI) | Not measured | 8.8% | Only GPT-5.4 Mini measured |
| Legal Research Bench (Vals AI) | Not measured | 12.5% | Only GPT-5.4 Mini measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 45.4% | Only GPT-5.4 Mini measured |
| τ²-Bench Telecom | Not measured | 83.3% | Only GPT-5.4 Mini measured |
| METR time horizons | 67.4% | Not measured | Only Claude Sonnet 4.5 measured |
| Remote Labor Index | 2.1% | Not measured | Only Claude Sonnet 4.5 measured |
| GDPval | 42.5% | Not measured | Only Claude Sonnet 4.5 measured |
| DeepResearch Bench | 52.6% | 36.3% | Claude Sonnet 4.5 |
| OSWorld | 62.9% | Not measured | Only Claude Sonnet 4.5 measured |
| Vending-Bench 2 | $3,839 | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index54
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 81.6% | 83.1% | GPT-5.4 Mini |
| MMMU Pro (Vals AI) | 79.3% | 79.3% | Claude Sonnet 4.5 |
| GPQA Diamond (Artificial Analysis run) | Not measured | 87.5% | Only GPT-5.4 Mini measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 28.1% | Only GPT-5.4 Mini measured |
| GPQA Diamond (Epoch AI run) | 82.3% | 86.9% | GPT-5.4 Mini |
| ARC-AGI | 63.7% | 63.7% | Tie |
| ARC-AGI-2 | 13.6% | 18.9% | GPT-5.4 Mini |
| SimpleBench | 54.3% | Not measured | Only Claude Sonnet 4.5 measured |
| Chess puzzles | 10.0% | 23.0% | GPT-5.4 Mini |
| Mystery game puzzles | 17.0% | 11.0% | Claude Sonnet 4.5 |
| EBR-bench | 2.4% | Not measured | Only Claude Sonnet 4.5 measured |
| VPCT | 39.8% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: hard prompts | 1462 | 1424 | Claude Sonnet 4.5 |
| LMArena Text: expert | 1483 | 1435 | Claude Sonnet 4.5 |
| LMArena Text: hard prompts in English | 1471 | 1420 | Claude Sonnet 4.5 |
| LMArena Vision: diagrams | Not measured | 1266 | Only GPT-5.4 Mini measured |
| LMArena Vision: homework | Not measured | 1285 | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index25
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | 88.2% | 95.6% | GPT-5.4 Mini |
| MGSM (Vals AI) | 94.3% | Not measured | Only Claude Sonnet 4.5 measured |
| OTIS Mock AIME | 77.8% | 88.9% | GPT-5.4 Mini |
| FrontierMath, tiers 1 to 3 | 23.9% | 51.2% | GPT-5.4 Mini |
| FrontierMath, tier 4 | 2.4% | 9.8% | GPT-5.4 Mini |
| ProofBench | 19.0% | 21.0% | GPT-5.4 Mini |
| MATH level 5 | 97.7% | Not measured | Only Claude Sonnet 4.5 measured |
| LMArena Text: math | 1449 | 1418 | Claude Sonnet 4.5 |
| LMArena Text: mathematical work | 1462 | 1429 | Claude Sonnet 4.5 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 87.4% | 84.5% | Claude Sonnet 4.5 |
| LegalBench (Vals AI) | 84.1% | Not measured | Only Claude Sonnet 4.5 measured |
| CaseLaw (Vals AI) | 62.2% | 51.7% | Claude Sonnet 4.5 |
| CorpFin (Vals AI) | 62.0% | 60.9% | Claude Sonnet 4.5 |
| TaxEval (Vals AI) | 73.3% | 71.2% | Claude Sonnet 4.5 |
| MortgageTax (Vals AI) | 64.0% | 63.5% | Claude Sonnet 4.5 |
| MedQA (Vals AI) | 94.7% | Not measured | Only Claude Sonnet 4.5 measured |
| MedCode (Vals AI) | 44.1% | Not measured | Only Claude Sonnet 4.5 measured |
| SimpleQA Verified | 30.7% | 29.4% | Claude Sonnet 4.5 |
| LMArena Text: science | 1448 | 1417 | Claude Sonnet 4.5 |
| LMArena Text: medicine and healthcare | 1444 | 1395 | Claude Sonnet 4.5 |
| LMArena Text: legal and government | 1451 | 1414 | Claude Sonnet 4.5 |
| LMArena Text: business and finance | 1440 | 1418 | Claude Sonnet 4.5 |
| Neither model has a result on the other 4 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1190 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: UI components | 1173 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: game dev | 1166 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: data viz | 1167 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: 3D | 1158 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: all code categories | 1183 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: SVG | 1114 | Not measured | Only Claude Sonnet 4.5 measured |
| Design Arena: ASCII art | 1204 | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index182
| Benchmark | Claude Sonnet 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 36.1% | 50.8% | GPT-5.4 Mini |
| MedScribe (Vals AI) | 84.5% | Not measured | Only Claude Sonnet 4.5 measured |
| Vals Multimodal Index | Not measured | 54.2% | Only GPT-5.4 Mini measured |
| IFBench | Not measured | 73.3% | Only GPT-5.4 Mini measured |
| Long context reasoning (AA-LCR) | Not measured | 77.0% | Only GPT-5.4 Mini measured |
| DTBench | 83.2% | 80.0% | Claude Sonnet 4.5 |
| LMCA | 38.8% | 40.8% | GPT-5.4 Mini |
| LMArena Text | 1438 | 1412 | Claude Sonnet 4.5 |
| LMArena Text: instruction following | 1459 | 1405 | Claude Sonnet 4.5 |
| LMArena Text: creative writing | 1442 | 1370 | Claude Sonnet 4.5 |
| LMArena Vision | Not measured | 1245 | Only GPT-5.4 Mini measured |
| LMArena Text: English | 1450 | 1412 | Claude Sonnet 4.5 |
| LMArena Text: non-English | 1425 | 1405 | Claude Sonnet 4.5 |
| LMArena Text: Chinese | 1460 | 1446 | Claude Sonnet 4.5 |
| LMArena Text: German | 1427 | 1408 | Claude Sonnet 4.5 |
| LMArena Text: Japanese | 1390 | 1375 | Claude Sonnet 4.5 |
| LMArena Text: Korean | 1402 | 1370 | Claude Sonnet 4.5 |
| LMArena Text: French | 1459 | 1441 | Claude Sonnet 4.5 |
| LMArena Text: Spanish | 1458 | 1405 | Claude Sonnet 4.5 |
| LMArena Text: Russian | 1437 | 1417 | Claude Sonnet 4.5 |
| LMArena Text: Polish | 1423 | 1415 | Claude Sonnet 4.5 |
| LMArena Text: multi-turn | 1465 | 1429 | Claude Sonnet 4.5 |
| LMArena Text: longer queries | 1475 | 1408 | Claude Sonnet 4.5 |
| LMArena Text: writing and language | 1442 | 1393 | Claude Sonnet 4.5 |
| LMArena Text: entertainment and media | 1428 | 1373 | Claude Sonnet 4.5 |
| LMArena Vision: English | Not measured | 1244 | Only GPT-5.4 Mini measured |
| LMArena Vision: Chinese | Not measured | 1286 | Only GPT-5.4 Mini measured |
| LMArena Vision: reading text | Not measured | 1253 | Only GPT-5.4 Mini measured |
| LMArena Vision: humor | Not measured | 1235 | Only GPT-5.4 Mini measured |
| LMArena Vision: recognizing things | Not measured | 1218 | Only GPT-5.4 Mini measured |
| LMArena Vision: creative writing | Not measured | 1222 | Only GPT-5.4 Mini measured |
| LMArena Document | 1450 | Not measured | Only Claude Sonnet 4.5 measured |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Sonnet 4.5 | 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.5 | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | September 29, 2025 | March 17, 2026 |
| Context window | 1M | 400K |
| Input $/Mtok | $3.00 | $0.75 |
| Output $/Mtok | $15.00 | $4.50 |
| Coding index | 59.1 | 28.2 |
| Independent measurements behind it | 2 | 1 |
| Cost per solved task | $1.16 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Sonnet 4.5 better than GPT-5.4 Mini for coding?
Pick Claude Sonnet 4.5 for coding: it scores 59.1 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.16.
Which is cheaper, Claude Sonnet 4.5 or GPT-5.4 Mini?
Claude Sonnet 4.5 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.5 costs $1.16 and GPT-5.4 Mini $0.70.
Which has the bigger context window, Claude Sonnet 4.5 or GPT-5.4 Mini?
Claude Sonnet 4.5, with 1M tokens against 400K.
How many benchmarks is the Claude Sonnet 4.5 vs GPT-5.4 Mini comparison based on?
61 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5'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.