Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-4.1 Nano

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

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
54
GPT-4.1 NanoOpenAI
Coding
No data
Overall
24.7
Output $/M
$0.40
0
vs boards won of 54 shared

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

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

Pick GPT-4.1 Nano for output tokens 62.5x cheaper ($0.40 vs $25.00 per million) and a larger context window (1.05M against 1M tokens).

Shared results
54
Claude Opus 4.7 only
49
GPT-4.1 Nano only
17
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 Nano not benchmarked.
Widest category
Agentic work, 71.3 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: Claude Opus 4.7 93.5% against GPT-4.1 Nano 0.0%, 93.5 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-4.1 Nano $0.40 per million output tokens, 62.5x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-4.1 Nano 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 NanoTies
Coding60
Intelligence20
Agentic work10
Reasoning120
Math40
Knowledge100
General190
All shared boards540
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for Claude Opus 4.7 and GPT-4.1 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
Aider polyglotNot measured8.9%Only GPT-4.1 Nano measured
LMArena WebDev1558Not measuredOnly Claude Opus 4.7 measured
AA Coding Index73.611.1Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%42.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 measured32.6%Only GPT-4.1 Nano measured
Terminal-Bench Hard (Artificial Analysis run)54.5%3.8%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%19.0%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191306Claude Opus 4.7
LMArena Text: software and IT15161305Claude 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 18 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 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
AA Intelligence Index40.77.8Claude Opus 4.7
Epoch Capabilities Index156.8129.5Claude 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 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
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%17.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
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 measured33.1%Only GPT-4.1 Nano measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index120
Reasoning benchmarks for Claude Opus 4.7 and GPT-4.1 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
GPQA Diamond90.2%50.8%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%55.0%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%51.2%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%3.8%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%48.9%Claude Opus 4.7
ARC-AGI93.5%0.0%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%0.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 prompts15061286Claude Opus 4.7
LMArena Text: expert15211271Claude Opus 4.7
LMArena Text: hard prompts in English15081293Claude Opus 4.7
LMArena Vision: diagrams1336Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: homework1337Not measuredOnly Claude Opus 4.7 measured
Kagi LLM Benchmark80.7%33.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 index40
Math benchmarks for Claude Opus 4.7 and GPT-4.1 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
AIME96.3%26.5%Claude Opus 4.7
MATH 500 (Vals AI)Not measured80.2%Only GPT-4.1 Nano measured
MGSM (Vals AI)Not measured69.3%Only GPT-4.1 Nano measured
AA Math IndexNot measured24.0Only GPT-4.1 Nano measured
AIME 2025 (Artificial Analysis run)Not measured24.0%Only GPT-4.1 Nano measured
OTIS Mock AIME97.8%28.9%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%Not measuredOnly Claude Opus 4.7 measured
FrontierMath, tier 431.7%Not measuredOnly Claude Opus 4.7 measured
ProofBench54.0%Not measuredOnly Claude Opus 4.7 measured
MATH level 5Not measured70.0%Only GPT-4.1 Nano measured
LMArena Text: math14981274Claude Opus 4.7
LMArena Text: mathematical work15091274Claude 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 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
MMLU Pro89.9%63.5%Claude Opus 4.7
LegalBench (Vals AI)85.3%61.1%Claude Opus 4.7
CaseLaw (Vals AI)68.4%Not measuredOnly Claude Opus 4.7 measured
CorpFin (Vals AI)66.1%42.1%Claude Opus 4.7
TaxEval (Vals AI)75.3%60.8%Claude Opus 4.7
MortgageTax (Vals AI)70.3%52.8%Claude Opus 4.7
MedQA (Vals AI)Not measured68.2%Only GPT-4.1 Nano measured
MedCode (Vals AI)54.9%Not measuredOnly Claude Opus 4.7 measured
MMLU Pro (Artificial Analysis run)Not measured65.7%Only GPT-4.1 Nano measured
SimpleQA Verified51.7%6.0%Claude Opus 4.7
LMArena Text: science15081297Claude Opus 4.7
LMArena Text: medicine and healthcare14951276Claude Opus 4.7
LMArena Text: legal and government15041300Claude Opus 4.7
LMArena Text: business and finance14901267Claude 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 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
Design Arena: websitesNot measured972Only GPT-4.1 Nano measured
Design Arena: UI componentsNot measured913Only GPT-4.1 Nano measured
Design Arena: game devNot measured970Only GPT-4.1 Nano measured
Design Arena: data vizNot measured891Only GPT-4.1 Nano measured
Design Arena: 3DNot measured924Only GPT-4.1 Nano measured
Design Arena: all code categoriesNot measured962Only GPT-4.1 Nano measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index190
General benchmarks for Claude Opus 4.7 and GPT-4.1 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
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%32.0%Claude Opus 4.7
Long context reasoning (AA-LCR)78.7%20.3%Claude Opus 4.7
DTBench94.7%52.5%Claude Opus 4.7
LMCA52.2%5.5%Claude Opus 4.7
Fiction.LiveBenchNot measured25.0%Only GPT-4.1 Nano measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901285Claude Opus 4.7
LMArena Text: instruction following14981266Claude Opus 4.7
LMArena Text: creative writing14861260Claude Opus 4.7
LMArena Vision13171063Claude Opus 4.7
LMArena Text: English14961303Claude Opus 4.7
LMArena Text: non-English14801260Claude Opus 4.7
LMArena Text: Chinese15311270Claude Opus 4.7
LMArena Text: German14951288Claude Opus 4.7
LMArena Text: Japanese14741198Claude Opus 4.7
LMArena Text: Korean1464Not measuredOnly Claude Opus 4.7 measured
LMArena Text: French1503Not measuredOnly Claude Opus 4.7 measured
LMArena Text: Spanish1494Not measuredOnly Claude Opus 4.7 measured
LMArena Text: Russian14941261Claude Opus 4.7
LMArena Text: Polish1489Not measuredOnly Claude Opus 4.7 measured
LMArena Text: multi-turn15051277Claude Opus 4.7
LMArena Text: longer queries15051283Claude Opus 4.7
LMArena Text: writing and language14921261Claude Opus 4.7
LMArena Text: entertainment and media14741243Claude Opus 4.7
LMArena Vision: English13221101Claude Opus 4.7
LMArena Vision: Chinese1371Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: reading text1327Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: humor1309Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: recognizing things1278Not measuredOnly Claude Opus 4.7 measured
LMArena Vision: creative writing1326Not measuredOnly Claude Opus 4.7 measured
LMArena Document1495Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 11 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 Nano
BenchmarkClaude Opus 4.7GPT-4.1 NanoLeader
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 Nano$0.0003Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

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

GPT-4.1 Nano costs less

Agent loop

200K input + 10K output tokens

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

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

Questions

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

Only Claude Opus 4.7 has a coding score, 67.5 on the Vibe Coding Index; GPT-4.1 Nano has none, so the two cannot be ranked on coding. Pick GPT-4.1 Nano for output tokens 62.5x cheaper ($0.40 vs $25.00 per million) and a larger context window (1.05M against 1M tokens).

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

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-4.1 Nano costs $0.10 and $0.40. Cost per solved task is known for Claude Opus 4.7 only.

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

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

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

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

Compare next