Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-5

Claude Opus 4.7 leads GPT-5 on coding, 67.5 to 38.8 on the Vibe Coding Index, and GPT-5 costs 2.5x less per output token ($10.00 vs $25.00 per million). Updated October 21, 2026; 82 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
67.5
Overall
71.6
Output $/M
$25.00
77
GPT-5OpenAI
Coding
38.8
Overall
51.5
Output $/M
$10.00
5
vs boards won of 82 shared

Claude Opus 4.7 or GPT-5: which to pick

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 38.8 for GPT-5.

Pick GPT-5 for output tokens 2.5x cheaper ($10.00 vs $25.00 per million) and a lower cost per solved task ($0.39 against $2.95).

Shared results
82
Claude Opus 4.7 only
21
GPT-5 only
31
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 38.8 from 3 benchmarks.
Widest category
Coding, 22.6 points apart on average over 12 shared benchmarks.
Widest single gap
ARC-AGI-2: Claude Opus 4.7 75.8% against GPT-5 9.9%, 66.0 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-5 $10.00 per million output tokens, 2.5x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-5 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-5Ties
Coding111
Intelligence20
Agentic work10
Reasoning170
Math70
Knowledge112
General282
All shared boards775
CodingLike-for-likeSix of these boards feed the Vibe Coding Index111
Coding benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
Aider polyglotNot measured88.0%Only GPT-5 measured
SWE-bench VerifiedNot measured74.4%Only GPT-5 measured
LMArena WebDev15581418Claude Opus 4.7
AA Coding Index73.637.8Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%85.9%GPT-5
SWE-bench Verified (Vals AI)82.0%69.0%Claude Opus 4.7
Vibe Code Bench (Vals AI)71.0%20.1%Claude Opus 4.7
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 measured84.6%Only GPT-5 measured
Terminal-Bench Hard (Artificial Analysis run)54.5%37.9%Claude Opus 4.7
Terminal-Bench80.2%49.6%Claude Opus 4.7
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%6.9%Claude Opus 4.7
WeirdML76.4%60.7%Claude Opus 4.7
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
ALE-BenchNot measured807.6Only GPT-5 measured
LMArena Text: coding15191436Claude Opus 4.7
LMArena Text: software and IT15161420Claude Opus 4.7
LMArena WebDev: React1560Not measuredOnly Claude Opus 4.7 measured
LMArena WebDev: HTML15541427Claude Opus 4.7
LMArena WebDev: from an image1577Not measuredOnly Claude Opus 4.7 measured
SciCodeNot measured0.0%Only GPT-5 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
AA Intelligence Index40.723.0Claude Opus 4.7
Epoch Capabilities Index156.8150.0Claude 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
BenchmarkClaude Opus 4.7GPT-5Leader
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%86.5%Claude Opus 4.7
APEX-Agents49.2%Not measuredOnly Claude Opus 4.7 measured
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
OSWorld 2.018.2%Not measuredOnly Claude Opus 4.7 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch BenchNot measured49.6%Only GPT-5 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
BrowseComp-PlusNot measured80.0%Only GPT-5 measured
Neither model has a result on the other 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index170
Reasoning benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
GPQA Diamond90.2%85.6%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%81.5%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%85.4%Claude Opus 4.7
Humanity's Last Exam (Artificial Analysis run)42.3%28.5%Claude Opus 4.7
GPQA Diamond (Epoch AI run)90.2%86.2%Claude Opus 4.7
ARC-AGI93.5%65.7%Claude Opus 4.7
ARC-AGI-275.8%9.9%Claude Opus 4.7
SimpleBench61.7%56.7%Claude Opus 4.7
Chess puzzles41.0%36.0%Claude Opus 4.7
Mystery game puzzles28.0%23.0%Claude Opus 4.7
EBR-bench19.0%12.7%Claude Opus 4.7
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts15061415Claude Opus 4.7
LMArena Text: expert15211419Claude Opus 4.7
LMArena Text: hard prompts in English15081419Claude Opus 4.7
LMArena Vision: diagrams13361252Claude Opus 4.7
LMArena Vision: homework13371278Claude Opus 4.7
Kagi LLM Benchmark80.7%72.7%Claude Opus 4.7
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index70
Math benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
AIME96.3%93.4%Claude Opus 4.7
MATH 500 (Vals AI)Not measured96.0%Only GPT-5 measured
MGSM (Vals AI)Not measured92.8%Only GPT-5 measured
AA Math IndexNot measured94.3Only GPT-5 measured
AIME 2025 (Artificial Analysis run)Not measured94.3%Only GPT-5 measured
OTIS Mock AIME97.8%91.4%Claude Opus 4.7
FrontierMath, tiers 1 to 370.2%55.4%Claude Opus 4.7
FrontierMath, tier 431.7%22.0%Claude Opus 4.7
ProofBench54.0%18.0%Claude Opus 4.7
MATH level 5Not measured98.1%Only GPT-5 measured
LMArena Text: math14981407Claude Opus 4.7
LMArena Text: mathematical work15091405Claude 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 index112
Knowledge benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
MMLU Pro89.9%86.5%Claude Opus 4.7
LegalBench (Vals AI)85.3%86.0%GPT-5
CaseLaw (Vals AI)68.4%66.5%Claude Opus 4.7
CorpFin (Vals AI)66.1%61.1%Claude Opus 4.7
TaxEval (Vals AI)75.3%73.4%Claude Opus 4.7
MortgageTax (Vals AI)70.3%65.5%Claude Opus 4.7
MedQA (Vals AI)Not measured96.3%Only GPT-5 measured
MedCode (Vals AI)54.9%49.6%Claude Opus 4.7
MMLU Pro (Artificial Analysis run)Not measured87.1%Only GPT-5 measured
SimpleQA Verified51.7%50.1%Claude Opus 4.7
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science15081416Claude Opus 4.7
LMArena Text: medicine and healthcare14951413Claude Opus 4.7
LMArena Text: legal and government15041431Claude Opus 4.7
LMArena Text: business and finance14901400Claude Opus 4.7
FACTS Benchmark Suite45.5%56.5%GPT-5
Neither model has a result on the other 2 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
Design Arena: websitesNot measured1184Only GPT-5 measured
Design Arena: UI componentsNot measured1180Only GPT-5 measured
Design Arena: game devNot measured1185Only GPT-5 measured
Design Arena: data vizNot measured1221Only GPT-5 measured
Design Arena: 3DNot measured1056Only GPT-5 measured
Design Arena: all code categoriesNot measured1168Only GPT-5 measured
Design Arena: SVGNot measured1189Only GPT-5 measured
Design Arena: ASCII artNot measured1141Only GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index282
General benchmarks for Claude Opus 4.7 and GPT-5
BenchmarkClaude Opus 4.7GPT-5Leader
SAGE (Vals AI)56.1%43.7%Claude Opus 4.7
MedScribe (Vals AI)83.0%83.7%GPT-5
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%73.1%GPT-5
Long context reasoning (AA-LCR)78.7%78.2%Claude Opus 4.7
DTBench94.7%90.7%Claude Opus 4.7
LMCA52.2%40.0%Claude Opus 4.7
Fiction.LiveBenchNot measured97.2%Only GPT-5 measured
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
LMArena Text14901406Claude Opus 4.7
LMArena Text: instruction following14981388Claude Opus 4.7
LMArena Text: creative writing14861365Claude Opus 4.7
LMArena Vision13171232Claude Opus 4.7
LMArena Text: English14961409Claude Opus 4.7
LMArena Text: non-English14801397Claude Opus 4.7
LMArena Text: Chinese15311422Claude Opus 4.7
LMArena Text: German14951416Claude Opus 4.7
LMArena Text: Japanese14741409Claude Opus 4.7
LMArena Text: Korean14641360Claude Opus 4.7
LMArena Text: French15031409Claude Opus 4.7
LMArena Text: Spanish14941399Claude Opus 4.7
LMArena Text: Russian14941407Claude Opus 4.7
LMArena Text: Polish14891431Claude Opus 4.7
LMArena Text: multi-turn15051426Claude Opus 4.7
LMArena Text: longer queries15051399Claude Opus 4.7
LMArena Text: writing and language14921384Claude Opus 4.7
LMArena Text: entertainment and media14741379Claude Opus 4.7
LMArena Vision: English13221231Claude Opus 4.7
LMArena Vision: Chinese13711267Claude Opus 4.7
LMArena Vision: reading text13271246Claude Opus 4.7
LMArena Vision: humor13091219Claude Opus 4.7
LMArena Vision: captioningNot measured1212Only GPT-5 measured
LMArena Vision: recognizing things12781263Claude 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 9 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
BenchmarkClaude Opus 4.7GPT-5Leader
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$0.0063Fits in one request

GPT-5 costs less

Repository review

50K input + 3K output tokens

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

GPT-5 costs less

Agent loop

200K input + 10K output tokens

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

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

Questions

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

Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 38.8 for GPT-5. Pick GPT-5 for output tokens 2.5x cheaper ($10.00 vs $25.00 per million) and a lower cost per solved task ($0.39 against $2.95).

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

Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5 costs $1.25 and $10.00. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-5 $0.39.

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

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

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

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