LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

Claude Opus 4.7 vs GPT-5.1

Updated October 21, 2026. 80 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

Claude Opus 4.7Anthropic
Coding
51.1
Overall
40.7
Output $/M
$25.00
73
GPT-5.1OpenAI
Coding
53.3
Overall
24.7
Output $/M
$10.00
7
vs boards won of 80 shared

Decision reading

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

Pick Claude Opus 4.7 when the context window is larger, 1M against 400K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

Shared results
80
Claude Opus 4.7 only
21
GPT-5.1 only
20
Like-for-like categories
7 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 51.1 from 1 benchmark, GPT-5.1 53.3 from 2 benchmarks.
Widest category
Agentic work, 32.9 points apart on average over 2 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
Coding131
Intelligence20
Agentic work20
Reasoning141
Math40
Knowledge102
General283
All shared boards737
CodingLike-for-likeFour of these boards feed the Vibe Coding Index131
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 WebDev15581396Claude Opus 4.7
AA Coding Index73.649.4Claude 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
Vibe Code Bench (Vals AI)71.0%24.6%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
MirrorCode31.1%Not measuredOnly Claude Opus 4.7 measured
LMArena Text: coding15191453Claude Opus 4.7
LMArena Text: software and IT15161454Claude Opus 4.7
LMArena WebDev: React15601307Claude Opus 4.7
LMArena WebDev: HTML15541405Claude Opus 4.7
LMArena WebDev: from an image15771421Claude Opus 4.7
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.1Leader
AA Intelligence Index40.724.7Claude Opus 4.7
Epoch Capabilities Index156.8149.8Claude Opus 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for Claude Opus 4.7 and GPT-5.1
BenchmarkClaude Opus 4.7GPT-5.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%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
PostTrainBench28.6%Not measuredOnly Claude Opus 4.7 measured
Vending-Bench 2$10,937$1,473Claude Opus 4.7
LMArena Search1230Not measuredOnly Claude Opus 4.7 measured
Neither model has a result on the other 27 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: expert15211470Claude Opus 4.7
LMArena Text: hard prompts in English15081462Claude Opus 4.7
LMArena Vision: diagrams13361264Claude Opus 4.7
LMArena Vision: homework13371272Claude 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 index40
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
AA Math IndexNot measured94.0Only 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: math14981446Claude Opus 4.7
LMArena Text: mathematical work15091449Claude Opus 4.7
Neither model has a result on the other 3 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 government15041459Claude Opus 4.7
LMArena Text: business and finance14901431Claude Opus 4.7
Neither model has a result on the other 3 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 measured1187Only GPT-5.1 measured
Design Arena: UI componentsNot measured1166Only GPT-5.1 measured
Design Arena: game devNot measured1179Only GPT-5.1 measured
Design Arena: data vizNot measured1204Only GPT-5.1 measured
Design Arena: 3DNot measured1061Only GPT-5.1 measured
Design Arena: all code categoriesNot measured1171Only GPT-5.1 measured
Design Arena: SVGNot measured1149Only GPT-5.1 measured
Design Arena: ASCII artNot measured1118Only 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
SAGE (Vals AI)56.1%43.2%Claude Opus 4.7
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
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 Text14901443Claude Opus 4.7
LMArena Text: instruction following14981443Claude Opus 4.7
LMArena Text: creative writing14861427Claude Opus 4.7
LMArena Vision13171250Claude Opus 4.7
LMArena Text: English14961451Claude Opus 4.7
LMArena Text: non-English14801431Claude Opus 4.7
LMArena Text: Chinese15311495Claude Opus 4.7
LMArena Text: German14951438Claude Opus 4.7
LMArena Text: Japanese14741453Claude Opus 4.7
LMArena Text: Korean14641401Claude Opus 4.7
LMArena Text: French15031450Claude Opus 4.7
LMArena Text: Spanish14941433Claude Opus 4.7
LMArena Text: Russian14941435Claude Opus 4.7
LMArena Text: Polish14891440Claude Opus 4.7
LMArena Text: multi-turn15051450Claude Opus 4.7
LMArena Text: longer queries15051448Claude Opus 4.7
LMArena Text: writing and language14921428Claude Opus 4.7
LMArena Text: entertainment and media14741415Claude Opus 4.7
LMArena Vision: English13221252Claude Opus 4.7
LMArena Vision: Chinese13711270Claude Opus 4.7
LMArena Vision: reading text13271255Claude Opus 4.7
LMArena Vision: humor13091263Claude Opus 4.7
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing things12781232Claude Opus 4.7
LMArena Vision: creative writing13261266Claude Opus 4.7
LMArena Document14951403Claude Opus 4.7
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.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 index51.153.3
Independent measurements behind it12
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 GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 51.1 for Claude Opus 4.7. Pick Claude Opus 4.7 when the context window is larger, 1M against 400K tokens, or when what matters is LMArena WebDev or AA Coding Index, where it leads.

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?

80 benchmarks have a result for both models as of October 21, 2026. Claude Opus 4.7's coding index rests on 1 independent benchmark 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