Claude Haiku 4.5 vs GPT-5.4 Mini
GPT-5.4 Mini leads Claude Haiku 4.5 on coding, 35.8 to 35.6 on the Vibe Coding Index, at about the same output price ($4.50 vs $5.00 per million). Updated October 22, 2026; 65 benchmarks have a result for both.
Claude Haiku 4.5 or GPT-5.4 Mini: which to pick
Claude Haiku 4.5 and GPT-5.4 Mini are level for coding, 35.6 against 35.8 on the Vibe Coding Index, so price and context decide.
Pick Claude Haiku 4.5 for a lower cost per solved task ($0.56 against $0.70) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads. Pick GPT-5.4 Mini for output tokens 1.1x cheaper ($4.50 vs $5.00 per million) and a larger context window (400K against 200K tokens).
- Shared results
- 65
- Claude Haiku 4.5 only
- 30
- GPT-5.4 Mini only
- 24
- Like-for-like categories
- 7 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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, six public coding benchmarks
No call
Level: 35.6 against 35.8, inside 2 points.
4 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 24.1 against 16.9.
Same board, both measured
Agentic work
AA Agentic Index
GPT-5.4 Mini
GPT-5.4 Mini leads, 17.9 against 8.0.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5.4 Mini
GPT-5.4 Mini leads, 83.1% against 72.2%.
Same board, both measured
Math
AIME
GPT-5.4 Mini
GPT-5.4 Mini leads, 95.6% against 82.7%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5.4 Mini
GPT-5.4 Mini leads, 84.5% against 78.7%.
Same board, both measured
Web design
Design Arena: websites
No call
Only Claude Haiku 4.5 has a Design Arena: websites result, 1122.
Directional only
Long documents
Listed context window
GPT-5.4 Mini
GPT-5.4 Mini takes 400K tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.4 Mini
Claude Haiku 4.5 $0.0035, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Claude Haiku 4.5
Claude Haiku 4.5 $0.56, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Haiku 4.5 35.6 from 4 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
- Widest category
- Coding, 12.8 points apart on average over 13 shared benchmarks.
- Widest single gap
- LiveCodeBench (Vals AI): Claude Haiku 4.5 41.2% against GPT-5.4 Mini 81.5%, 40.3 points apart on a 0 to 100 scale.
- Output price
- Claude Haiku 4.5 $5.00 against GPT-5.4 Mini $4.50 per million output tokens, 1.1x apart.
- Context window
- Claude Haiku 4.5 takes 200K 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 Haiku 4.5 | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 2 | 10 | 1 tie | |
| Intelligence | 0 | 2 | ||
| Agentic work | 1 | 5 | ||
| Reasoning | 2 | 7 | ||
| Math | 1 | 3 | ||
| Knowledge | 1 | 9 | ||
| General | 5 | 16 | ||
| All shared boards | 12 | 52 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index210
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| SWE-bench Verified | 66.6% | Not measured | Only Claude Haiku 4.5 measured |
| SWE-bench Multilingual | 64.7% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench coding | 48.1% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena WebDev | 1330 | 1397 | GPT-5.4 Mini |
| AA Coding Index | 43.9 | 56.1 | GPT-5.4 Mini |
| LiveCodeBench (Vals AI) | 41.2% | 81.5% | GPT-5.4 Mini |
| SWE-bench Verified (Vals AI) | 66.6% | 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) | 11.4% | 48.0% | GPT-5.4 Mini |
| Code migration (Vals AI) | 7.5% | 12.9% | GPT-5.4 Mini |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| Terminal-Bench 2.1 (Vals AI) | 43.8% | 54.7% | GPT-5.4 Mini |
| 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 | 35.5% | Not measured | Only Claude Haiku 4.5 measured |
| FrontierCode | Not measured | 27.0% | Only GPT-5.4 Mini measured |
| WeirdML | 45.4% | 60.3% | GPT-5.4 Mini |
| ALE-Bench | Not measured | 1188.6 | Only GPT-5.4 Mini measured |
| LMArena Text: coding | 1454 | 1438 | Claude Haiku 4.5 |
| LMArena Text: software and IT | 1439 | 1436 | Claude Haiku 4.5 |
| LMArena WebDev: React | 1326 | 1386 | GPT-5.4 Mini |
| LMArena WebDev: HTML | 1318 | 1419 | GPT-5.4 Mini |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.9 | 24.1 | GPT-5.4 Mini |
| Epoch Capabilities Index | 142.2 | 148.7 | GPT-5.4 Mini |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index15
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Agentic Index | 8.0 | 17.9 | GPT-5.4 Mini |
| LiveBench research | 42.2% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench browser | 40.0% | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench long agentic | 11.1% | Not measured | Only Claude Haiku 4.5 measured |
| Finance Agent (Vals AI) | 31.0% | 45.4% | GPT-5.4 Mini |
| Tax Agent Bench (Vals AI) | 5.9% | 8.8% | GPT-5.4 Mini |
| Legal Research Bench (Vals AI) | 10.6% | 12.5% | GPT-5.4 Mini |
| Excel Modeling Benchmark (Vals AI) | 22.7% | 45.4% | GPT-5.4 Mini |
| τ²-Bench Telecom | Not measured | 83.3% | Only GPT-5.4 Mini measured |
| BALROG | 31.2% | Not measured | Only Claude Haiku 4.5 measured |
| DeepResearch Bench | 45.5% | 36.3% | Claude Haiku 4.5 |
| Vending-Bench 2 | $459 | Not measured | Only Claude Haiku 4.5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | 68.7% | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 28 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index27
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 72.2% | 83.1% | GPT-5.4 Mini |
| LiveBench reasoning | 61.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMMU Pro (Vals AI) | 46.1% | 79.3% | GPT-5.4 Mini |
| 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) | 71.2% | 86.9% | GPT-5.4 Mini |
| ARC-AGI | 47.7% | 63.7% | GPT-5.4 Mini |
| ARC-AGI-2 | 4.0% | 18.9% | GPT-5.4 Mini |
| Chess puzzles | 8.0% | 23.0% | GPT-5.4 Mini |
| Mystery game puzzles | Not measured | 11.0% | Only GPT-5.4 Mini measured |
| LMArena Text: hard prompts | 1421 | 1424 | GPT-5.4 Mini |
| LMArena Text: expert | 1443 | 1435 | Claude Haiku 4.5 |
| LMArena Text: hard prompts in English | 1435 | 1420 | Claude Haiku 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 |
| Kagi LLM Benchmark | Not measured | 37.9% | Only GPT-5.4 Mini measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index13
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | 82.7% | 95.6% | GPT-5.4 Mini |
| MGSM (Vals AI) | 92.2% | Not measured | Only Claude Haiku 4.5 measured |
| OTIS Mock AIME | 66.7% | 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 | Not measured | 21.0% | Only GPT-5.4 Mini measured |
| MATH level 5 | 96.4% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text: math | 1398 | 1418 | GPT-5.4 Mini |
| LMArena Text: mathematical work | 1430 | 1429 | Claude Haiku 4.5 |
| Neither model has a result on the other 4 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index19
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 78.7% | 84.5% | GPT-5.4 Mini |
| LegalBench (Vals AI) | 81.2% | Not measured | Only Claude Haiku 4.5 measured |
| CaseLaw (Vals AI) | 56.5% | 51.7% | Claude Haiku 4.5 |
| CorpFin (Vals AI) | 60.6% | 60.9% | GPT-5.4 Mini |
| TaxEval (Vals AI) | 67.5% | 71.2% | GPT-5.4 Mini |
| MortgageTax (Vals AI) | 62.2% | 63.5% | GPT-5.4 Mini |
| MedQA (Vals AI) | 79.6% | Not measured | Only Claude Haiku 4.5 measured |
| MedCode (Vals AI) | 32.7% | Not measured | Only Claude Haiku 4.5 measured |
| SimpleQA Verified | 13.2% | 29.4% | GPT-5.4 Mini |
| LMArena Text: science | 1406 | 1417 | GPT-5.4 Mini |
| LMArena Text: medicine and healthcare | 1394 | 1395 | GPT-5.4 Mini |
| LMArena Text: legal and government | 1400 | 1414 | GPT-5.4 Mini |
| LMArena Text: business and finance | 1400 | 1418 | GPT-5.4 Mini |
| 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 Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1122 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: UI components | 1097 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: game dev | 1097 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: data viz | 1124 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: 3D | 1071 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: all code categories | 1114 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: SVG | 1025 | Not measured | Only Claude Haiku 4.5 measured |
| Design Arena: ASCII art | 1140 | Not measured | Only Claude Haiku 4.5 measured |
| LiveBench design | 59.9% | Not measured | Only Claude Haiku 4.5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index516
| Benchmark | Claude Haiku 4.5 | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LiveBench data analysis | 59.3% | Not measured | Only Claude Haiku 4.5 measured |
| Public Benefits Bench (Vals AI) | 54.3% | Not measured | Only Claude Haiku 4.5 measured |
| SAGE (Vals AI) | 31.8% | 50.8% | GPT-5.4 Mini |
| MedScribe (Vals AI) | 85.2% | Not measured | Only Claude Haiku 4.5 measured |
| Vals Multimodal Index | 42.9% | 54.2% | GPT-5.4 Mini |
| 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 | 73.6% | 80.0% | GPT-5.4 Mini |
| LMCA | 30.9% | 40.8% | GPT-5.4 Mini |
| ExploitBench | 13.7% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text | 1397 | 1412 | GPT-5.4 Mini |
| LMArena Text: instruction following | 1414 | 1405 | Claude Haiku 4.5 |
| LMArena Text: creative writing | 1371 | 1370 | Claude Haiku 4.5 |
| LMArena Vision | Not measured | 1245 | Only GPT-5.4 Mini measured |
| LMArena Text: English | 1414 | 1412 | Claude Haiku 4.5 |
| LMArena Text: non-English | 1377 | 1405 | GPT-5.4 Mini |
| LMArena Text: Chinese | 1418 | 1446 | GPT-5.4 Mini |
| LMArena Text: German | 1374 | 1408 | GPT-5.4 Mini |
| LMArena Text: Japanese | 1338 | 1375 | GPT-5.4 Mini |
| LMArena Text: Korean | 1346 | 1370 | GPT-5.4 Mini |
| LMArena Text: French | 1411 | 1441 | GPT-5.4 Mini |
| LMArena Text: Spanish | 1421 | 1405 | Claude Haiku 4.5 |
| LMArena Text: Russian | 1381 | 1417 | GPT-5.4 Mini |
| LMArena Text: Polish | 1343 | 1415 | GPT-5.4 Mini |
| LMArena Text: multi-turn | 1409 | 1429 | GPT-5.4 Mini |
| LMArena Text: longer queries | 1427 | 1408 | Claude Haiku 4.5 |
| LMArena Text: writing and language | 1386 | 1393 | GPT-5.4 Mini |
| LMArena Text: entertainment and media | 1369 | 1373 | GPT-5.4 Mini |
| 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 | 1420 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Haiku 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 Haiku 4.5 | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | October 15, 2025 | March 17, 2026 |
| Context window | 200K | 400K |
| Input $/Mtok | $1.00 | $0.75 |
| Output $/Mtok | $5.00 | $4.50 |
| Coding index | 35.6 | 35.8 |
| Independent measurements behind it | 4 | 5 |
| Cost per solved task | $0.56 | $0.70 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Haiku 4.5 better than GPT-5.4 Mini for coding?
Claude Haiku 4.5 and GPT-5.4 Mini are level for coding, 35.6 against 35.8 on the Vibe Coding Index, so price and context decide. Pick Claude Haiku 4.5 for a lower cost per solved task ($0.56 against $0.70) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads. Pick GPT-5.4 Mini for output tokens 1.1x cheaper ($4.50 vs $5.00 per million) and a larger context window (400K against 200K tokens).
Which is cheaper, Claude Haiku 4.5 or GPT-5.4 Mini?
Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GPT-5.4 Mini $0.70.
Which has the bigger context window, Claude Haiku 4.5 or GPT-5.4 Mini?
GPT-5.4 Mini, with 400K tokens against 200K.
How many benchmarks is the Claude Haiku 4.5 vs GPT-5.4 Mini comparison based on?
65 benchmarks have a result for both models as of October 22, 2026. Claude Haiku 4.5's coding index rests on 4 independent benchmarks and GPT-5.4 Mini's on 5. Where only one model has a result, the page says so instead of naming a winner.