Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-4.1 Mini

Claude Opus 4.7 leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 40.7 to 10.2, and GPT-4.1 Mini costs 15.6x less per output token ($1.60 vs $25.00 per million). Updated October 22, 2026; 67 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
67
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
0
vs boards won of 67 shared

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

Only Claude Opus 4.7 has a coding score, 67.5 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 15.6x cheaper ($1.60 vs $25.00 per million) and a lower cost per solved task ($1.818 against $2.95).

Shared results
67
Claude Opus 4.7 only
36
GPT-4.1 Mini only
19
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-4.1 Mini not benchmarked.
Widest category
Math, 43.3 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: Claude Opus 4.7 93.5% against GPT-4.1 Mini 3.5%, 90.0 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-4.1 Mini $1.60 per million output tokens, 15.6x apart.
Context window
Claude Opus 4.7 takes 1M 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 Opus 4.7BarsGPT-4.1 MiniTies
Coding60
Intelligence20
Agentic work10
Reasoning150
Math50
Knowledge100
General280
All shared boards670
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench VerifiedNot measured23.9%Only GPT-4.1 Mini measured
LMArena WebDev1558Not measuredOnly Claude Opus 4.7 measured
AA Coding Index73.620.2Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%58.2%Claude Opus 4.7
SWE-bench Verified (Vals AI)82.0%Not measuredOnly Claude Opus 4.7 measured
Vibe Code Bench (Vals AI)71.0%Not measuredOnly Claude Opus 4.7 measured
Code migration (Vals AI)43.9%Not measuredOnly Claude Opus 4.7 measured
ProgramBench (Vals AI)0.0%Not measuredOnly Claude Opus 4.7 measured
Terminal-Bench 2.1 (Vals AI)68.5%Not measuredOnly Claude Opus 4.7 measured
LiveCodeBench (Artificial Analysis run)Not measured48.3%Only GPT-4.1 Mini measured
Terminal-Bench Hard (Artificial Analysis run)54.5%7.6%Claude Opus 4.7
Terminal-Bench80.2%Not measuredOnly Claude Opus 4.7 measured
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%37.6%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191367Claude Opus 4.7
LMArena Text: software and IT15161360Claude Opus 4.7
LMArena WebDev: React1560Not measuredOnly Claude Opus 4.7 measured
LMArena WebDev: HTML1554Not measuredOnly Claude Opus 4.7 measured
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-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
AA Intelligence Index40.710.2Claude Opus 4.7
Epoch Capabilities Index156.8134.9Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
AA Agentic Index38.6Not measuredOnly Claude Opus 4.7 measured
Finance Agent (Vals AI)51.5%Not measuredOnly Claude Opus 4.7 measured
Tax Agent Bench (Vals AI)23.7%Not measuredOnly Claude Opus 4.7 measured
Legal Research Bench (Vals AI)38.5%Not measuredOnly Claude Opus 4.7 measured
Excel Modeling Benchmark (Vals AI)63.7%Not measuredOnly Claude Opus 4.7 measured
τ²-Bench Telecom88.6%52.9%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
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
Berkeley Function Calling Leaderboard (BFCL)Not measured50.4%Only GPT-4.1 Mini 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-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
GPQA Diamond90.2%67.9%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%70.5%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%66.4%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%5.0%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%65.8%Claude Opus 4.7
ARC-AGI93.5%3.5%Claude Opus 4.7
ARC-AGI-275.8%0.0%Claude Opus 4.7
SimpleBench61.7%Not measuredOnly Claude Opus 4.7 measured
Chess puzzles41.0%1.0%Claude Opus 4.7
Mystery game puzzles28.0%7.0%Claude Opus 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061349Claude Opus 4.7
LMArena Text: expert15211338Claude Opus 4.7
LMArena Text: hard prompts in English15081362Claude Opus 4.7
LMArena Vision: diagrams13361182Claude Opus 4.7
LMArena Vision: homework13371214Claude Opus 4.7
Kagi LLM Benchmark80.7%48.6%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 index50
Math benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
AIME96.3%49.4%Claude Opus 4.7
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)Not measured87.8%Only GPT-4.1 Mini measured
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 AIME97.8%44.7%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%6.7%Claude Opus 4.7
FrontierMath, tier 431.7%Not measuredOnly Claude Opus 4.7 measured
ProofBench54.0%Not measuredOnly Claude Opus 4.7 measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: math14981343Claude Opus 4.7
LMArena Text: mathematical work15091347Claude Opus 4.7
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index100
Knowledge benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
MMLU Pro89.9%77.2%Claude Opus 4.7
LegalBench (Vals AI)85.3%78.0%Claude Opus 4.7
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%57.9%Claude Opus 4.7
TaxEval (Vals AI)75.3%71.9%Claude Opus 4.7
MortgageTax (Vals AI)70.3%65.5%Claude Opus 4.7
MedQA (Vals AI)Not measured84.6%Only GPT-4.1 Mini measured
MedCode (Vals AI)54.9%Not measuredOnly Claude Opus 4.7 measured
MMLU Pro (Artificial Analysis run)Not measured78.1%Only GPT-4.1 Mini measured
SimpleQA Verified51.7%12.7%Claude Opus 4.7
LMArena Text: science15081328Claude Opus 4.7
LMArena Text: medicine and healthcare14951324Claude Opus 4.7
LMArena Text: legal and government15041343Claude Opus 4.7
LMArena Text: business and finance14901322Claude Opus 4.7
FACTS Benchmark Suite45.5%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 3 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
Design Arena: websitesNot measured997Only GPT-4.1 Mini measured
Design Arena: UI componentsNot measured958Only GPT-4.1 Mini measured
Design Arena: game devNot measured1070Only GPT-4.1 Mini measured
Design Arena: data vizNot measured1034Only GPT-4.1 Mini measured
Design Arena: 3DNot measured836Only GPT-4.1 Mini measured
Design Arena: all code categoriesNot measured993Only GPT-4.1 Mini measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index280
General benchmarks for Claude Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-4.1 MiniLeader
SAGE (Vals AI)56.1%Not measuredOnly Claude Opus 4.7 measured
MedScribe (Vals AI)83.0%Not measuredOnly Claude Opus 4.7 measured
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%38.3%Claude Opus 4.7
Long context reasoning (AA-LCR)78.7%44.0%Claude Opus 4.7
DTBench94.7%68.8%Claude Opus 4.7
LMCA52.2%21.1%Claude Opus 4.7
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901341Claude Opus 4.7
LMArena Text: instruction following14981333Claude Opus 4.7
LMArena Text: creative writing14861299Claude Opus 4.7
LMArena Vision13171181Claude Opus 4.7
LMArena Text: English14961356Claude Opus 4.7
LMArena Text: non-English14801318Claude Opus 4.7
LMArena Text: Chinese15311329Claude Opus 4.7
LMArena Text: German14951350Claude Opus 4.7
LMArena Text: Japanese14741290Claude Opus 4.7
LMArena Text: Korean14641298Claude Opus 4.7
LMArena Text: French15031358Claude Opus 4.7
LMArena Text: Spanish14941319Claude Opus 4.7
LMArena Text: Russian14941324Claude Opus 4.7
LMArena Text: Polish14891326Claude Opus 4.7
LMArena Text: multi-turn15051354Claude Opus 4.7
LMArena Text: longer queries15051344Claude Opus 4.7
LMArena Text: writing and language14921319Claude Opus 4.7
LMArena Text: entertainment and media14741300Claude Opus 4.7
LMArena Vision: English13221191Claude Opus 4.7
LMArena Vision: Chinese13711186Claude Opus 4.7
LMArena Vision: reading text13271188Claude Opus 4.7
LMArena Vision: humor13091182Claude Opus 4.7
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing things12781187Claude Opus 4.7
LMArena Vision: creative writing13261182Claude Opus 4.7
LMArena Document1495Not measuredOnly Claude Opus 4.7 measured
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 Opus 4.7 and GPT-4.1 Mini
BenchmarkClaude Opus 4.7GPT-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 Opus 4.7$0.018Fits 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 Opus 4.7$0.325Fits 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 Opus 4.7$1.25Fits in one request
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 Opus 4.7 and GPT-4.1 Mini
SpecificationAnthropic Claude Opus 4.7OpenAI GPT-4.1 Mini
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 16, 2026April 14, 2025
Context window1M1.05M
Input $/Mtok$5.00$0.40
Output $/Mtok$25.00$1.60
Coding index67.5Not benchmarked
Independent measurements behind it40
Cost per solved task$2.95$1.818
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Claude Opus 4.7 has a coding score, 67.5 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 15.6x cheaper ($1.60 vs $25.00 per million) and a lower cost per solved task ($1.818 against $2.95).

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

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-4.1 Mini $1.818.

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

GPT-4.1 Mini, with 1.05M tokens against 1M.

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

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

Compare next