Enter opens the highlighted result. Esc closes.

Claude Haiku 4.5 vs Claude Opus 4.7

Updated October 21, 2026. 71 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Haiku 4.5Anthropic
Coding
49.8
Overall
16.9
Output $/M
$5.00
1
Claude Opus 4.7Anthropic
Coding
51.1
Overall
40.7
Output $/M
$25.00
69
vs boards won of 71 shared, 1 tied

Decision reading

Claude Haiku 4.5 and Claude Opus 4.7 are level for coding, 49.8 against 51.1 on the Vibe Coding Index, so price and context decide.

Pick Claude Haiku 4.5 when output tokens cost 5.0x less, or when a solved task costs $0.56 against $2.95. Pick Claude Opus 4.7 when the context window is larger, 1M against 200K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

Shared results
71
Claude Haiku 4.5 only
23
Claude Opus 4.7 only
30
Like-for-like categories
7 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 49.8 from 3 benchmarks, Claude Opus 4.7 51.1 from 1 benchmark.
Widest category
Agentic work, 33.9 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Haiku 4.5 4.0% against Claude Opus 4.7 75.8%, 71.8 points apart on a 0 to 100 scale.
Output price
Claude Haiku 4.5 $5.00 against Claude Opus 4.7 $25.00 per million output tokens, 5.0x apart.
Context window
Claude Haiku 4.5 takes 200K tokens, Claude Opus 4.7 1M.

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.5BarsClaude Opus 4.7Ties
Coding0131 tie
Intelligence02
Agentic work06
Reasoning09
Math04
Knowledge012
General123
All shared boards1691 tie
CodingLike-for-likeFour of these boards feed the Vibe Coding Index013
Coding benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
SWE-bench Verified66.6%Not measuredOnly Claude Haiku 4.5 measured
SWE-bench Multilingual64.7%Not measuredOnly Claude Haiku 4.5 measured
LiveBench coding48.1%Not measuredOnly Claude Haiku 4.5 measured
LMArena WebDev13301558Claude Opus 4.7
AA Coding Index43.973.6Claude Opus 4.7
LiveCodeBench (Vals AI)41.2%85.1%Claude Opus 4.7
SWE-bench Verified (Vals AI)66.6%82.0%Claude Opus 4.7
Vibe Code Bench (Vals AI)11.4%71.0%Claude Opus 4.7
Code migration (Vals AI)7.5%43.9%Claude Opus 4.7
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)43.8%68.5%Claude Opus 4.7
Terminal-Bench Hard (Artificial Analysis run)Not measured54.5%Only Claude Opus 4.7 measured
Terminal-Bench35.5%80.2%Claude Opus 4.7
FrontierCodeNot measured38.5%Only Claude Opus 4.7 measured
GSO-BenchNot measured44.1%Only Claude Opus 4.7 measured
WeirdML45.4%76.4%Claude Opus 4.7
MirrorCodeNot measured31.1%Only Claude Opus 4.7 measured
LMArena Text: coding14541519Claude Opus 4.7
LMArena Text: software and IT14391516Claude Opus 4.7
LMArena WebDev: React13261560Claude Opus 4.7
LMArena WebDev: HTML13181554Claude Opus 4.7
LMArena WebDev: from an imageNot measured1577Only Claude Opus 4.7 measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
AA Intelligence Index16.940.7Claude Opus 4.7
Epoch Capabilities Index142.2156.8Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index06
Agentic work benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
AA Agentic Index8.038.6Claude Opus 4.7
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%51.5%Claude Opus 4.7
Tax Agent Bench (Vals AI)5.9%23.7%Claude Opus 4.7
Legal Research Bench (Vals AI)10.6%38.5%Claude Opus 4.7
Excel Modeling Benchmark (Vals AI)22.7%63.7%Claude Opus 4.7
τ²-Bench TelecomNot measured88.6%Only Claude Opus 4.7 measured
APEX-AgentsNot measured49.2%Only Claude Opus 4.7 measured
OSWorld 2.0Not measured18.2%Only Claude Opus 4.7 measured
BALROG31.2%Not measuredOnly Claude Haiku 4.5 measured
DeepResearch Bench45.5%Not measuredOnly Claude Haiku 4.5 measured
PostTrainBenchNot measured28.6%Only Claude Opus 4.7 measured
Vending-Bench 2$459$10,937Claude Opus 4.7
LMArena SearchNot measured1230Only Claude Opus 4.7 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index09
Reasoning benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
GPQA Diamond72.2%90.2%Claude Opus 4.7
LiveBench reasoning61.7%Not measuredOnly Claude Haiku 4.5 measured
MMMU Pro (Vals AI)46.1%85.5%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)Not measured91.4%Only Claude Opus 4.7 measured
Humanity's Last Exam (Artificial Analysis run)Not measured42.3%Only Claude Opus 4.7 measured
GPQA Diamond (Epoch AI run)71.2%90.2%Claude Opus 4.7
ARC-AGI47.7%93.5%Claude Opus 4.7
ARC-AGI-24.0%75.8%Claude Opus 4.7
SimpleBenchNot measured61.7%Only Claude Opus 4.7 measured
Chess puzzles8.0%41.0%Claude Opus 4.7
Mystery game puzzlesNot measured28.0%Only Claude Opus 4.7 measured
EBR-benchNot measured19.0%Only Claude Opus 4.7 measured
LMArena Text: hard prompts14211506Claude Opus 4.7
LMArena Text: expert14431521Claude Opus 4.7
LMArena Text: hard prompts in English14351508Claude Opus 4.7
LMArena Vision: diagramsNot measured1336Only Claude Opus 4.7 measured
LMArena Vision: homeworkNot measured1337Only Claude Opus 4.7 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
AIME82.7%96.3%Claude Opus 4.7
MGSM (Vals AI)92.2%Not measuredOnly Claude Haiku 4.5 measured
OTIS Mock AIME66.7%97.8%Claude Opus 4.7
FrontierMath, tiers 1 to 3Not measured70.2%Only Claude Opus 4.7 measured
FrontierMath, tier 4Not measured31.7%Only Claude Opus 4.7 measured
ProofBenchNot measured54.0%Only Claude Opus 4.7 measured
MATH level 596.4%Not measuredOnly Claude Haiku 4.5 measured
LMArena Text: math13981498Claude Opus 4.7
LMArena Text: mathematical work14301509Claude Opus 4.7
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index012
Knowledge benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
MMLU Pro78.7%89.9%Claude Opus 4.7
LegalBench (Vals AI)81.2%85.3%Claude Opus 4.7
CaseLaw (Vals AI)56.5%68.4%Claude Opus 4.7
CorpFin (Vals AI)60.6%66.1%Claude Opus 4.7
TaxEval (Vals AI)67.5%75.3%Claude Opus 4.7
MortgageTax (Vals AI)62.2%70.3%Claude Opus 4.7
MedQA (Vals AI)79.6%Not measuredOnly Claude Haiku 4.5 measured
MedCode (Vals AI)32.7%54.9%Claude Opus 4.7
SimpleQA Verified13.2%51.7%Claude Opus 4.7
LMArena Text: science14061508Claude Opus 4.7
LMArena Text: medicine and healthcare13941495Claude Opus 4.7
LMArena Text: legal and government14001504Claude Opus 4.7
LMArena Text: business and finance14001490Claude Opus 4.7
Neither model has a result on the other 4 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 Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
Design Arena: websites1122Not measuredOnly Claude Haiku 4.5 measured
Design Arena: UI components1100Not 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: 3D1072Not measuredOnly Claude Haiku 4.5 measured
Design Arena: all code categories1115Not measuredOnly Claude Haiku 4.5 measured
Design Arena: SVG1025Not measuredOnly Claude Haiku 4.5 measured
Design Arena: ASCII art1139Not 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 index123
General benchmarks for Claude Haiku 4.5 and Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
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%56.1%Claude Opus 4.7
MedScribe (Vals AI)85.2%83.0%Claude Haiku 4.5
Vals Multimodal Index42.9%67.4%Claude Opus 4.7
IFBenchNot measured58.6%Only Claude Opus 4.7 measured
Long context reasoning (AA-LCR)Not measured78.7%Only Claude Opus 4.7 measured
DTBench73.6%94.7%Claude Opus 4.7
LMCA30.9%52.2%Claude Opus 4.7
Furniture assemblyNot measured33.3%Only Claude Opus 4.7 measured
ExploitBench13.7%26.5%Claude Opus 4.7
LMArena Text13971490Claude Opus 4.7
LMArena Text: instruction following14141498Claude Opus 4.7
LMArena Text: creative writing13711486Claude Opus 4.7
LMArena VisionNot measured1317Only Claude Opus 4.7 measured
LMArena Text: English14141496Claude Opus 4.7
LMArena Text: non-English13771480Claude Opus 4.7
LMArena Text: Chinese14181531Claude Opus 4.7
LMArena Text: German13741495Claude Opus 4.7
LMArena Text: Japanese13381474Claude Opus 4.7
LMArena Text: Korean13461464Claude Opus 4.7
LMArena Text: French14111503Claude Opus 4.7
LMArena Text: Spanish14211494Claude Opus 4.7
LMArena Text: Russian13811494Claude Opus 4.7
LMArena Text: Polish13431489Claude Opus 4.7
LMArena Text: multi-turn14091505Claude Opus 4.7
LMArena Text: longer queries14271505Claude Opus 4.7
LMArena Text: writing and language13861492Claude Opus 4.7
LMArena Text: entertainment and media13691474Claude Opus 4.7
LMArena Vision: EnglishNot measured1322Only Claude Opus 4.7 measured
LMArena Vision: ChineseNot measured1371Only Claude Opus 4.7 measured
LMArena Vision: reading textNot measured1327Only Claude Opus 4.7 measured
LMArena Vision: humorNot measured1309Only Claude Opus 4.7 measured
LMArena Vision: recognizing thingsNot measured1278Only Claude Opus 4.7 measured
LMArena Vision: creative writingNot measured1326Only Claude Opus 4.7 measured
LMArena Document14201495Claude Opus 4.7
Neither model has a result on the other 10 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 Claude Opus 4.7
BenchmarkClaude Haiku 4.5Claude Opus 4.7Leader
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
Claude Opus 4.7$0.018Fits 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
Claude Opus 4.7$0.325Fits 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
Claude Opus 4.7$1.25Fits 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 Claude Opus 4.7
SpecificationAnthropic Claude Haiku 4.5Anthropic Claude Opus 4.7
MakerAnthropicAnthropic
WeightsNo public weights listedNo public weights listed
ReleasedOctober 15, 2025April 16, 2026
Context window200K1M
Input $/Mtok$1.00$5.00
Output $/Mtok$5.00$25.00
Coding index49.851.1
Independent measurements behind it31
Cost per solved task$0.56$2.95
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Haiku 4.5 better than Claude Opus 4.7 for coding?

Claude Haiku 4.5 and Claude Opus 4.7 are level for coding, 49.8 against 51.1 on the Vibe Coding Index, so price and context decide. Pick Claude Haiku 4.5 when output tokens cost 5.0x less, or when a solved task costs $0.56 against $2.95. Pick Claude Opus 4.7 when the context window is larger, 1M against 200K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

Which is cheaper, Claude Haiku 4.5 or Claude Opus 4.7?

Claude Haiku 4.5 costs $1.00 per million input tokens and $5.00 per million output tokens; Claude Opus 4.7 costs $5.00 and $25.00. Per solved SWE-bench Verified task, Claude Haiku 4.5 costs $0.56 and Claude Opus 4.7 $2.95.

Which has the bigger context window, Claude Haiku 4.5 or Claude Opus 4.7?

Claude Opus 4.7, with 1M tokens against 200K.

How many benchmarks is the Claude Haiku 4.5 vs Claude Opus 4.7 comparison based on?

71 benchmarks have a result for both models as of October 21, 2026. Claude Haiku 4.5's coding index rests on 3 independent benchmarks and Claude Opus 4.7's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next