Enter opens the highlighted result. Esc closes.

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.5Anthropic
Coding
35.6
Overall
41.0
Output $/M
$5.00
48
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
12
vs boards won of 60 shared

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.

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.

Boards won, where both have a result
CategoryClaude Haiku 4.5BarsGPT-4.1Ties
Coding41
Intelligence20
Agentic work10
Reasoning81
Math60
Knowledge48
Web design60
General172
All shared boards4812
CodingLike-for-likeSix of these boards feed the Vibe Coding Index41
Coding benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench Verified66.6%39.6%Claude Haiku 4.5
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
SWE-bench Multilingual64.7%Not measuredOnly Claude Haiku 4.5 measured
LiveBench coding48.1%Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev1330Not measuredOnly Claude Haiku 4.5 measured
AA Coding Index43.9Not measuredOnly Claude Haiku 4.5 measured
LiveCodeBench (Vals AI)41.2%54.7%GPT-4.1
SWE-bench Verified (Vals AI)66.6%Not measuredOnly Claude Haiku 4.5 measured
Vibe Code Bench (Vals AI)11.4%Not measuredOnly Claude Haiku 4.5 measured
Code migration (Vals AI)7.5%Not measuredOnly Claude Haiku 4.5 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Haiku 4.5 measured
Terminal-Bench 2.1 (Vals AI)43.8%Not measuredOnly Claude Haiku 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured45.7%Only GPT-4.1 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured13.6%Only GPT-4.1 measured
Terminal-Bench35.5%Not measuredOnly Claude Haiku 4.5 measured
WeirdML45.4%39.0%Claude Haiku 4.5
ALE-BenchNot measured558.1Only GPT-4.1 measured
LMArena Text: coding14541390Claude Haiku 4.5
LMArena Text: software and IT14391391Claude Haiku 4.5
LMArena WebDev: React1326Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev: HTML1318Not measuredOnly Claude Haiku 4.5 measured
SciCodeNot measured4.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
Intelligence benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
AA Intelligence Index16.912.7Claude Haiku 4.5
Epoch Capabilities Index142.2136.7Claude Haiku 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
AA Agentic Index8.0Not measuredOnly Claude Haiku 4.5 measured
LiveBench research42.2%Not measuredOnly Claude Haiku 4.5 measured
LiveBench browser40.0%Not measuredOnly Claude Haiku 4.5 measured
LiveBench long agentic11.1%Not measuredOnly Claude Haiku 4.5 measured
Finance Agent (Vals AI)31.0%Not measuredOnly Claude Haiku 4.5 measured
Tax Agent Bench (Vals AI)5.9%Not measuredOnly Claude Haiku 4.5 measured
Legal Research Bench (Vals AI)10.6%Not measuredOnly Claude Haiku 4.5 measured
Excel Modeling Benchmark (Vals AI)22.7%Not measuredOnly Claude Haiku 4.5 measured
τ²-Bench TelecomNot measured47.1%Only GPT-4.1 measured
BALROG31.2%Not measuredOnly Claude Haiku 4.5 measured
DeepResearch Bench45.5%Not measuredOnly Claude Haiku 4.5 measured
Vending-Bench 2$459Not measuredOnly Claude Haiku 4.5 measured
Berkeley Function Calling Leaderboard (BFCL)68.7%54.0%Claude Haiku 4.5
BrowseComp-PlusNot measured36.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
Reasoning benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
GPQA Diamond72.2%65.4%Claude Haiku 4.5
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%72.4%GPT-4.1
GPQA Diamond (Artificial Analysis run)Not measured66.6%Only GPT-4.1 measured
Humanity's Last Exam (Artificial Analysis run)Not measured4.2%Only GPT-4.1 measured
GPQA Diamond (Epoch AI run)71.2%66.9%Claude Haiku 4.5
ARC-AGI47.7%5.5%Claude Haiku 4.5
ARC-AGI-24.0%0.4%Claude Haiku 4.5
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzles8.0%3.0%Claude Haiku 4.5
LMArena Text: hard prompts14211384Claude Haiku 4.5
LMArena Text: expert14431364Claude Haiku 4.5
LMArena Text: hard prompts in English14351393Claude Haiku 4.5
LMArena Vision: diagramsNot measured1215Only GPT-4.1 measured
LMArena Vision: homeworkNot measured1248Only GPT-4.1 measured
Kagi LLM BenchmarkNot measured52.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
Math benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
AIME82.7%39.6%Claude Haiku 4.5
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)92.2%87.7%Claude Haiku 4.5
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIME66.7%38.3%Claude Haiku 4.5
FrontierMath, tiers 1 to 3Not measured6.0%Only GPT-4.1 measured
MATH level 596.4%83.0%Claude Haiku 4.5
LMArena Text: math13981369Claude Haiku 4.5
LMArena Text: mathematical work14301360Claude 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
Knowledge benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
MMLU Pro78.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 measuredOnly Claude Haiku 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified13.2%31.1%GPT-4.1
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science14061382Claude Haiku 4.5
LMArena Text: medicine and healthcare13941379Claude Haiku 4.5
LMArena Text: legal and government14001399Claude Haiku 4.5
LMArena Text: business and finance14001369Claude Haiku 4.5
FACTS Benchmark SuiteNot measured45.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
Web design benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
Design Arena: websites11221038Claude Haiku 4.5
Design Arena: UI components1097997Claude Haiku 4.5
Design Arena: game dev10961079Claude Haiku 4.5
Design Arena: data viz11241104Claude Haiku 4.5
Design Arena: 3D1071849Claude Haiku 4.5
Design Arena: all code categories11141025Claude Haiku 4.5
Design Arena: SVG1025Not measuredOnly Claude Haiku 4.5 measured
Design Arena: ASCII art1140Not measuredOnly Claude Haiku 4.5 measured
LiveBench design59.9%Not measuredOnly Claude Haiku 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
LiveBench data analysis59.3%Not measuredOnly Claude Haiku 4.5 measured
Public Benefits Bench (Vals AI)54.3%Not measuredOnly Claude Haiku 4.5 measured
SAGE (Vals AI)31.8%Not measuredOnly Claude Haiku 4.5 measured
MedScribe (Vals AI)85.2%Not measuredOnly Claude Haiku 4.5 measured
Vals Multimodal Index42.9%Not measuredOnly Claude Haiku 4.5 measured
IFBenchNot measured43.0%Only GPT-4.1 measured
Long context reasoning (AA-LCR)Not measured68.3%Only GPT-4.1 measured
DTBench73.6%68.3%Claude Haiku 4.5
LMCA30.9%25.6%Claude Haiku 4.5
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text13971383Claude Haiku 4.5
LMArena Text: instruction following14141367Claude Haiku 4.5
LMArena Text: creative writing13711363Claude Haiku 4.5
LMArena VisionNot measured1210Only GPT-4.1 measured
LMArena Text: English14141392Claude Haiku 4.5
LMArena Text: non-English13771370Claude Haiku 4.5
LMArena Text: Chinese14181382Claude Haiku 4.5
LMArena Text: German13741381GPT-4.1
LMArena Text: Japanese13381319Claude Haiku 4.5
LMArena Text: Korean13461338Claude Haiku 4.5
LMArena Text: French14111382Claude Haiku 4.5
LMArena Text: Spanish14211376Claude Haiku 4.5
LMArena Text: Russian13811377Claude Haiku 4.5
LMArena Text: Polish13431389GPT-4.1
LMArena Text: multi-turn14091397Claude Haiku 4.5
LMArena Text: longer queries14271385Claude Haiku 4.5
LMArena Text: writing and language13861371Claude Haiku 4.5
LMArena Text: entertainment and media13691365Claude Haiku 4.5
LMArena Vision: EnglishNot measured1209Only GPT-4.1 measured
LMArena Vision: ChineseNot measured1226Only GPT-4.1 measured
LMArena Vision: reading textNot measured1218Only GPT-4.1 measured
LMArena Vision: humorNot measured1196Only GPT-4.1 measured
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writingNot measured1210Only GPT-4.1 measured
LMArena Document1420Not measuredOnly 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
Image generation benchmarks for Claude Haiku 4.5 and GPT-4.1
BenchmarkClaude Haiku 4.5GPT-4.1Leader
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$0.0035Fits in one request
GPT-4.1$0.0060Fits in one request

Claude Haiku 4.5 costs less

Repository review

50K input + 3K output tokens

Claude Haiku 4.5$0.065Fits in one request
GPT-4.1$0.124Fits in one request

Claude Haiku 4.5 costs less

Agent loop

200K input + 10K output tokens

Claude Haiku 4.5$0.250Exceeds the context window
GPT-4.1$0.480Fits in one request

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.

Specifications of Claude Haiku 4.5 and GPT-4.1
SpecificationAnthropic Claude Haiku 4.5OpenAI GPT-4.1
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedOctober 15, 2025April 14, 2025
Context window200K1.05M
Input $/Mtok$1.00$2.00
Output $/Mtok$5.00$8.00
Coding index35.6Not benchmarked
Independent measurements behind it40
Cost per solved task$0.56$0.37
SourceOpenRouter listingOpenRouter 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.

Compare next