Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs GPT-4

Claude Haiku 4.5 leads GPT-4 on the Artificial Analysis Intelligence Index, 16.9 to 6.7, and Claude Haiku 4.5 costs 12.0x less per output token ($5.00 vs $60.00 per million). Updated October 22, 2026; 34 benchmarks have a result for both.

Claude Haiku 4.5Anthropic
Coding
35.6
Overall
41.0
Output $/M
$5.00
34
GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
vs boards won of 34 shared

Claude Haiku 4.5 or GPT-4: which to pick

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

Compare them on price, context and the boards below.

Shared results
34
Claude Haiku 4.5 only
61
GPT-4 only
11
Like-for-like categories
6 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 not benchmarked.
Widest category
Reasoning, 41.2 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena Text: expert: Claude Haiku 4.5 1443 against GPT-4 1149, 49.1 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against GPT-4 $60.00 per million output tokens, 12.0x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, GPT-4 8K.

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-4Ties
Coding40
Intelligence20
Reasoning30
Math20
Knowledge40
General190
All shared boards340
CodingLike-for-likeSix of these boards feed the Vibe Coding Index40
Coding benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
SWE-bench Verified66.6%22.4%Claude Haiku 4.5
SWE-bench LiteNot measured39.7%Only GPT-4 measured
SWE-bench (full test set)Not measured12.5%Only GPT-4 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.913.1Claude Haiku 4.5
LiveCodeBench (Vals AI)41.2%Not measuredOnly Claude Haiku 4.5 measured
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
Terminal-Bench35.5%Not measuredOnly Claude Haiku 4.5 measured
WeirdML45.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: coding14541209Claude Haiku 4.5
LMArena Text: software and IT14391195Claude 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 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
AA Intelligence Index16.96.7Claude Haiku 4.5
Epoch Capabilities Index142.2125.7Claude Haiku 4.5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
Agentic work benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
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
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%Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
GPQA Diamond72.2%Not measuredOnly Claude Haiku 4.5 measured
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%Not measuredOnly Claude Haiku 4.5 measured
GPQA Diamond (Artificial Analysis run)Not measured34.9%Only GPT-4 measured
GPQA Diamond (Epoch AI run)71.2%Not measuredOnly Claude Haiku 4.5 measured
ARC-AGI47.7%Not measuredOnly Claude Haiku 4.5 measured
ARC-AGI-24.0%Not measuredOnly Claude Haiku 4.5 measured
Chess puzzles8.0%Not measuredOnly Claude Haiku 4.5 measured
BIG-Bench HardNot measured75.1%Only GPT-4 measured
LMArena Text: hard prompts14211200Claude Haiku 4.5
LMArena Text: expert14431149Claude Haiku 4.5
LMArena Text: hard prompts in English14351209Claude Haiku 4.5
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index20
Math benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
AIME82.7%Not measuredOnly Claude Haiku 4.5 measured
MGSM (Vals AI)92.2%Not measuredOnly Claude Haiku 4.5 measured
OTIS Mock AIME66.7%Not measuredOnly Claude Haiku 4.5 measured
MATH level 596.4%Not measuredOnly Claude Haiku 4.5 measured
GSM8KNot measured92.0%Only GPT-4 measured
LMArena Text: math13981230Claude Haiku 4.5
LMArena Text: mathematical work14301228Claude Haiku 4.5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
Knowledge benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
MMLU Pro78.7%Not measuredOnly Claude Haiku 4.5 measured
LegalBench (Vals AI)81.2%Not measuredOnly Claude Haiku 4.5 measured
CaseLaw (Vals AI)56.5%Not measuredOnly Claude Haiku 4.5 measured
CorpFin (Vals AI)60.6%Not measuredOnly Claude Haiku 4.5 measured
TaxEval (Vals AI)67.5%Not measuredOnly Claude Haiku 4.5 measured
MortgageTax (Vals AI)62.2%Not measuredOnly Claude Haiku 4.5 measured
MedQA (Vals AI)79.6%Not measuredOnly Claude Haiku 4.5 measured
MedCode (Vals AI)32.7%Not measuredOnly Claude Haiku 4.5 measured
MMLU Pro (Artificial Analysis run)Not measured56.2%Only GPT-4 measured
SimpleQA Verified13.2%Not measuredOnly Claude Haiku 4.5 measured
MMLUNot measured86.4%Only GPT-4 measured
AI2 Reasoning ChallengeNot measured96.3%Only GPT-4 measured
LMArena Text: science14061177Claude Haiku 4.5
LMArena Text: medicine and healthcare13941145Claude Haiku 4.5
LMArena Text: legal and government14001191Claude Haiku 4.5
LMArena Text: business and finance14001145Claude Haiku 4.5
Neither model has a result on the other 2 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for Claude Haiku 4.5 and GPT-4
BenchmarkClaude Haiku 4.5GPT-4Leader
Design Arena: websites1122Not measuredOnly Claude Haiku 4.5 measured
Design Arena: UI components1097Not measuredOnly Claude Haiku 4.5 measured
Design Arena: game dev1097Not measuredOnly Claude Haiku 4.5 measured
Design Arena: data viz1124Not measuredOnly Claude Haiku 4.5 measured
Design Arena: 3D1071Not measuredOnly Claude Haiku 4.5 measured
Design Arena: all code categories1114Not measuredOnly Claude Haiku 4.5 measured
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
BenchmarkClaude Haiku 4.5GPT-4Leader
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 measured33.2%Only GPT-4 measured
DTBench73.6%62.7%Claude Haiku 4.5
LMCA30.9%17.1%Claude Haiku 4.5
ExploitBench13.7%Not measuredOnly Claude Haiku 4.5 measured
HellaSwagNot measured95.3%Only GPT-4 measured
WinoGrandeNot measured87.5%Only GPT-4 measured
LMArena Text13971206Claude Haiku 4.5
LMArena Text: instruction following14141201Claude Haiku 4.5
LMArena Text: creative writing13711191Claude Haiku 4.5
LMArena Text: English14141220Claude Haiku 4.5
LMArena Text: non-English13771194Claude Haiku 4.5
LMArena Text: Chinese14181184Claude Haiku 4.5
LMArena Text: German13741198Claude Haiku 4.5
LMArena Text: Japanese13381137Claude Haiku 4.5
LMArena Text: Korean13461087Claude Haiku 4.5
LMArena Text: French14111220Claude Haiku 4.5
LMArena Text: Spanish14211197Claude Haiku 4.5
LMArena Text: Russian13811195Claude Haiku 4.5
LMArena Text: Polish13431265Claude Haiku 4.5
LMArena Text: multi-turn14091206Claude Haiku 4.5
LMArena Text: longer queries14271190Claude Haiku 4.5
LMArena Text: writing and language13861219Claude Haiku 4.5
LMArena Text: entertainment and media13691184Claude Haiku 4.5
LMArena Document1420Not measuredOnly Claude Haiku 4.5 measured
Neither model has a result on the other 17 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
BenchmarkClaude Haiku 4.5GPT-4Leader
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$0.060Fits 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.68Exceeds the context window

Claude Haiku 4.5 costs less

Agent loop

200K input + 10K output tokens

Claude Haiku 4.5$0.250Exceeds the context window
GPT-4$6.60Exceeds the context window

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
SpecificationAnthropic Claude Haiku 4.5OpenAI GPT-4
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedOctober 15, 2025May 28, 2023
Context window200K8K
Input $/Mtok$1.00$30.00
Output $/Mtok$5.00$60.00
Coding index35.6Not benchmarked
Independent measurements behind it40
Cost per solved task$0.56Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than GPT-4 for coding?

Only Claude Haiku 4.5 has a coding score, 35.6 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, Claude Haiku 4.5 or GPT-4?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; GPT-4 costs $30.00 and $60.00. Cost per solved task is known for Claude Haiku 4.5 only.

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

Claude Haiku 4.5, with 200K tokens against 8K.

How many benchmarks is the Claude Haiku 4.5 vs GPT-4 comparison based on?

34 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's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next