Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-5.1

Claude Opus 4.7 leads GPT-5.1 on coding, 65.8 to 53.2 on the Vibe Coding Index, and GPT-5.1 costs 2.5x less per output token ($10.00 vs $25.00 per million). Updated December 6, 2026; 81 benchmarks have a result for both.

Claude Opus 4.7Anthropic
Coding
65.8
Overall
74.0
Output $/M
$25.00
74
GPT-5.1OpenAI
Coding
53.2
Overall
62.9
Output $/M
$10.00
7
vs boards won of 81 shared

Claude Opus 4.7 or GPT-5.1: which to pick

Pick Claude Opus 4.7 for coding: it scores 65.8 on the Vibe Coding Index against 53.2 for GPT-5.1.

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

Shared results
81
Claude Opus 4.7 only
27
GPT-5.1 only
22
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 65.8 from 3 benchmarks, GPT-5.1 53.2 from 2 benchmarks.
Widest category
Agentic work, 25.0 points apart on average over 4 shared benchmarks.
Widest single gap
Vending-Bench 2: Claude Opus 4.7 $10,937 against GPT-5.1 $1,473, 59.1 points apart on a 0 to 100 scale.
Output price
Claude Opus 4.7 $25.00 against GPT-5.1 $10.00 per million output tokens, 2.5x apart.
Context window
Claude Opus 4.7 takes 1M tokens, GPT-5.1 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.1Ties
Coding121
Intelligence10
Agentic work40
Reasoning141
Math50
Knowledge102
General283
All shared boards747
CodingLike-for-likeSix of these boards feed the Vibe Coding Index121
Coding benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
SWE-bench VerifiedNot measured66.0%Only GPT-5.1 measured
LMArena WebDev15571397Claude Opus 4.7
LiveCodeBench (Vals AI)85.1%86.5%GPT-5.1
SWE-bench Verified (Vals AI)82.0%69.8%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 measured86.8%Only GPT-5.1 measured
Terminal-Bench Hard (Artificial Analysis run)54.5%45.5%Claude Opus 4.7
Terminal-Bench80.2%47.6%Claude Opus 4.7
FrontierCode38.5%Not measuredOnly Claude Opus 4.7 measured
GSO-Bench44.1%13.7%Claude Opus 4.7
WeirdML76.4%60.8%Claude Opus 4.7
MirrorCode43.3%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191453Claude Opus 4.7
LMArena Text: software and IT15161454Claude Opus 4.7
LMArena WebDev: React15591306Claude Opus 4.7
LMArena WebDev: HTML15521406Claude Opus 4.7
LMArena WebDev: from an image15791419Claude Opus 4.7
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
Terminal-Bench 2.080.2%47.6%Claude Opus 4.7
Terminal-Bench 2.168.9%Not measuredOnly Claude Opus 4.7 measured
ProgramBench0.0%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
Epoch Capabilities Index157.3150.9Claude Opus 4.7
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
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%81.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
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
PostTrainBench24.3%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937$1,473Claude Opus 4.7
LMArena Search12301199Claude Opus 4.7
MCP Atlas79.1%50.1%Claude Opus 4.7
τ³-Banking40.2%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index141
Reasoning benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
GPQA Diamond90.2%86.6%Claude Opus 4.7
MMMU Pro (Vals AI)85.5%83.2%Claude Opus 4.7
GPQA Diamond (Artificial Analysis run)91.4%87.3%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%87.6%Claude Opus 4.7
ARC-AGI93.5%72.8%Claude Opus 4.7
ARC-AGI-275.8%17.6%Claude Opus 4.7
SimpleBench61.7%53.2%Claude Opus 4.7
Chess puzzles41.0%42.0%GPT-5.1
Mystery game puzzles28.0%19.0%Claude Opus 4.7
EBR-bench19.0%Not measuredOnly Claude Opus 4.7 measured
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard prompts15061457Claude Opus 4.7
LMArena Text: expert15201469Claude Opus 4.7
LMArena Text: hard prompts in English15081462Claude Opus 4.7
LMArena Vision: diagrams13371264Claude Opus 4.7
LMArena Vision: homework13381274Claude Opus 4.7
Kagi LLM Benchmark80.7%Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
AIME96.3%93.3%Claude Opus 4.7
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AIME 2025 (Artificial Analysis run)Not measured94.0%Only GPT-5.1 measured
OTIS Mock AIME97.8%88.6%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
LMArena Text: math14991447Claude Opus 4.7
LMArena Text: mathematical work15081450Claude Opus 4.7
MathArena18.7%16.0%Claude Opus 4.7
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index102
Knowledge benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
MMLU Pro89.9%86.4%Claude Opus 4.7
LegalBench (Vals AI)85.3%85.7%GPT-5.1
CaseLaw (Vals AI)68.4%73.4%GPT-5.1
CorpFin (Vals AI)66.1%63.8%Claude Opus 4.7
TaxEval (Vals AI)75.3%74.9%Claude Opus 4.7
MortgageTax (Vals AI)70.3%61.4%Claude Opus 4.7
MedQA (Vals AI)Not measured96.4%Only GPT-5.1 measured
MedCode (Vals AI)54.9%52.7%Claude Opus 4.7
MMLU Pro (Artificial Analysis run)Not measured87.0%Only GPT-5.1 measured
SimpleQA Verified51.7%48.0%Claude Opus 4.7
LMArena Text: science15081459Claude Opus 4.7
LMArena Text: medicine and healthcare14951456Claude Opus 4.7
LMArena Text: legal and government15051459Claude Opus 4.7
LMArena Text: business and finance14911431Claude Opus 4.7
PRBench FinanceNot measured48.0%Only GPT-5.1 measured
PRBench LegalNot measured48.0%Only GPT-5.1 measured
Neither model has a result on the other 5 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.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
Design Arena: websitesNot measured1227Only GPT-5.1 measured
Design Arena: UI componentsNot measured1146Only GPT-5.1 measured
Design Arena: game devNot measured1149Only GPT-5.1 measured
Design Arena: data vizNot measured1198Only GPT-5.1 measured
Design Arena: 3DNot measured986Only GPT-5.1 measured
Design Arena: all code categoriesNot measured1210Only GPT-5.1 measured
Design Arena: SVGNot measured1190Only GPT-5.1 measured
Design Arena: ASCII artNot measured1096Only GPT-5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index283
General benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
MedScribe (Vals AI)83.0%88.1%GPT-5.1
Vals Multimodal Index67.4%Not measuredOnly Claude Opus 4.7 measured
IFBench58.6%72.9%GPT-5.1
Long context reasoning (AA-LCR)78.7%80.0%GPT-5.1
GDPval-AA1364837Claude Opus 4.7
DTBench94.7%90.1%Claude Opus 4.7
LMCA52.2%43.9%Claude Opus 4.7
CL-benchNot measured23.7%Only GPT-5.1 measured
Furniture assembly33.3%Not measuredOnly Claude Opus 4.7 measured
ExploitBench26.5%Not measuredOnly Claude Opus 4.7 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena Text14901442Claude Opus 4.7
LMArena Text: instruction following14981442Claude Opus 4.7
LMArena Text: creative writing14871427Claude Opus 4.7
LMArena Vision13181249Claude Opus 4.7
LMArena Text: English14961451Claude Opus 4.7
LMArena Text: non-English14811431Claude Opus 4.7
LMArena Text: Chinese15331495Claude Opus 4.7
LMArena Text: German14961438Claude Opus 4.7
LMArena Text: Japanese14741455Claude Opus 4.7
LMArena Text: Korean14671400Claude Opus 4.7
LMArena Text: French15031450Claude Opus 4.7
LMArena Text: Spanish14951432Claude Opus 4.7
LMArena Text: Russian14951435Claude Opus 4.7
LMArena Text: Polish14911440Claude Opus 4.7
LMArena Text: multi-turn15061450Claude Opus 4.7
LMArena Text: longer queries15061447Claude Opus 4.7
LMArena Text: writing and language14931428Claude Opus 4.7
LMArena Text: entertainment and media14751414Claude Opus 4.7
LMArena Vision: English13221251Claude Opus 4.7
LMArena Vision: Chinese13711271Claude Opus 4.7
LMArena Vision: reading text13281254Claude Opus 4.7
LMArena Vision: humor13141264Claude Opus 4.7
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing things12771232Claude Opus 4.7
LMArena Vision: creative writing13271267Claude Opus 4.7
LMArena Document14951403Claude Opus 4.7
MultiChallengeNot measured63.4%Only GPT-5.1 measured
EQ-Bench 41293Not 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-5.1
BenchmarkClaude Opus 4.7GPT-5.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-5.1$0.0063Fits in one request

GPT-5.1 costs less

Repository review

50K input + 3K output tokens

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

GPT-5.1 costs less

Agent loop

200K input + 10K output tokens

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

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

Questions

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

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

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

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

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

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

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

81 benchmarks have a result for both models as of December 6, 2026. Claude Opus 4.7's coding index rests on 3 independent benchmarks and GPT-5.1's on 2. 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-1" title="Claude Opus 4.7 vs GPT-5.1, 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-1">LLMBenchmark.ai, Claude Opus 4.7 vs GPT-5.1</a></p>