Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-5 Nano

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

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
69
GPT-5 NanoOpenAI
Coding
No data
Overall
35.6
Output $/M
$0.40
1
vs boards won of 70 shared

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

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

Pick GPT-5 Nano for output tokens 62.5x cheaper ($0.40 vs $25.00 per million) and a lower cost per solved task ($0.109 against $2.95).

Shared results
70
Claude Opus 4.7 only
39
GPT-5 Nano only
18
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 Nano not benchmarked.
Widest category
Agentic work, 52.0 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI-2: Claude Opus 4.7 75.8% against GPT-5 Nano 2.6%, 73.2 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-5 Nano $0.40 per million output tokens, 62.5x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-5 Nano 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 NanoTies
Coding60
Intelligence20
Agentic work10
Reasoning150
Math80
Knowledge110
General261
All shared boards691
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for Claude Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
SWE-bench VerifiedNot measured34.8%Only GPT-5 Nano measured
LMArena WebDev1558Not measuredOnly Claude Opus 4.7 measured
AA Coding Index73.6Not measuredOnly Claude Opus 4.7 measured
LiveCodeBench (Vals AI)85.1%70.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 measured78.9%Only GPT-5 Nano measured
Terminal-Bench Hard (Artificial Analysis run)54.5%17.4%Claude Opus 4.7
Terminal-Bench80.2%21.8%Claude Opus 4.7
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%Not measuredOnly Claude Opus 4.7 measured
WeirdML76.4%38.1%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191351Claude Opus 4.7
LMArena Text: software and IT15161345Claude 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
SWE Atlas: Codebase QnA40.3%Not measuredOnly Claude Opus 4.7 measured
SWE Atlas: Refactoring48.6%Not measuredOnly Claude Opus 4.7 measured
SWE Atlas: Test Writing38.5%Not measuredOnly Claude Opus 4.7 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 Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
AA Intelligence Index40.713.0Claude Opus 4.7
Epoch Capabilities Index156.8139.2Claude 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-5 Nano
BenchmarkClaude Opus 4.7GPT-5 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%36.5%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 measured51.4%Only GPT-5 Nano measured
MCP Atlas79.1%Not 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 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
GPQA Diamond90.2%63.4%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%70.9%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%67.6%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%9.5%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%69.4%Claude Opus 4.7
ARC-AGI93.5%20.7%Claude Opus 4.7
ARC-AGI-275.8%2.6%Claude Opus 4.7
SimpleBench61.7%Not measuredOnly Claude Opus 4.7 measured
Chess puzzles41.0%22.0%Claude Opus 4.7
Mystery game puzzles28.0%9.0%Claude Opus 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
VPCTNot measured37.2%Only GPT-5 Nano measured
LMArena Text: hard prompts15061328Claude Opus 4.7
LMArena Text: expert15211321Claude Opus 4.7
LMArena Text: hard prompts in English15081338Claude Opus 4.7
LMArena Vision: diagrams13361141Claude Opus 4.7
LMArena Vision: homework13371157Claude Opus 4.7
Kagi LLM Benchmark80.7%62.2%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 index80
Math benchmarks for Claude Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
AIME96.3%81.2%Claude Opus 4.7
MATH 500 (Vals AI)Not measured93.8%Only GPT-5 Nano measured
MGSM (Vals AI)Not measured89.3%Only GPT-5 Nano measured
AA Math IndexNot measured83.7Only GPT-5 Nano measured
AIME 2025 (Artificial Analysis run)Not measured83.7%Only GPT-5 Nano measured
OTIS Mock AIME97.8%81.1%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%20.0%Claude Opus 4.7
FrontierMath, tier 431.7%2.4%Claude Opus 4.7
ProofBench54.0%12.0%Claude Opus 4.7
MATH level 5Not measured95.2%Only GPT-5 Nano measured
LMArena Text: math14981317Claude Opus 4.7
LMArena Text: mathematical work15091326Claude Opus 4.7
MathArena20.4%12.8%Claude 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 index110
Knowledge benchmarks for Claude Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
MMLU Pro89.9%76.1%Claude Opus 4.7
LegalBench (Vals AI)85.3%50.1%Claude Opus 4.7
CaseLaw (Vals AI)68.4%52.6%Claude Opus 4.7
CorpFin (Vals AI)66.1%Not measuredOnly Claude Opus 4.7 measured
TaxEval (Vals AI)75.3%67.4%Claude Opus 4.7
MortgageTax (Vals AI)70.3%53.6%Claude Opus 4.7
MedQA (Vals AI)Not measured93.3%Only GPT-5 Nano measured
MedCode (Vals AI)54.9%30.4%Claude Opus 4.7
MMLU Pro (Artificial Analysis run)Not measured78.0%Only GPT-5 Nano measured
SimpleQA Verified51.7%11.7%Claude Opus 4.7
LMArena Text: science15081318Claude Opus 4.7
LMArena Text: medicine and healthcare14951335Claude Opus 4.7
LMArena Text: legal and government15041298Claude Opus 4.7
LMArena Text: business and finance14901311Claude 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 designDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Web design benchmarks for Claude Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
Design Arena: websitesNot measured1101Only GPT-5 Nano measured
Design Arena: UI componentsNot measured1064Only GPT-5 Nano measured
Design Arena: game devNot measured1044Only GPT-5 Nano measured
Design Arena: data vizNot measured1056Only GPT-5 Nano measured
Design Arena: 3DNot measured965Only GPT-5 Nano measured
Design Arena: all code categoriesNot measured1084Only GPT-5 Nano measured
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index261
General benchmarks for Claude Opus 4.7 and GPT-5 Nano
BenchmarkClaude Opus 4.7GPT-5 NanoLeader
SAGE (Vals AI)56.1%30.4%Claude Opus 4.7
MedScribe (Vals AI)83.0%72.9%Claude Opus 4.7
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%67.6%GPT-5 Nano
Long context reasoning (AA-LCR)78.7%45.0%Claude Opus 4.7
DTBench94.7%62.7%Claude Opus 4.7
LMCA52.2%7.9%Claude Opus 4.7
Fiction.LiveBenchNot measured44.4%Only GPT-5 Nano measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901320Claude Opus 4.7
LMArena Text: instruction following14981306Claude Opus 4.7
LMArena Text: creative writing14861249Claude Opus 4.7
LMArena Vision13171159Claude Opus 4.7
LMArena Text: English14961321Claude Opus 4.7
LMArena Text: non-English14801313Claude Opus 4.7
LMArena Text: Chinese15311356Claude Opus 4.7
LMArena Text: German14951327Claude Opus 4.7
LMArena Text: Japanese14741227Claude Opus 4.7
LMArena Text: Korean14641269Claude Opus 4.7
LMArena Text: French1503Not measuredOnly Claude Opus 4.7 measured
LMArena Text: Spanish14941360Claude Opus 4.7
LMArena Text: Russian14941296Claude Opus 4.7
LMArena Text: Polish14891314Claude Opus 4.7
LMArena Text: multi-turn15051311Claude Opus 4.7
LMArena Text: longer queries15051312Claude Opus 4.7
LMArena Text: writing and language14921283Claude Opus 4.7
LMArena Text: entertainment and media14741268Claude Opus 4.7
LMArena Vision: English13221170Claude Opus 4.7
LMArena Vision: Chinese13711176Claude Opus 4.7
LMArena Vision: reading text13271152Claude Opus 4.7
LMArena Vision: humor13091110Claude Opus 4.7
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
EQ-Bench 41311Not 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 Nano
BenchmarkClaude Opus 4.7GPT-5 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-5 Nano$0.0003Fits in one request

GPT-5 Nano costs less

Repository review

50K input + 3K output tokens

Claude Opus 4.7$0.325Fits in one request
GPT-5 Nano$0.0037Fits in one request

GPT-5 Nano costs less

Agent loop

200K input + 10K output tokens

Claude Opus 4.7$1.25Fits in one request
GPT-5 Nano$0.014Fits in one request

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

Questions

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

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

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

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5 Nano costs $0.05 and $0.40. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-5 Nano $0.109.

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

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

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

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

Compare next