Claude Haiku 4.5 vs GPT-4.1
Claude Haiku 4.5 leads GPT-4.1 on the Artificial Analysis Intelligence Index, 16.9 to 12.7, and Claude Haiku 4.5 costs 1.6x less per output token ($5.00 vs $8.00 per million). Updated October 22, 2026; 60 benchmarks have a result for both.
Claude Haiku 4.5 or GPT-4.1: which to pick
Only Claude Haiku 4.5 has a coding score, 35.6 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.
Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.56) and a larger context window (1.05M against 200K tokens).
- Shared results
- 60
- Claude Haiku 4.5 only
- 35
- GPT-4.1 only
- 32
- Like-for-like categories
- 8 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
Only Claude Haiku 4.5 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Claude Haiku 4.5
Claude Haiku 4.5 leads, 16.9 against 12.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Haiku 4.5 has a AA Agentic Index result, 8.0.
Directional only
Reasoning
GPQA Diamond
Claude Haiku 4.5
Claude Haiku 4.5 leads, 72.2% against 65.4%.
Same board, both measured
Math
AIME
Claude Haiku 4.5
Claude Haiku 4.5 leads, 82.7% against 39.6%.
Same board, both measured
Knowledge
MMLU Pro
GPT-4.1
GPT-4.1 leads, 80.5% against 78.7%.
Same board, both measured
Web design
Design Arena: websites
Claude Haiku 4.5
Claude Haiku 4.5 leads, 1122 against 1038.
Same board, both measured
Long documents
Listed context window
GPT-4.1
GPT-4.1 takes 1.05M tokens against 200K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Claude Haiku 4.5
Claude Haiku 4.5 $0.0035, GPT-4.1 $0.0060 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-4.1
Claude Haiku 4.5 $0.56, GPT-4.1 $0.37.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Haiku 4.5 35.6 from 4 benchmarks, GPT-4.1 not benchmarked.
- Widest category
- Math, 17.6 points apart on average over 6 shared benchmarks.
- Widest single gap
- AIME: Claude Haiku 4.5 82.7% against GPT-4.1 39.6%, 43.1 points apart on a 0 to 100 scale.
- Output price
- Claude Haiku 4.5 $5.00 against GPT-4.1 $8.00 per million output tokens, 1.6x apart.
- Context window
- Claude Haiku 4.5 takes 200K tokens, GPT-4.1 1.05M.
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-4.1 | Ties |
|---|---|---|---|---|
| Coding | 4 | 1 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 1 | 0 | ||
| Reasoning | 8 | 1 | ||
| Math | 6 | 0 | ||
| Knowledge | 4 | 8 | ||
| Web design | 6 | 0 | ||
| General | 17 | 2 | ||
| All shared boards | 48 | 12 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index41
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 52.4% | Only GPT-4.1 measured |
| SWE-bench Verified | 66.6% | 39.6% | Claude Haiku 4.5 |
| SWE-bench Multimodal | Not measured | 31.1% | Only GPT-4.1 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 | Not measured | Only Claude Haiku 4.5 measured |
| AA Coding Index | 43.9 | Not measured | Only Claude Haiku 4.5 measured |
| LiveCodeBench (Vals AI) | 41.2% | 54.7% | GPT-4.1 |
| SWE-bench Verified (Vals AI) | 66.6% | Not measured | Only Claude Haiku 4.5 measured |
| Vibe Code Bench (Vals AI) | 11.4% | Not measured | Only Claude Haiku 4.5 measured |
| Code migration (Vals AI) | 7.5% | Not measured | Only Claude Haiku 4.5 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Haiku 4.5 measured |
| Terminal-Bench 2.1 (Vals AI) | 43.8% | Not measured | Only Claude Haiku 4.5 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 45.7% | Only GPT-4.1 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 13.6% | Only GPT-4.1 measured |
| Terminal-Bench | 35.5% | Not measured | Only Claude Haiku 4.5 measured |
| WeirdML | 45.4% | 39.0% | Claude Haiku 4.5 |
| ALE-Bench | Not measured | 558.1 | Only GPT-4.1 measured |
| LMArena Text: coding | 1454 | 1390 | Claude Haiku 4.5 |
| LMArena Text: software and IT | 1439 | 1391 | Claude Haiku 4.5 |
| LMArena WebDev: React | 1326 | Not measured | Only Claude Haiku 4.5 measured |
| LMArena WebDev: HTML | 1318 | Not measured | Only Claude Haiku 4.5 measured |
| SciCode | Not measured | 4.6% | Only GPT-4.1 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 Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.9 | 12.7 | Claude Haiku 4.5 |
| Epoch Capabilities Index | 142.2 | 136.7 | Claude Haiku 4.5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| AA Agentic Index | 8.0 | Not measured | Only Claude Haiku 4.5 measured |
| 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% | Not measured | Only Claude Haiku 4.5 measured |
| Tax Agent Bench (Vals AI) | 5.9% | Not measured | Only Claude Haiku 4.5 measured |
| Legal Research Bench (Vals AI) | 10.6% | Not measured | Only Claude Haiku 4.5 measured |
| Excel Modeling Benchmark (Vals AI) | 22.7% | Not measured | Only Claude Haiku 4.5 measured |
| τ²-Bench Telecom | Not measured | 47.1% | Only GPT-4.1 measured |
| BALROG | 31.2% | Not measured | Only Claude Haiku 4.5 measured |
| DeepResearch Bench | 45.5% | Not measured | Only Claude Haiku 4.5 measured |
| Vending-Bench 2 | $459 | Not measured | Only Claude Haiku 4.5 measured |
| Berkeley Function Calling Leaderboard (BFCL) | 68.7% | 54.0% | Claude Haiku 4.5 |
| BrowseComp-Plus | Not measured | 36.4% | Only GPT-4.1 measured |
| Neither model has a result on the other 27 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index81
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| GPQA Diamond | 72.2% | 65.4% | Claude Haiku 4.5 |
| LiveBench reasoning | 61.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMMU Pro (Vals AI) | 46.1% | 72.4% | GPT-4.1 |
| GPQA Diamond (Artificial Analysis run) | Not measured | 66.6% | Only GPT-4.1 measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 4.2% | Only GPT-4.1 measured |
| GPQA Diamond (Epoch AI run) | 71.2% | 66.9% | Claude Haiku 4.5 |
| ARC-AGI | 47.7% | 5.5% | Claude Haiku 4.5 |
| ARC-AGI-2 | 4.0% | 0.4% | Claude Haiku 4.5 |
| SimpleBench | Not measured | 27.0% | Only GPT-4.1 measured |
| Chess puzzles | 8.0% | 3.0% | Claude Haiku 4.5 |
| LMArena Text: hard prompts | 1421 | 1384 | Claude Haiku 4.5 |
| LMArena Text: expert | 1443 | 1364 | Claude Haiku 4.5 |
| LMArena Text: hard prompts in English | 1435 | 1393 | Claude Haiku 4.5 |
| LMArena Vision: diagrams | Not measured | 1215 | Only GPT-4.1 measured |
| LMArena Vision: homework | Not measured | 1248 | Only GPT-4.1 measured |
| Kagi LLM Benchmark | Not measured | 52.3% | Only GPT-4.1 measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| AIME | 82.7% | 39.6% | Claude Haiku 4.5 |
| MATH 500 (Vals AI) | Not measured | 87.2% | Only GPT-4.1 measured |
| MGSM (Vals AI) | 92.2% | 87.7% | Claude Haiku 4.5 |
| AA Math Index | Not measured | 34.7 | Only GPT-4.1 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 34.7% | Only GPT-4.1 measured |
| OTIS Mock AIME | 66.7% | 38.3% | Claude Haiku 4.5 |
| FrontierMath, tiers 1 to 3 | Not measured | 6.0% | Only GPT-4.1 measured |
| MATH level 5 | 96.4% | 83.0% | Claude Haiku 4.5 |
| LMArena Text: math | 1398 | 1369 | Claude Haiku 4.5 |
| LMArena Text: mathematical work | 1430 | 1360 | Claude Haiku 4.5 |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index48
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| MMLU Pro | 78.7% | 80.5% | GPT-4.1 |
| LegalBench (Vals AI) | 81.2% | 83.1% | GPT-4.1 |
| CaseLaw (Vals AI) | 56.5% | 69.9% | GPT-4.1 |
| CorpFin (Vals AI) | 60.6% | 63.0% | GPT-4.1 |
| TaxEval (Vals AI) | 67.5% | 75.1% | GPT-4.1 |
| MortgageTax (Vals AI) | 62.2% | 65.9% | GPT-4.1 |
| MedQA (Vals AI) | 79.6% | 91.2% | GPT-4.1 |
| MedCode (Vals AI) | 32.7% | Not measured | Only Claude Haiku 4.5 measured |
| MMLU Pro (Artificial Analysis run) | Not measured | 80.6% | Only GPT-4.1 measured |
| SimpleQA Verified | 13.2% | 31.1% | GPT-4.1 |
| GeoBench | Not measured | 72.0% | Only GPT-4.1 measured |
| LMArena Text: science | 1406 | 1382 | Claude Haiku 4.5 |
| LMArena Text: medicine and healthcare | 1394 | 1379 | Claude Haiku 4.5 |
| LMArena Text: legal and government | 1400 | 1399 | Claude Haiku 4.5 |
| LMArena Text: business and finance | 1400 | 1369 | Claude Haiku 4.5 |
| FACTS Benchmark Suite | Not measured | 45.8% | Only GPT-4.1 measured |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | Leader |
|---|---|---|---|
| Design Arena: websites | 1122 | 1038 | Claude Haiku 4.5 |
| Design Arena: UI components | 1097 | 997 | Claude Haiku 4.5 |
| Design Arena: game dev | 1096 | 1079 | Claude Haiku 4.5 |
| Design Arena: data viz | 1124 | 1104 | Claude Haiku 4.5 |
| Design Arena: 3D | 1071 | 849 | Claude Haiku 4.5 |
| Design Arena: all code categories | 1114 | 1025 | Claude Haiku 4.5 |
| 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 index172
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | 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% | Not measured | Only Claude Haiku 4.5 measured |
| MedScribe (Vals AI) | 85.2% | Not measured | Only Claude Haiku 4.5 measured |
| Vals Multimodal Index | 42.9% | Not measured | Only Claude Haiku 4.5 measured |
| IFBench | Not measured | 43.0% | Only GPT-4.1 measured |
| Long context reasoning (AA-LCR) | Not measured | 68.3% | Only GPT-4.1 measured |
| DTBench | 73.6% | 68.3% | Claude Haiku 4.5 |
| LMCA | 30.9% | 25.6% | Claude Haiku 4.5 |
| Fiction.LiveBench | Not measured | 63.9% | Only GPT-4.1 measured |
| ExploitBench | 13.7% | Not measured | Only Claude Haiku 4.5 measured |
| LMArena Text | 1397 | 1383 | Claude Haiku 4.5 |
| LMArena Text: instruction following | 1414 | 1367 | Claude Haiku 4.5 |
| LMArena Text: creative writing | 1371 | 1363 | Claude Haiku 4.5 |
| LMArena Vision | Not measured | 1210 | Only GPT-4.1 measured |
| LMArena Text: English | 1414 | 1392 | Claude Haiku 4.5 |
| LMArena Text: non-English | 1377 | 1370 | Claude Haiku 4.5 |
| LMArena Text: Chinese | 1418 | 1382 | Claude Haiku 4.5 |
| LMArena Text: German | 1374 | 1381 | GPT-4.1 |
| LMArena Text: Japanese | 1338 | 1319 | Claude Haiku 4.5 |
| LMArena Text: Korean | 1346 | 1338 | Claude Haiku 4.5 |
| LMArena Text: French | 1411 | 1382 | Claude Haiku 4.5 |
| LMArena Text: Spanish | 1421 | 1376 | Claude Haiku 4.5 |
| LMArena Text: Russian | 1381 | 1377 | Claude Haiku 4.5 |
| LMArena Text: Polish | 1343 | 1389 | GPT-4.1 |
| LMArena Text: multi-turn | 1409 | 1397 | Claude Haiku 4.5 |
| LMArena Text: longer queries | 1427 | 1385 | Claude Haiku 4.5 |
| LMArena Text: writing and language | 1386 | 1371 | Claude Haiku 4.5 |
| LMArena Text: entertainment and media | 1369 | 1365 | Claude Haiku 4.5 |
| LMArena Vision: English | Not measured | 1209 | Only GPT-4.1 measured |
| LMArena Vision: Chinese | Not measured | 1226 | Only GPT-4.1 measured |
| LMArena Vision: reading text | Not measured | 1218 | Only GPT-4.1 measured |
| LMArena Vision: humor | Not measured | 1196 | Only GPT-4.1 measured |
| LMArena Vision: captioning | Not measured | 1207 | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | Not measured | 1208 | Only GPT-4.1 measured |
| LMArena Vision: creative writing | Not measured | 1210 | Only GPT-4.1 measured |
| LMArena Document | 1420 | Not measured | Only Claude Haiku 4.5 measured |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Claude Haiku 4.5 | GPT-4.1 | 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
Claude Haiku 4.5 costs less
Repository review
50K input + 3K output tokens
Claude Haiku 4.5 costs less
Agent loop
200K input + 10K output tokens
Claude Haiku 4.5 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-4.1 |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | October 15, 2025 | April 14, 2025 |
| Context window | 200K | 1.05M |
| Input $/Mtok | $1.00 | $2.00 |
| Output $/Mtok | $5.00 | $8.00 |
| Coding index | 35.6 | Not benchmarked |
| Independent measurements behind it | 4 | 0 |
| Cost per solved task | $0.56 | $0.37 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Haiku 4.5 better than GPT-4.1 for coding?
Only Claude Haiku 4.5 has a coding score, 35.6 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.56) and a larger context window (1.05M against 200K tokens).
Which is cheaper, Claude Haiku 4.5 or GPT-4.1?
Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GPT-4.1 $0.37.
Which has the bigger context window, Claude Haiku 4.5 or GPT-4.1?
GPT-4.1, with 1.05M tokens against 200K.
How many benchmarks is the Claude Haiku 4.5 vs GPT-4.1 comparison based on?
60 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-4.1's on 0. Where only one model has a result, the page says so instead of naming a winner.