Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-4.1

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

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
66
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
2
vs boards won of 68 shared

Claude Opus 4.7 or GPT-4.1: which to pick

Only Claude Opus 4.7 has a coding score, 67.5 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for output tokens 3.1x cheaper ($8.00 vs $25.00 per million) and a lower cost per solved task ($0.37 against $2.95).

Shared results
68
Claude Opus 4.7 only
35
GPT-4.1 only
24
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 not benchmarked.
Widest category
Math, 45.4 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: Claude Opus 4.7 93.5% against GPT-4.1 5.5%, 88.0 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-4.1 $8.00 per million output tokens, 3.1x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-4.1 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.1Ties
Coding50
Intelligence20
Agentic work10
Reasoning150
Math50
Knowledge102
General280
All shared boards662
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Claude Opus 4.7 and GPT-4.1
BenchmarkClaude Opus 4.7GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench VerifiedNot measured39.6%Only GPT-4.1 measured
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LMArena WebDev1558Not measuredOnly Claude Opus 4.7 measured
AA Coding Index73.6Not measuredOnly Claude Opus 4.7 measured
LiveCodeBench (Vals AI)85.1%54.7%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 measured45.7%Only GPT-4.1 measured
Terminal-Bench Hard (Artificial Analysis run)54.5%13.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%39.0%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
ALE-BenchNot measured558.1Only GPT-4.1 measured
LMArena Text: coding15191390Claude Opus 4.7
LMArena Text: software and IT15161391Claude 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
SciCodeNot measured4.6%Only GPT-4.1 measured
Neither model has a result on the other 14 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
AA Intelligence Index40.712.7Claude Opus 4.7
Epoch Capabilities Index156.8136.7Claude 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
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%47.1%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 measured54.0%Only GPT-4.1 measured
BrowseComp-PlusNot measured36.4%Only GPT-4.1 measured
Neither model has a result on the other 28 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
GPQA Diamond90.2%65.4%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%72.4%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%66.6%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%4.2%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%66.9%Claude Opus 4.7
ARC-AGI93.5%5.5%Claude Opus 4.7
ARC-AGI-275.8%0.4%Claude Opus 4.7
SimpleBench61.7%27.0%Claude Opus 4.7
Chess puzzles41.0%3.0%Claude Opus 4.7
Mystery game puzzles28.0%Not measuredOnly Claude Opus 4.7 measured
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: hard prompts15061384Claude Opus 4.7
LMArena Text: expert15211364Claude Opus 4.7
LMArena Text: hard prompts in English15081393Claude Opus 4.7
LMArena Vision: diagrams13361215Claude Opus 4.7
LMArena Vision: homework13371248Claude Opus 4.7
Kagi LLM Benchmark80.7%52.3%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
BenchmarkClaude Opus 4.7GPT-4.1Leader
AIME96.3%39.6%Claude Opus 4.7
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)Not measured87.7%Only GPT-4.1 measured
AA Math IndexNot measured34.7Only GPT-4.1 measured
AIME 2025 (Artificial Analysis run)Not measured34.7%Only GPT-4.1 measured
OTIS Mock AIME97.8%38.3%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%6.0%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 measured83.0%Only GPT-4.1 measured
LMArena Text: math14981369Claude Opus 4.7
LMArena Text: mathematical work15091360Claude 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 index102
Knowledge benchmarks for Claude Opus 4.7 and GPT-4.1
BenchmarkClaude Opus 4.7GPT-4.1Leader
MMLU Pro89.9%80.5%Claude Opus 4.7
LegalBench (Vals AI)85.3%83.1%Claude Opus 4.7
CaseLaw (Vals AI)68.4%69.9%GPT-4.1
CorpFin (Vals AI)66.1%63.0%Claude Opus 4.7
TaxEval (Vals AI)75.3%75.1%Claude Opus 4.7
MortgageTax (Vals AI)70.3%65.9%Claude Opus 4.7
MedQA (Vals AI)Not measured91.2%Only GPT-4.1 measured
MedCode (Vals AI)54.9%Not measuredOnly Claude Opus 4.7 measured
MMLU Pro (Artificial Analysis run)Not measured80.6%Only GPT-4.1 measured
SimpleQA Verified51.7%31.1%Claude Opus 4.7
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science15081382Claude Opus 4.7
LMArena Text: medicine and healthcare14951379Claude Opus 4.7
LMArena Text: legal and government15041399Claude Opus 4.7
LMArena Text: business and finance14901369Claude Opus 4.7
FACTS Benchmark Suite45.5%45.8%GPT-4.1
Neither model has a result on the other 2 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
Design Arena: websitesNot measured1038Only GPT-4.1 measured
Design Arena: UI componentsNot measured997Only GPT-4.1 measured
Design Arena: game devNot measured1079Only GPT-4.1 measured
Design Arena: data vizNot measured1104Only GPT-4.1 measured
Design Arena: 3DNot measured849Only GPT-4.1 measured
Design Arena: all code categoriesNot measured1025Only GPT-4.1 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
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%43.0%Claude Opus 4.7
Long context reasoning (AA-LCR)78.7%68.3%Claude Opus 4.7
DTBench94.7%68.3%Claude Opus 4.7
LMCA52.2%25.6%Claude Opus 4.7
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901383Claude Opus 4.7
LMArena Text: instruction following14981367Claude Opus 4.7
LMArena Text: creative writing14861363Claude Opus 4.7
LMArena Vision13171210Claude Opus 4.7
LMArena Text: English14961392Claude Opus 4.7
LMArena Text: non-English14801370Claude Opus 4.7
LMArena Text: Chinese15311382Claude Opus 4.7
LMArena Text: German14951381Claude Opus 4.7
LMArena Text: Japanese14741319Claude Opus 4.7
LMArena Text: Korean14641338Claude Opus 4.7
LMArena Text: French15031382Claude Opus 4.7
LMArena Text: Spanish14941376Claude Opus 4.7
LMArena Text: Russian14941377Claude Opus 4.7
LMArena Text: Polish14891389Claude Opus 4.7
LMArena Text: multi-turn15051397Claude Opus 4.7
LMArena Text: longer queries15051385Claude Opus 4.7
LMArena Text: writing and language14921371Claude Opus 4.7
LMArena Text: entertainment and media14741365Claude Opus 4.7
LMArena Vision: English13221209Claude Opus 4.7
LMArena Vision: Chinese13711226Claude Opus 4.7
LMArena Vision: reading text13271218Claude Opus 4.7
LMArena Vision: humor13091196Claude Opus 4.7
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing things12781208Claude Opus 4.7
LMArena Vision: creative writing13261210Claude 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
BenchmarkClaude Opus 4.7GPT-4.1Leader
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$0.0060Fits in one request

GPT-4.1 costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.7$0.325Fits in one request
GPT-4.1$0.124Fits in one request

GPT-4.1 costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.7$1.25Fits in one request
GPT-4.1$0.480Fits in one request

GPT-4.1 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
SpecificationAnthropic Claude Opus 4.7OpenAI GPT-4.1
MakerAnthropicOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 16, 2026April 14, 2025
Context window1M1.05M
Input $/Mtok$5.00$2.00
Output $/Mtok$25.00$8.00
Coding index67.5Not benchmarked
Independent measurements behind it40
Cost per solved task$2.95$0.37
SourceOpenRouter listingOpenRouter listing

Questions

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

Only Claude Opus 4.7 has a coding score, 67.5 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for output tokens 3.1x cheaper ($8.00 vs $25.00 per million) and a lower cost per solved task ($0.37 against $2.95).

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

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-4.1 costs $2.00 and $8.00. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-4.1 $0.37.

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

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

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

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

Compare next