LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Sonnet 4.5 vs o4 Mini

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

Claude Sonnet 4.5Anthropic
Coding
59.1
Overall
20.7
Output $/M
$15.00
55
o4 MiniOpenAI
Coding
68.6
Overall
16.7
Output $/M
$4.40
13
vs boards won of 68 shared

Decision reading

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 59.1 for Claude Sonnet 4.5.

Pick Claude Sonnet 4.5 when the context window is larger, 1M against 200K tokens, or when what matters is SWE-bench Verified or GSO-Bench, where it leads.

Shared results
68
Claude Sonnet 4.5 only
24
o4 Mini only
26
Like-for-like categories
8 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 Sonnet 4.5 59.1 from 2 benchmarks, o4 Mini 68.6 from 2 benchmarks.
Widest category
Web design, 25.9 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: 3D: Claude Sonnet 4.5 1158 against o4 Mini 854, 38.0 points apart on a 0 to 100 scale.
Output price
Claude Sonnet 4.5 $15.00 against o4 Mini $4.40 per million output tokens, 3.4x apart.
Context window
Claude Sonnet 4.5 takes 1M tokens, o4 Mini 200K.

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 Sonnet 4.5Barso4 MiniTies
Coding42
Intelligence20
Agentic work10
Reasoning93
Math44
Knowledge93
Web design60
General201
All shared boards5513
CodingLike-for-likeFour of these boards feed the Vibe Coding Index42
Coding benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench Verified74.8%64.6%Claude Sonnet 4.5
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
SWE-bench Multilingual67.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev1394Not measuredOnly Claude Sonnet 4.5 measured
AA Coding Index52.1Not measuredOnly Claude Sonnet 4.5 measured
LiveCodeBench (Vals AI)73.0%82.2%o4 Mini
SWE-bench Verified (Vals AI)70.0%Not measuredOnly Claude Sonnet 4.5 measured
Vibe Code Bench (Vals AI)22.6%Not measuredOnly Claude Sonnet 4.5 measured
LiveCodeBench (Artificial Analysis run)Not measured85.9%Only o4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured15.2%Only o4 Mini measured
Terminal-Bench46.5%Not measuredOnly Claude Sonnet 4.5 measured
GSO-Bench14.7%3.6%Claude Sonnet 4.5
WeirdML47.7%52.6%o4 Mini
Cybench60.0%Not measuredOnly Claude Sonnet 4.5 measured
LMArena Text: coding14881368Claude Sonnet 4.5
LMArena Text: software and IT14731367Claude Sonnet 4.5
LMArena WebDev: React1386Not measuredOnly Claude Sonnet 4.5 measured
LMArena WebDev: HTML1399Not measuredOnly Claude Sonnet 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 Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
AA Intelligence Index20.716.7Claude Sonnet 4.5
Epoch Capabilities Index146.7145.5Claude Sonnet 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
AA Agentic Index15.8Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building web apps1060Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building full-stack apps1050Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: agents building mobile apps1137Not measuredOnly Claude Sonnet 4.5 measured
τ²-Bench TelecomNot measured55.6%Only o4 Mini measured
METR time horizons67.4%63.9%Claude Sonnet 4.5
Remote Labor Index2.1%Not measuredOnly Claude Sonnet 4.5 measured
GDPval42.5%Not measuredOnly Claude Sonnet 4.5 measured
DeepResearch Bench52.6%Not measuredOnly Claude Sonnet 4.5 measured
OSWorld62.9%Not measuredOnly Claude Sonnet 4.5 measured
Vending-Bench 2$3,839Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index93
Reasoning benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
GPQA Diamond81.6%74.5%Claude Sonnet 4.5
MMMU Pro (Vals AI)79.3%79.7%o4 Mini
GPQA Diamond (Artificial Analysis run)Not measured78.4%Only o4 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured16.5%Only o4 Mini measured
GPQA Diamond (Epoch AI run)82.3%79.6%Claude Sonnet 4.5
ARC-AGI63.7%58.7%Claude Sonnet 4.5
ARC-AGI-213.6%6.1%Claude Sonnet 4.5
SimpleBench54.3%38.7%Claude Sonnet 4.5
Chess puzzles10.0%22.0%o4 Mini
Mystery game puzzles17.0%5.0%Claude Sonnet 4.5
EBR-bench2.4%Not measuredOnly Claude Sonnet 4.5 measured
VPCT39.8%57.5%o4 Mini
LMArena Text: hard prompts14621351Claude Sonnet 4.5
LMArena Text: expert14831343Claude Sonnet 4.5
LMArena Text: hard prompts in English14711366Claude Sonnet 4.5
LMArena Vision: diagramsNot measured1197Only o4 Mini measured
LMArena Vision: homeworkNot measured1234Only o4 Mini measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index44
Math benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
AIME88.2%83.7%Claude Sonnet 4.5
MATH 500 (Vals AI)Not measured94.2%Only o4 Mini measured
MGSM (Vals AI)94.3%93.4%Claude Sonnet 4.5
AA Math IndexNot measured90.7Only o4 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only o4 Mini measured
OTIS Mock AIME77.8%81.7%o4 Mini
FrontierMath, tiers 1 to 323.9%36.1%o4 Mini
FrontierMath, tier 42.4%4.9%o4 Mini
ProofBench19.0%Not measuredOnly Claude Sonnet 4.5 measured
MATH level 597.7%97.8%o4 Mini
LMArena Text: math14491389Claude Sonnet 4.5
LMArena Text: mathematical work14621379Claude Sonnet 4.5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index93
Knowledge benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
MMLU Pro87.4%80.6%Claude Sonnet 4.5
LegalBench (Vals AI)84.1%79.2%Claude Sonnet 4.5
CaseLaw (Vals AI)62.2%Not measuredOnly Claude Sonnet 4.5 measured
CorpFin (Vals AI)62.0%59.0%Claude Sonnet 4.5
TaxEval (Vals AI)73.3%74.8%o4 Mini
MortgageTax (Vals AI)64.0%64.8%o4 Mini
MedQA (Vals AI)94.7%96.0%o4 Mini
MedCode (Vals AI)44.1%33.8%Claude Sonnet 4.5
MMLU Pro (Artificial Analysis run)Not measured83.2%Only o4 Mini measured
SimpleQA Verified30.7%19.6%Claude Sonnet 4.5
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science14481354Claude Sonnet 4.5
LMArena Text: medicine and healthcare14441361Claude Sonnet 4.5
LMArena Text: legal and government14511350Claude Sonnet 4.5
LMArena Text: business and finance14401325Claude Sonnet 4.5
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 Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
Design Arena: websites1190985Claude Sonnet 4.5
Design Arena: UI components1173983Claude Sonnet 4.5
Design Arena: game dev11661004Claude Sonnet 4.5
Design Arena: data viz1167990Claude Sonnet 4.5
Design Arena: 3D1158854Claude Sonnet 4.5
Design Arena: all code categories1183977Claude Sonnet 4.5
Design Arena: SVG1114Not measuredOnly Claude Sonnet 4.5 measured
Design Arena: ASCII art1204Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index201
General benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 MiniLeader
SAGE (Vals AI)36.1%41.1%o4 Mini
MedScribe (Vals AI)84.5%69.1%Claude Sonnet 4.5
IFBenchNot measured68.7%Only o4 Mini measured
Long context reasoning (AA-LCR)Not measured61.0%Only o4 Mini measured
DTBench83.2%77.6%Claude Sonnet 4.5
LMCA38.8%26.5%Claude Sonnet 4.5
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)Not measured75.0%Only o4 Mini measured
LMArena Text14381353Claude Sonnet 4.5
LMArena Text: instruction following14591320Claude Sonnet 4.5
LMArena Text: creative writing14421294Claude Sonnet 4.5
LMArena VisionNot measured1194Only o4 Mini measured
LMArena Text: English14501367Claude Sonnet 4.5
LMArena Text: non-English14251337Claude Sonnet 4.5
LMArena Text: Chinese14601354Claude Sonnet 4.5
LMArena Text: German14271336Claude Sonnet 4.5
LMArena Text: Japanese13901308Claude Sonnet 4.5
LMArena Text: Korean14021312Claude Sonnet 4.5
LMArena Text: French14591364Claude Sonnet 4.5
LMArena Text: Spanish14581346Claude Sonnet 4.5
LMArena Text: Russian14371334Claude Sonnet 4.5
LMArena Text: Polish14231358Claude Sonnet 4.5
LMArena Text: multi-turn14651350Claude Sonnet 4.5
LMArena Text: longer queries14751315Claude Sonnet 4.5
LMArena Text: writing and language14421316Claude Sonnet 4.5
LMArena Text: entertainment and media14281308Claude Sonnet 4.5
LMArena Vision: EnglishNot measured1200Only o4 Mini measured
LMArena Vision: ChineseNot measured1218Only o4 Mini measured
LMArena Vision: reading textNot measured1197Only o4 Mini measured
LMArena Vision: humorNot measured1199Only o4 Mini measured
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writingNot measured1166Only o4 Mini measured
LMArena Document1450Not measuredOnly Claude Sonnet 4.5 measured
Neither model has a result on the other 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Claude Sonnet 4.5 and o4 Mini
BenchmarkClaude Sonnet 4.5o4 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 Sonnet 4.5$0.011Fits in one request
o4 Mini$0.0033Fits in one request

o4 Mini costs less

Repository review

50K input + 3K output tokens

Claude Sonnet 4.5$0.195Fits in one request
o4 Mini$0.068Fits in one request

o4 Mini costs less

Agent loop

200K input + 10K output tokens

Claude Sonnet 4.5$0.750Fits in one request
o4 Mini$0.264Exceeds the context window

o4 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 Sonnet 4.5 and o4 Mini
SpecificationAnthropic Claude Sonnet 4.5OpenAI o4 Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedSeptember 29, 2025April 16, 2025
Context window1M200K
Input $/Mtok$3.00$1.10
Output $/Mtok$15.00$4.40
Coding index59.168.6
Independent measurements behind it22
Cost per solved task$1.16Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Sonnet 4.5 better than o4 Mini for coding?

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 59.1 for Claude Sonnet 4.5. Pick Claude Sonnet 4.5 when the context window is larger, 1M against 200K tokens, or when what matters is SWE-bench Verified or GSO-Bench, where it leads.

Which is cheaper, Claude Sonnet 4.5 or o4 Mini?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for Claude Sonnet 4.5 only.

Which has the bigger context window, Claude Sonnet 4.5 or o4 Mini?

Claude Sonnet 4.5, with 1M tokens against 200K.

How many benchmarks is the Claude Sonnet 4.5 vs o4 Mini comparison based on?

68 benchmarks have a result for both models as of October 21, 2026. Claude Sonnet 4.5's coding index rests on 2 independent benchmarks and o4 Mini's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/claude-sonnet-4-5-vs-o4-mini" title="Claude Sonnet 4.5 vs o4 Mini, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/claude-sonnet-4-5-vs-o4-mini">LLMBenchmark.ai, Claude Sonnet 4.5 vs o4 Mini</a></p>