Claude Opus 4.7 vs GPT-5.2
Claude Opus 4.7 leads GPT-5.2 on coding, 67.5 to 55.9 on the Vibe Coding Index, and GPT-5.2 costs 1.8x less per output token ($14.00 vs $25.00 per million). Updated October 21, 2026; 84 benchmarks have a result for both.
Claude Opus 4.7 or GPT-5.2: which to pick
Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 55.9 for GPT-5.2.
Pick GPT-5.2 for output tokens 1.8x cheaper ($14.00 vs $25.00 per million) and a lower cost per solved task ($1.91 against $2.95).
- Shared results
- 84
- Claude Opus 4.7 only
- 19
- GPT-5.2 only
- 30
- 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.
Coding
Vibe Coding Index, six public coding benchmarks
Claude Opus 4.7
Claude Opus 4.7 scores 67.5 against 55.9.
4 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Opus 4.7
Claude Opus 4.7 leads, 40.7 against 30.4.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Claude Opus 4.7 has a AA Agentic Index result, 38.6.
Directional only
Reasoning
GPQA Diamond
GPT-5.2
GPT-5.2 leads, 91.7% against 90.2%.
Same board, both measured
Math
AIME
GPT-5.2
GPT-5.2 leads, 96.9% against 96.3%.
Same board, both measured
Knowledge
MMLU Pro
Claude Opus 4.7
Claude Opus 4.7 leads, 89.9% against 86.2%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GPT-5.2 has a Design Arena: websites result, 1195.
Directional only
Long documents
Listed context window
Claude Opus 4.7
Claude Opus 4.7 takes 1M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.2
Claude Opus 4.7 $0.018, GPT-5.2 $0.0088 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.2
Claude Opus 4.7 $2.95, GPT-5.2 $1.91.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.7 67.5 from 4 benchmarks, GPT-5.2 55.9 from 3 benchmarks.
- Widest category
- Agentic work, 24.9 points apart on average over 2 shared benchmarks.
- Widest single gap
- Vending-Bench 2: Claude Opus 4.7 $10,937 against GPT-5.2 $3,591, 45.9 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.7 $25.00 against GPT-5.2 $14.00 per million output tokens, 1.8x apart.
- Context window
- Claude Opus 4.7 takes 1M tokens, GPT-5.2 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.
| Category | Claude Opus 4.7 | Bars | GPT-5.2 | Ties |
|---|---|---|---|---|
| Coding | 10 | 1 | ||
| Intelligence | 2 | 0 | ||
| Agentic work | 2 | 0 | ||
| Reasoning | 12 | 5 | ||
| Math | 6 | 1 | ||
| Knowledge | 11 | 2 | ||
| General | 28 | 4 | ||
| All shared boards | 71 | 13 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index101
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| SWE-bench Verified | Not measured | 72.8% | Only GPT-5.2 measured |
| SWE-bench Multilingual | Not measured | 66.7% | Only GPT-5.2 measured |
| LMArena WebDev | 1558 | 1417 | Claude Opus 4.7 |
| AA Coding Index | 73.6 | Not measured | Only Claude Opus 4.7 measured |
| LiveCodeBench (Vals AI) | 85.1% | 85.4% | GPT-5.2 |
| SWE-bench Verified (Vals AI) | 82.0% | 75.8% | Claude Opus 4.7 |
| Vibe Code Bench (Vals AI) | 71.0% | 53.5% | Claude Opus 4.7 |
| Code migration (Vals AI) | 43.9% | Not measured | Only Claude Opus 4.7 measured |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | Not measured | Only Claude Opus 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 89.4% | Only GPT-5.2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | 47.0% | Claude Opus 4.7 |
| Terminal-Bench | 80.2% | 64.9% | Claude Opus 4.7 |
| FrontierCode | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| GSO-Bench | 44.1% | 27.5% | Claude Opus 4.7 |
| WeirdML | 76.4% | 72.2% | Claude Opus 4.7 |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 1293.5 | Only GPT-5.2 measured |
| LMArena Text: coding | 1519 | 1442 | Claude Opus 4.7 |
| LMArena Text: software and IT | 1516 | 1434 | Claude Opus 4.7 |
| LMArena WebDev: React | 1560 | Not measured | Only Claude Opus 4.7 measured |
| LMArena WebDev: HTML | 1554 | 1427 | Claude Opus 4.7 |
| LMArena WebDev: from an image | 1577 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | 30.4 | Claude Opus 4.7 |
| Epoch Capabilities Index | 156.8 | 153.7 | Claude Opus 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | Not measured | Only Claude Opus 4.7 measured |
| Design Arena: agents building web apps | Not measured | 1086 | Only GPT-5.2 measured |
| Design Arena: agents building full-stack apps | Not measured | 1043 | Only GPT-5.2 measured |
| Design Arena: agents building mobile apps | Not measured | 1093 | Only GPT-5.2 measured |
| Design Arena: agents building Android apps | Not measured | 1058 | Only GPT-5.2 measured |
| Design Arena: agents building Godot games | Not measured | 1142 | Only GPT-5.2 measured |
| Finance Agent (Vals AI) | 51.5% | Not measured | Only Claude Opus 4.7 measured |
| Tax Agent Bench (Vals AI) | 23.7% | Not measured | Only Claude Opus 4.7 measured |
| Legal Research Bench (Vals AI) | 38.5% | Not measured | Only Claude Opus 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 63.7% | Not measured | Only Claude Opus 4.7 measured |
| τ²-Bench Telecom | 88.6% | 84.8% | Claude Opus 4.7 |
| APEX-Agents | 49.2% | Not measured | Only Claude Opus 4.7 measured |
| METR time horizons | Not measured | 75.3% | Only GPT-5.2 measured |
| Remote Labor Index | Not measured | 2.5% | Only GPT-5.2 measured |
| GDPval | Not measured | 49.7% | Only GPT-5.2 measured |
| OSWorld 2.0 | 18.2% | Not measured | Only Claude Opus 4.7 measured |
| DeepResearch Bench | Not measured | 41.1% | Only GPT-5.2 measured |
| PostTrainBench | 28.6% | Not measured | Only Claude Opus 4.7 measured |
| Vending-Bench 2 | $10,937 | $3,591 | Claude Opus 4.7 |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| Berkeley Function Calling Leaderboard (BFCL) | Not measured | 55.9% | Only GPT-5.2 measured |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index125
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | 91.7% | GPT-5.2 |
| MMMU Pro (Vals AI) | 85.5% | 86.7% | GPT-5.2 |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 90.3% | Claude Opus 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 37.7% | Claude Opus 4.7 |
| GPQA Diamond (Epoch AI run) | 90.2% | 91.4% | GPT-5.2 |
| ARC-AGI | 93.5% | 86.2% | Claude Opus 4.7 |
| ARC-AGI-2 | 75.8% | 52.9% | Claude Opus 4.7 |
| SimpleBench | 61.7% | 45.8% | Claude Opus 4.7 |
| Chess puzzles | 41.0% | 48.0% | GPT-5.2 |
| Mystery game puzzles | 28.0% | 23.0% | Claude Opus 4.7 |
| EBR-bench | 19.0% | 23.0% | GPT-5.2 |
| VPCT | Not measured | 84.0% | Only GPT-5.2 measured |
| LMArena Text: hard prompts | 1506 | 1428 | Claude Opus 4.7 |
| LMArena Text: expert | 1521 | 1445 | Claude Opus 4.7 |
| LMArena Text: hard prompts in English | 1508 | 1431 | Claude Opus 4.7 |
| LMArena Vision: diagrams | 1336 | 1265 | Claude Opus 4.7 |
| LMArena Vision: homework | 1337 | 1276 | Claude Opus 4.7 |
| Kagi LLM Benchmark | 80.7% | 73.3% | 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 index61
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| AIME | 96.3% | 96.9% | GPT-5.2 |
| MGSM (Vals AI) | Not measured | 94.0% | Only GPT-5.2 measured |
| AA Math Index | Not measured | 99.0 | Only GPT-5.2 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 99.0% | Only GPT-5.2 measured |
| OTIS Mock AIME | 97.8% | 96.1% | Claude Opus 4.7 |
| FrontierMath, tiers 1 to 3 | 70.2% | 67.4% | Claude Opus 4.7 |
| FrontierMath, tier 4 | 31.7% | 31.7% | Claude Opus 4.7 |
| ProofBench | 54.0% | 15.0% | Claude Opus 4.7 |
| LMArena Text: math | 1498 | 1440 | Claude Opus 4.7 |
| LMArena Text: mathematical work | 1509 | 1442 | Claude 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 index112
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | 86.2% | Claude Opus 4.7 |
| LegalBench (Vals AI) | 85.3% | 82.8% | Claude Opus 4.7 |
| CaseLaw (Vals AI) | 68.4% | 66.0% | Claude Opus 4.7 |
| CorpFin (Vals AI) | 66.1% | 65.9% | Claude Opus 4.7 |
| TaxEval (Vals AI) | 75.3% | 75.8% | GPT-5.2 |
| MortgageTax (Vals AI) | 70.3% | 67.1% | Claude Opus 4.7 |
| MedQA (Vals AI) | Not measured | 94.1% | Only GPT-5.2 measured |
| MedCode (Vals AI) | 54.9% | 49.8% | Claude Opus 4.7 |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.4% | Only GPT-5.2 measured |
| SimpleQA Verified | 51.7% | 37.1% | Claude Opus 4.7 |
| LMArena Text: science | 1508 | 1425 | Claude Opus 4.7 |
| LMArena Text: medicine and healthcare | 1495 | 1425 | Claude Opus 4.7 |
| LMArena Text: legal and government | 1504 | 1427 | Claude Opus 4.7 |
| LMArena Text: business and finance | 1490 | 1414 | Claude Opus 4.7 |
| FACTS Benchmark Suite | 45.5% | 48.5% | GPT-5.2 |
| 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
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1195 | Only GPT-5.2 measured |
| Design Arena: UI components | Not measured | 1190 | Only GPT-5.2 measured |
| Design Arena: game dev | Not measured | 1195 | Only GPT-5.2 measured |
| Design Arena: data viz | Not measured | 1202 | Only GPT-5.2 measured |
| Design Arena: 3D | Not measured | 1079 | Only GPT-5.2 measured |
| Design Arena: all code categories | Not measured | 1170 | Only GPT-5.2 measured |
| Design Arena: SVG | Not measured | 1139 | Only GPT-5.2 measured |
| Design Arena: ASCII art | Not measured | 1152 | Only GPT-5.2 measured |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index284
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 56.1% | 49.3% | Claude Opus 4.7 |
| MedScribe (Vals AI) | 83.0% | 84.4% | GPT-5.2 |
| Vals Multimodal Index | 67.4% | Not measured | Only Claude Opus 4.7 measured |
| IFBench | 58.6% | 75.4% | GPT-5.2 |
| Long context reasoning (AA-LCR) | 78.7% | 82.7% | GPT-5.2 |
| DTBench | 94.7% | 90.9% | Claude Opus 4.7 |
| LMCA | 52.2% | 43.9% | Claude Opus 4.7 |
| CL-bench | Not measured | 18.2% | Only GPT-5.2 measured |
| Furniture assembly | 33.3% | 38.3% | GPT-5.2 |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | 1416 | Claude Opus 4.7 |
| LMArena Text: instruction following | 1498 | 1409 | Claude Opus 4.7 |
| LMArena Text: creative writing | 1486 | 1376 | Claude Opus 4.7 |
| LMArena Vision | 1317 | 1246 | Claude Opus 4.7 |
| LMArena Text: English | 1496 | 1422 | Claude Opus 4.7 |
| LMArena Text: non-English | 1480 | 1405 | Claude Opus 4.7 |
| LMArena Text: Chinese | 1531 | 1447 | Claude Opus 4.7 |
| LMArena Text: German | 1495 | 1444 | Claude Opus 4.7 |
| LMArena Text: Japanese | 1474 | 1420 | Claude Opus 4.7 |
| LMArena Text: Korean | 1464 | 1374 | Claude Opus 4.7 |
| LMArena Text: French | 1503 | 1454 | Claude Opus 4.7 |
| LMArena Text: Spanish | 1494 | 1413 | Claude Opus 4.7 |
| LMArena Text: Russian | 1494 | 1415 | Claude Opus 4.7 |
| LMArena Text: Polish | 1489 | 1426 | Claude Opus 4.7 |
| LMArena Text: multi-turn | 1505 | 1419 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1505 | 1413 | Claude Opus 4.7 |
| LMArena Text: writing and language | 1492 | 1392 | Claude Opus 4.7 |
| LMArena Text: entertainment and media | 1474 | 1378 | Claude Opus 4.7 |
| LMArena Vision: English | 1322 | 1243 | Claude Opus 4.7 |
| LMArena Vision: Chinese | 1371 | 1305 | Claude Opus 4.7 |
| LMArena Vision: reading text | 1327 | 1257 | Claude Opus 4.7 |
| LMArena Vision: humor | 1309 | 1227 | Claude Opus 4.7 |
| LMArena Vision: captioning | Not measured | 1267 | Only GPT-5.2 measured |
| LMArena Vision: recognizing things | 1278 | 1232 | Claude Opus 4.7 |
| LMArena Vision: creative writing | 1326 | 1225 | Claude Opus 4.7 |
| LMArena Document | 1495 | 1405 | Claude Opus 4.7 |
| 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
| Benchmark | Claude Opus 4.7 | GPT-5.2 | Leader |
|---|---|---|---|
| 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
GPT-5.2 costs less
Repository review
50K input + 3K output tokens
GPT-5.2 costs less
Agent loop
200K input + 10K output tokens
GPT-5.2 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.
| Specification | Anthropic Claude Opus 4.7 | OpenAI GPT-5.2 |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 16, 2026 | December 10, 2025 |
| Context window | 1M | 400K |
| Input $/Mtok | $5.00 | $1.75 |
| Output $/Mtok | $25.00 | $14.00 |
| Coding index | 67.5 | 55.9 |
| Independent measurements behind it | 4 | 3 |
| Cost per solved task | $2.95 | $1.91 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than GPT-5.2 for coding?
Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 55.9 for GPT-5.2. Pick GPT-5.2 for output tokens 1.8x cheaper ($14.00 vs $25.00 per million) and a lower cost per solved task ($1.91 against $2.95).
Which is cheaper, Claude Opus 4.7 or GPT-5.2?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-5.2 $1.91.
Which has the bigger context window, Claude Opus 4.7 or GPT-5.2?
Claude Opus 4.7, with 1M tokens against 400K.
How many benchmarks is the Claude Opus 4.7 vs GPT-5.2 comparison based on?
84 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.2's on 3. Where only one model has a result, the page says so instead of naming a winner.