Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs GPT-4.1 Mini

Claude Haiku 4.5 leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 16.9 to 10.2, and GPT-4.1 Mini costs 3.1x less per output token ($1.60 vs $5.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
55
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
5
vs boards won of 60 shared

Claude Haiku 4.5 or GPT-4.1 Mini: which to pick

Only Claude Haiku 4.5 has a coding score, 35.6 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding.

Pick GPT-4.1 Mini for output tokens 3.1x cheaper ($1.60 vs $5.00 per million) and a larger context window (1.05M against 200K tokens).

Shared results
60
Claude Haiku 4.5 only
35
GPT-4.1 Mini only
26
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 Mini not benchmarked.
Widest category
Coding, 19.8 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI: Claude Haiku 4.5 47.7% against GPT-4.1 Mini 3.5%, 44.2 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against GPT-4.1 Mini $1.60 per million output tokens, 3.1x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, GPT-4.1 Mini 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.1 MiniTies
Coding51
Intelligence20
Agentic work10
Reasoning81
Math60
Knowledge83
Web design60
General190
All shared boards555
CodingLike-for-likeSix of these boards feed the Vibe Coding Index51
Coding benchmarks for Claude Haiku 4.5 and GPT-4.1 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench Verified66.6%23.9%Claude Haiku 4.5
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.920.2Claude Haiku 4.5
LiveCodeBench (Vals AI)41.2%58.2%GPT-4.1 Mini
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 measured48.3%Only GPT-4.1 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured7.6%Only GPT-4.1 Mini measured
Terminal-Bench35.5%Not measuredOnly Claude Haiku 4.5 measured
WeirdML45.4%37.6%Claude Haiku 4.5
LMArena Text: coding14541367Claude Haiku 4.5
LMArena Text: software and IT14391360Claude Haiku 4.5
LMArena WebDev: React1326Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev: HTML1318Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 19 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
AA Intelligence Index16.910.2Claude Haiku 4.5
Epoch Capabilities Index142.2134.9Claude 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
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 measured52.9%Only GPT-4.1 Mini 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%50.4%Claude Haiku 4.5
Neither model has a result on the other 28 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
GPQA Diamond72.2%67.9%Claude Haiku 4.5
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%70.5%GPT-4.1 Mini
GPQA Diamond (Artificial Analysis run)Not measured66.4%Only GPT-4.1 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured5.0%Only GPT-4.1 Mini measured
GPQA Diamond (Epoch AI run)71.2%65.8%Claude Haiku 4.5
ARC-AGI47.7%3.5%Claude Haiku 4.5
ARC-AGI-24.0%0.0%Claude Haiku 4.5
Chess puzzles8.0%1.0%Claude Haiku 4.5
Mystery game puzzlesNot measured7.0%Only GPT-4.1 Mini measured
LMArena Text: hard prompts14211349Claude Haiku 4.5
LMArena Text: expert14431338Claude Haiku 4.5
LMArena Text: hard prompts in English14351362Claude Haiku 4.5
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM BenchmarkNot measured48.6%Only GPT-4.1 Mini 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
AIME82.7%49.4%Claude Haiku 4.5
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)92.2%87.8%Claude Haiku 4.5
AA Math IndexNot measured46.3Only GPT-4.1 Mini measured
AIME 2025 (Artificial Analysis run)Not measured46.3%Only GPT-4.1 Mini measured
OTIS Mock AIME66.7%44.7%Claude Haiku 4.5
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 596.4%87.3%Claude Haiku 4.5
LMArena Text: math13981343Claude Haiku 4.5
LMArena Text: mathematical work14301347Claude 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 index83
Knowledge benchmarks for Claude Haiku 4.5 and GPT-4.1 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
MMLU Pro78.7%77.2%Claude Haiku 4.5
LegalBench (Vals AI)81.2%78.0%Claude Haiku 4.5
CaseLaw (Vals AI)56.5%Not measuredOnly Claude Haiku 4.5 measured
CorpFin (Vals AI)60.6%57.9%Claude Haiku 4.5
TaxEval (Vals AI)67.5%71.9%GPT-4.1 Mini
MortgageTax (Vals AI)62.2%65.5%GPT-4.1 Mini
MedQA (Vals AI)79.6%84.6%GPT-4.1 Mini
MedCode (Vals AI)32.7%Not measuredOnly Claude Haiku 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA Verified13.2%12.7%Claude Haiku 4.5
LMArena Text: science14061328Claude Haiku 4.5
LMArena Text: medicine and healthcare13941324Claude Haiku 4.5
LMArena Text: legal and government14001343Claude Haiku 4.5
LMArena Text: business and finance14001322Claude Haiku 4.5
Neither model has a result on the other 4 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
Design Arena: websites1122997Claude Haiku 4.5
Design Arena: UI components1097958Claude Haiku 4.5
Design Arena: game dev10971070Claude Haiku 4.5
Design Arena: data viz11241034Claude Haiku 4.5
Design Arena: 3D1071836Claude Haiku 4.5
Design Arena: all code categories1114993Claude 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 index190
General benchmarks for Claude Haiku 4.5 and GPT-4.1 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
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 measured38.3%Only GPT-4.1 Mini measured
Long context reasoning (AA-LCR)Not measured44.0%Only GPT-4.1 Mini measured
DTBench73.6%68.8%Claude Haiku 4.5
LMCA30.9%21.1%Claude Haiku 4.5
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text13971341Claude Haiku 4.5
LMArena Text: instruction following14141333Claude Haiku 4.5
LMArena Text: creative writing13711299Claude Haiku 4.5
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: English14141356Claude Haiku 4.5
LMArena Text: non-English13771318Claude Haiku 4.5
LMArena Text: Chinese14181329Claude Haiku 4.5
LMArena Text: German13741350Claude Haiku 4.5
LMArena Text: Japanese13381290Claude Haiku 4.5
LMArena Text: Korean13461298Claude Haiku 4.5
LMArena Text: French14111358Claude Haiku 4.5
LMArena Text: Spanish14211319Claude Haiku 4.5
LMArena Text: Russian13811324Claude Haiku 4.5
LMArena Text: Polish13431326Claude Haiku 4.5
LMArena Text: multi-turn14091354Claude Haiku 4.5
LMArena Text: longer queries14271344Claude Haiku 4.5
LMArena Text: writing and language13861319Claude Haiku 4.5
LMArena Text: entertainment and media13691300Claude Haiku 4.5
LMArena Vision: EnglishNot measured1191Only GPT-4.1 Mini measured
LMArena Vision: ChineseNot measured1186Only GPT-4.1 Mini measured
LMArena Vision: reading textNot measured1188Only GPT-4.1 Mini measured
LMArena Vision: humorNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writingNot measured1182Only GPT-4.1 Mini 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 Mini
BenchmarkClaude Haiku 4.5GPT-4.1 MiniLeader
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 Mini$0.0012Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

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

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

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

GPT-4.1 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.

Specifications of Claude Haiku 4.5 and GPT-4.1 Mini
SpecificationAnthropic Claude Haiku 4.5OpenAI GPT-4.1 Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedOctober 15, 2025April 14, 2025
Context window200K1.05M
Input $/Mtok$1.00$0.40
Output $/Mtok$5.00$1.60
Coding index35.6Not benchmarked
Independent measurements behind it40
Cost per solved task$0.56$1.818
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than GPT-4.1 Mini for coding?

Only Claude Haiku 4.5 has a coding score, 35.6 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for output tokens 3.1x cheaper ($1.60 vs $5.00 per million) and a larger context window (1.05M against 200K tokens).

Which is cheaper, Claude Haiku 4.5 or GPT-4.1 Mini?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and GPT-4.1 Mini $1.818.

Which has the bigger context window, Claude Haiku 4.5 or GPT-4.1 Mini?

GPT-4.1 Mini, with 1.05M tokens against 200K.

How many benchmarks is the Claude Haiku 4.5 vs GPT-4.1 Mini 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 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next