Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-5.4 Mini

Claude Opus 4.7 leads GPT-5.4 Mini on coding, 67.5 to 35.8 on the Vibe Coding Index, and GPT-5.4 Mini costs 5.6x less per output token ($4.50 vs $25.00 per million). Updated October 22, 2026; 85 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
83
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
1
vs boards won of 85 shared, 1 tied

Claude Opus 4.7 or GPT-5.4 Mini: which to pick

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5.

Pick GPT-5.4 Mini for output tokens 5.6x cheaper ($4.50 vs $25.00 per million) and a lower cost per solved task ($0.70 against $2.95).

Shared results
85
Claude Opus 4.7 only
18
GPT-5.4 Mini only
4
Like-for-like categories
7 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 Opus 4.7 67.5 from 4 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
Widest category
Reasoning, 17.5 points apart on average over 15 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Opus 4.7 75.8% against GPT-5.4 Mini 18.9%, 56.9 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-5.4 Mini $4.50 per million output tokens, 5.6x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-5.4 Mini 400K.

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 Opus 4.7BarsGPT-5.4 MiniTies
Coding1401 tie
Intelligence20
Agentic work60
Reasoning150
Math70
Knowledge100
General291
All shared boards8311 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index140
Coding benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
LMArena WebDev15581397Claude Opus 4.7
AA Coding Index73.656.1Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%81.5%Claude Opus 4.7
SWE-bench Verified (Vals AI)82.0%73.0%Claude Opus 4.7
Terminal-Bench 4 (Vals AI)Not measured2.5%Only GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)71.0%48.0%Claude Opus 4.7
Code migration (Vals AI)43.9%12.9%Claude Opus 4.7
ProgramBench (Vals AI)0.0%0.0%Tie
Terminal-Bench 2.1 (Vals AI)68.5%54.7%Claude Opus 4.7
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)54.5%52.3%Claude Opus 4.7
Terminal-Bench80.2%Not measuredOnly Claude Opus 4.7 measured
FrontierCode38.5%27.0%Claude Opus 4.7
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%60.3%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
ALE-BenchNot measured1188.6Only GPT-5.4 Mini measured
LMArena Text: coding15191438Claude Opus 4.7
LMArena Text: software and IT15161436Claude Opus 4.7
LMArena WebDev: React15601386Claude Opus 4.7
LMArena WebDev: HTML15541419Claude Opus 4.7
LMArena WebDev: from an image1577Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
AA Intelligence Index40.724.1Claude Opus 4.7
Epoch Capabilities Index156.8148.7Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index60
Agentic work benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
AA Agentic Index38.617.9Claude Opus 4.7
Finance Agent (Vals AI)51.5%45.4%Claude Opus 4.7
Tax Agent Bench (Vals AI)23.7%8.8%Claude Opus 4.7
Legal Research Bench (Vals AI)38.5%12.5%Claude Opus 4.7
Excel Modeling Benchmark (Vals AI)63.7%45.4%Claude Opus 4.7
τ²-Bench Telecom88.6%83.3%Claude Opus 4.7
APEX-Agents49.2%Not measuredOnly Claude Opus 4.7 measured
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
PostTrainBench28.6%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937Not measuredOnly Claude Opus 4.7 measured
LMArena Search1230Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index150
Reasoning benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
GPQA Diamond90.2%83.1%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%79.3%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%87.5%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%28.1%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%86.9%Claude Opus 4.7
ARC-AGI93.5%63.7%Claude Opus 4.7
ARC-AGI-275.8%18.9%Claude Opus 4.7
SimpleBench61.7%Not measuredOnly Claude Opus 4.7 measured
Chess puzzles41.0%23.0%Claude Opus 4.7
Mystery game puzzles28.0%11.0%Claude Opus 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061424Claude Opus 4.7
LMArena Text: expert15211435Claude Opus 4.7
LMArena Text: hard prompts in English15081420Claude Opus 4.7
LMArena Vision: diagrams13361266Claude Opus 4.7
LMArena Vision: homework13371285Claude Opus 4.7
Kagi LLM Benchmark80.7%37.9%Claude Opus 4.7
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index70
Math benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
AIME96.3%95.6%Claude Opus 4.7
OTIS Mock AIME97.8%88.9%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%51.2%Claude Opus 4.7
FrontierMath, tier 431.7%9.8%Claude Opus 4.7
ProofBench54.0%21.0%Claude Opus 4.7
LMArena Text: math14981418Claude Opus 4.7
LMArena Text: mathematical work15091429Claude Opus 4.7
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
Knowledge benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
MMLU Pro89.9%84.5%Claude Opus 4.7
LegalBench (Vals AI)85.3%Not measuredOnly Claude Opus 4.7 measured
CaseLaw (Vals AI)68.4%51.7%Claude Opus 4.7
CorpFin (Vals AI)66.1%60.9%Claude Opus 4.7
TaxEval (Vals AI)75.3%71.2%Claude Opus 4.7
MortgageTax (Vals AI)70.3%63.5%Claude Opus 4.7
MedCode (Vals AI)54.9%Not measuredOnly Claude Opus 4.7 measured
SimpleQA Verified51.7%29.4%Claude Opus 4.7
LMArena Text: science15081417Claude Opus 4.7
LMArena Text: medicine and healthcare14951395Claude Opus 4.7
LMArena Text: legal and government15041414Claude Opus 4.7
LMArena Text: business and finance14901418Claude Opus 4.7
FACTS Benchmark Suite45.5%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 5 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index291
General benchmarks for Claude Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 MiniLeader
SAGE (Vals AI)56.1%50.8%Claude Opus 4.7
MedScribe (Vals AI)83.0%Not measuredOnly Claude Opus 4.7 measured
Vals Multimodal Index67.4%54.2%Claude Opus 4.7
IFBench58.6%73.3%GPT-5.4 Mini
Long context reasoning (AA-LCR)78.7%77.0%Claude Opus 4.7
DTBench94.7%80.0%Claude Opus 4.7
LMCA52.2%40.8%Claude Opus 4.7
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901412Claude Opus 4.7
LMArena Text: instruction following14981405Claude Opus 4.7
LMArena Text: creative writing14861370Claude Opus 4.7
LMArena Vision13171245Claude Opus 4.7
LMArena Text: English14961412Claude Opus 4.7
LMArena Text: non-English14801405Claude Opus 4.7
LMArena Text: Chinese15311446Claude Opus 4.7
LMArena Text: German14951408Claude Opus 4.7
LMArena Text: Japanese14741375Claude Opus 4.7
LMArena Text: Korean14641370Claude Opus 4.7
LMArena Text: French15031441Claude Opus 4.7
LMArena Text: Spanish14941405Claude Opus 4.7
LMArena Text: Russian14941417Claude Opus 4.7
LMArena Text: Polish14891415Claude Opus 4.7
LMArena Text: multi-turn15051429Claude Opus 4.7
LMArena Text: longer queries15051408Claude Opus 4.7
LMArena Text: writing and language14921393Claude Opus 4.7
LMArena Text: entertainment and media14741373Claude Opus 4.7
LMArena Vision: English13221244Claude Opus 4.7
LMArena Vision: Chinese13711286Claude Opus 4.7
LMArena Vision: reading text13271253Claude Opus 4.7
LMArena Vision: humor13091235Claude Opus 4.7
LMArena Vision: recognizing things12781218Claude Opus 4.7
LMArena Vision: creative writing13261222Claude Opus 4.7
LMArena Document1495Not measuredOnly Claude Opus 4.7 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 Opus 4.7 and GPT-5.4 Mini
BenchmarkClaude Opus 4.7GPT-5.4 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 Opus 4.7$0.018Fits in one request
GPT-5.4 Mini$0.0030Fits in one request

GPT-5.4 Mini costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.7$0.325Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GPT-5.4 Mini costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.7$1.25Fits in one request
GPT-5.4 Mini$0.195Fits in one request

GPT-5.4 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 Opus 4.7 and GPT-5.4 Mini
SpecificationAnthropic Claude Opus 4.7OpenAI GPT-5.4 Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 16, 2026March 17, 2026
Context window1M400K
Input $/Mtok$5.00$0.75
Output $/Mtok$25.00$4.50
Coding index67.535.8
Independent measurements behind it45
Cost per solved task$2.95$0.70
SourceOpenRouter listingOpenRouter listing

Questions

Is Claude Opus 4.7 better than GPT-5.4 Mini for coding?

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 4 benchmarks against 5. Pick GPT-5.4 Mini for output tokens 5.6x cheaper ($4.50 vs $25.00 per million) and a lower cost per solved task ($0.70 against $2.95).

Which is cheaper, Claude Opus 4.7 or GPT-5.4 Mini?

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-5.4 Mini $0.70.

Which has the bigger context window, Claude Opus 4.7 or GPT-5.4 Mini?

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

How many benchmarks is the Claude Opus 4.7 vs GPT-5.4 Mini comparison based on?

85 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.7's coding index rests on 4 independent benchmarks and GPT-5.4 Mini's on 5. 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-opus-4-7-vs-gpt-5-4-mini" title="Claude Opus 4.7 vs GPT-5.4 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-opus-4-7-vs-gpt-5-4-mini">LLMBenchmark.ai, Claude Opus 4.7 vs GPT-5.4 Mini</a></p>