Claude Opus 4.7 vs Claude Opus 5
Claude Opus 5 leads Claude Opus 4.7 on coding, 83.0 to 67.5 on the Vibe Coding Index, at about the same output price ($25.00 vs $25.00 per million). Updated October 21, 2026; 91 benchmarks have a result for both.
Claude Opus 4.7 or Claude Opus 5: which to pick
Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 67.5 for Claude Opus 4.7.
Pick Claude Opus 4.7 for work measured by TaxEval (Vals AI) or SAGE (Vals AI), where it leads.
- Shared results
- 91
- Claude Opus 4.7 only
- 12
- Claude Opus 5 only
- 40
- 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 5
Claude Opus 5 scores 83.0 against 67.5.
4 and 6 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Opus 5
Claude Opus 5 leads, 50.8 against 40.7.
Same board, both measured
Agentic work
AA Agentic Index
Claude Opus 5
Claude Opus 5 leads, 56.5 against 38.6.
Same board, both measured
Reasoning
GPQA Diamond
Claude Opus 5
Claude Opus 5 leads, 93.4% against 90.2%.
Same board, both measured
Math
AIME
No call
Only Claude Opus 4.7 has a AIME result, 96.3%.
Directional only
Knowledge
MMLU Pro
Claude Opus 5
Claude Opus 5 leads, 91.6% against 89.9%.
Same board, both measured
Web design
Design Arena: websites
No call
Only Claude Opus 5 has a Design Arena: websites result, 1309.
Directional only
Long documents
Listed context window
No call
Both take 1M tokens.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
No call
Claude Opus 4.7 $0.018, Claude Opus 5 $0.018 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Claude Opus 5
Claude Opus 4.7 $2.95, Claude Opus 5 $1.33.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.7 67.5 from 4 benchmarks, Claude Opus 5 83.0 from 6 benchmarks.
- Widest category
- Math, 19.1 points apart on average over 6 shared benchmarks.
- Widest single gap
- ProofBench: Claude Opus 4.7 54.0% against Claude Opus 5 99.0%, 45.0 points apart on a 0 to 100 scale.
- Output price
- Both cost $25.00 per million output tokens.
- Context window
- Both take 1M tokens.
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 | Claude Opus 5 | Ties |
|---|---|---|---|---|
| Coding | 0 | 15 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 10 | ||
| Reasoning | 0 | 16 | ||
| Math | 0 | 6 | ||
| Knowledge | 1 | 10 | ||
| General | 5 | 26 | ||
| All shared boards | 6 | 85 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index015
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 90.8% | Only Claude Opus 5 measured |
| LMArena WebDev | 1558 | 1689 | Claude Opus 5 |
| AA Coding Index | 73.6 | 78.0 | Claude Opus 5 |
| LiveCodeBench (Vals AI) | 85.1% | 89.0% | Claude Opus 5 |
| SWE-bench Verified (Vals AI) | 82.0% | 97.0% | Claude Opus 5 |
| Terminal-Bench 4 (Vals AI) | Not measured | 53.5% | Only Claude Opus 5 measured |
| Vibe Code Bench (Vals AI) | 71.0% | 88.4% | Claude Opus 5 |
| Code migration (Vals AI) | 43.9% | 57.5% | Claude Opus 5 |
| ProgramBench (Vals AI) | 0.0% | 3.0% | Claude Opus 5 |
| IOI (Vals AI) | Not measured | 84.3% | Only Claude Opus 5 measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | 84.6% | Claude Opus 5 |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 28.5% | Only Claude Opus 5 measured |
| SkillsBench (Vals AI) | Not measured | 60.4% | Only Claude Opus 5 measured |
| CyberBench (Vals AI) | Not measured | 65.4% | Only Claude Opus 5 measured |
| SciCode | Not measured | 56.4% | Only Claude Opus 5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 54.5% | Not measured | Only Claude Opus 4.7 measured |
| Terminal-Bench | 80.2% | Not measured | Only Claude Opus 4.7 measured |
| FrontierCode | 38.5% | 53.4% | Claude Opus 5 |
| FrontierSWE | Not measured | 52.0% | Only Claude Opus 5 measured |
| GSO-Bench | 44.1% | Not measured | Only Claude Opus 4.7 measured |
| WeirdML | 76.4% | 91.8% | Claude Opus 5 |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 2164.6 | Only Claude Opus 5 measured |
| LMArena Text: coding | 1519 | 1533 | Claude Opus 5 |
| LMArena Text: software and IT | 1516 | 1527 | Claude Opus 5 |
| LMArena WebDev: React | 1560 | 1711 | Claude Opus 5 |
| LMArena WebDev: HTML | 1554 | 1680 | Claude Opus 5 |
| LMArena WebDev: from an image | 1577 | 1662 | Claude Opus 5 |
| SciCode | Not measured | 13.8% | Only Claude Opus 5 measured |
| Neither model has a result on the other 10 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | 50.8 | Claude Opus 5 |
| Epoch Capabilities Index | 156.8 | 163.9 | Claude Opus 5 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index010
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | 56.5 | Claude Opus 5 |
| Design Arena: agents building web apps | Not measured | 1266 | Only Claude Opus 5 measured |
| Design Arena: agents building full-stack apps | Not measured | 1306 | Only Claude Opus 5 measured |
| Design Arena: agents building mobile apps | Not measured | 1348 | Only Claude Opus 5 measured |
| Design Arena: agents building Android apps | Not measured | 1254 | Only Claude Opus 5 measured |
| Design Arena: agents building Godot games | Not measured | 1279 | Only Claude Opus 5 measured |
| Design Arena: agents building games | Not measured | 1261 | Only Claude Opus 5 measured |
| Design Arena: PowerPoint slides | Not measured | 1265 | Only Claude Opus 5 measured |
| LiveBench research | Not measured | 88.9% | Only Claude Opus 5 measured |
| LiveBench browser | Not measured | 84.0% | Only Claude Opus 5 measured |
| LiveBench long agentic | Not measured | 62.1% | Only Claude Opus 5 measured |
| SREBench (Vals AI) | Not measured | 12.2% | Only Claude Opus 5 measured |
| Finance Agent (Vals AI) | 51.5% | 58.6% | Claude Opus 5 |
| Tax Agent Bench (Vals AI) | 23.7% | 45.5% | Claude Opus 5 |
| Legal Research Bench (Vals AI) | 38.5% | 55.3% | Claude Opus 5 |
| Excel Modeling Benchmark (Vals AI) | 63.7% | 73.6% | Claude Opus 5 |
| BioMysteryBench (Vals AI) | Not measured | 79.3% | Only Claude Opus 5 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 27.1% | Only Claude Opus 5 measured |
| Vals Science Index | Not measured | 47.9% | Only Claude Opus 5 measured |
| Time Horizon Index (Vals AI) | Not measured | 18.8% | Only Claude Opus 5 measured |
| CUA-bench (Vals AI) | Not measured | 9.0% | Only Claude Opus 5 measured |
| τ²-Bench Telecom | 88.6% | Not measured | Only Claude Opus 4.7 measured |
| APEX-Agents | 49.2% | 65.8% | Claude Opus 5 |
| OSWorld 2.0 | 18.2% | 31.4% | Claude Opus 5 |
| BALROG | Not measured | 63.4% | Only Claude Opus 5 measured |
| PostTrainBench | 28.6% | 35.0% | Claude Opus 5 |
| Vending-Bench 2 | $10,937 | $11,182 | Claude Opus 5 |
| LMArena Search | 1230 | 1242 | Claude Opus 5 |
| Neither model has a result on the other 13 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index016
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | 93.4% | Claude Opus 5 |
| LiveBench reasoning | Not measured | 91.2% | Only Claude Opus 5 measured |
| MysteryMechanism (Vals AI) | Not measured | 37.4% | Only Claude Opus 5 measured |
| MMMU Pro (Vals AI) | 85.5% | 89.9% | Claude Opus 5 |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 93.7% | Claude Opus 5 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 54.9% | Claude Opus 5 |
| GPQA Diamond (Epoch AI run) | 90.2% | 93.9% | Claude Opus 5 |
| ARC-AGI | 93.5% | 97.5% | Claude Opus 5 |
| ARC-AGI-2 | 75.8% | 90.4% | Claude Opus 5 |
| SimpleBench | 61.7% | 80.6% | Claude Opus 5 |
| Chess puzzles | 41.0% | 43.0% | Claude Opus 5 |
| Mystery game puzzles | 28.0% | 59.0% | Claude Opus 5 |
| EBR-bench | 19.0% | 45.7% | Claude Opus 5 |
| LMArena Text: hard prompts | 1506 | 1527 | Claude Opus 5 |
| LMArena Text: expert | 1521 | 1554 | Claude Opus 5 |
| LMArena Text: hard prompts in English | 1508 | 1523 | Claude Opus 5 |
| LMArena Vision: diagrams | 1336 | 1348 | Claude Opus 5 |
| LMArena Vision: homework | 1337 | 1338 | Claude Opus 5 |
| Kagi LLM Benchmark | 80.7% | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| AIME | 96.3% | Not measured | Only Claude Opus 4.7 measured |
| OTIS Mock AIME | 97.8% | 98.9% | Claude Opus 5 |
| FrontierMath, tiers 1 to 3 | 70.2% | 85.6% | Claude Opus 5 |
| FrontierMath, tier 4 | 31.7% | 73.2% | Claude Opus 5 |
| ProofBench | 54.0% | 99.0% | Claude Opus 5 |
| LMArena Text: math | 1498 | 1533 | Claude Opus 5 |
| LMArena Text: mathematical work | 1509 | 1544 | Claude Opus 5 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index110
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | 91.6% | Claude Opus 5 |
| LegalBench (Vals AI) | 85.3% | 87.0% | Claude Opus 5 |
| CaseLaw (Vals AI) | 68.4% | Not measured | Only Claude Opus 4.7 measured |
| CorpFin (Vals AI) | 66.1% | 73.2% | Claude Opus 5 |
| TaxEval (Vals AI) | 75.3% | 75.1% | Claude Opus 4.7 |
| MortgageTax (Vals AI) | 70.3% | 72.1% | Claude Opus 5 |
| MedCode (Vals AI) | 54.9% | 63.6% | Claude Opus 5 |
| SimpleQA Verified | 51.7% | 59.9% | Claude Opus 5 |
| LMArena Text: science | 1508 | 1531 | Claude Opus 5 |
| LMArena Text: medicine and healthcare | 1495 | 1525 | Claude Opus 5 |
| LMArena Text: legal and government | 1504 | 1530 | Claude Opus 5 |
| LMArena Text: business and finance | 1490 | 1501 | Claude Opus 5 |
| FACTS Benchmark Suite | 45.5% | Not measured | Only 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 index9 boards, none shared
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1309 | Only Claude Opus 5 measured |
| Design Arena: UI components | Not measured | 1349 | Only Claude Opus 5 measured |
| Design Arena: game dev | Not measured | 1338 | Only Claude Opus 5 measured |
| Design Arena: data viz | Not measured | 1329 | Only Claude Opus 5 measured |
| Design Arena: 3D | Not measured | 1335 | Only Claude Opus 5 measured |
| Design Arena: all code categories | Not measured | 1324 | Only Claude Opus 5 measured |
| Design Arena: SVG | Not measured | 1311 | Only Claude Opus 5 measured |
| Design Arena: ASCII art | Not measured | 1352 | Only Claude Opus 5 measured |
| LiveBench design | Not measured | 83.0% | Only Claude Opus 5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index526
| Benchmark | Claude Opus 4.7 | Claude Opus 5 | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 74.6% | Only Claude Opus 5 measured |
| Public Benefits Bench (Vals AI) | Not measured | 76.9% | Only Claude Opus 5 measured |
| SAGE (Vals AI) | 56.1% | 49.4% | Claude Opus 4.7 |
| MedScribe (Vals AI) | 83.0% | 91.0% | Claude Opus 5 |
| Vals Multimodal Index | 67.4% | 73.9% | Claude Opus 5 |
| IFBench | 58.6% | Not measured | Only Claude Opus 4.7 measured |
| Long context reasoning (AA-LCR) | 78.7% | 82.0% | Claude Opus 5 |
| DTBench | 94.7% | 97.9% | Claude Opus 5 |
| LMCA | 52.2% | 64.5% | Claude Opus 5 |
| Furniture assembly | 33.3% | 60.8% | Claude Opus 5 |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | 1509 | Claude Opus 5 |
| LMArena Text: instruction following | 1498 | 1518 | Claude Opus 5 |
| LMArena Text: creative writing | 1486 | 1493 | Claude Opus 5 |
| LMArena Vision | 1317 | 1320 | Claude Opus 5 |
| LMArena Text: English | 1496 | 1508 | Claude Opus 5 |
| LMArena Text: non-English | 1480 | 1502 | Claude Opus 5 |
| LMArena Text: Chinese | 1531 | 1573 | Claude Opus 5 |
| LMArena Text: German | 1495 | 1527 | Claude Opus 5 |
| LMArena Text: Japanese | 1474 | 1520 | Claude Opus 5 |
| LMArena Text: Korean | 1464 | 1517 | Claude Opus 5 |
| LMArena Text: French | 1503 | 1519 | Claude Opus 5 |
| LMArena Text: Spanish | 1494 | 1523 | Claude Opus 5 |
| LMArena Text: Russian | 1494 | 1507 | Claude Opus 5 |
| LMArena Text: Polish | 1489 | 1522 | Claude Opus 5 |
| LMArena Text: multi-turn | 1505 | 1500 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1505 | 1517 | Claude Opus 5 |
| LMArena Text: writing and language | 1492 | 1499 | Claude Opus 5 |
| LMArena Text: entertainment and media | 1474 | 1481 | Claude Opus 5 |
| LMArena Vision: English | 1322 | 1315 | Claude Opus 4.7 |
| LMArena Vision: Chinese | 1371 | 1400 | Claude Opus 5 |
| LMArena Vision: reading text | 1327 | 1329 | Claude Opus 5 |
| LMArena Vision: humor | 1309 | 1293 | Claude Opus 4.7 |
| LMArena Vision: recognizing things | 1278 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: creative writing | 1326 | 1313 | Claude Opus 4.7 |
| LMArena Document | 1495 | 1516 | Claude Opus 5 |
| 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 | Claude Opus 5 | 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
Same cost
Repository review
50K input + 3K output tokens
Same cost
Agent loop
200K input + 10K output tokens
Same cost
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 | Anthropic Claude Opus 5 |
|---|---|---|
| Maker | Anthropic | Anthropic |
| Weights | No public weights listed | No public weights listed |
| Released | April 16, 2026 | July 24, 2026 |
| Context window | 1M | 1M |
| Input $/Mtok | $5.00 | $5.00 |
| Output $/Mtok | $25.00 | $25.00 |
| Coding index | 67.5 | 83.0 |
| Independent measurements behind it | 4 | 6 |
| Cost per solved task | $2.95 | $1.33 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than Claude Opus 5 for coding?
Pick Claude Opus 5 for coding: it scores 83.0 on the Vibe Coding Index against 67.5 for Claude Opus 4.7. Pick Claude Opus 4.7 for work measured by TaxEval (Vals AI) or SAGE (Vals AI), where it leads.
Which is cheaper, Claude Opus 4.7 or Claude Opus 5?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; Claude Opus 5 costs $5.00 and $25.00. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and Claude Opus 5 $1.33.
Which has the bigger context window, Claude Opus 4.7 or Claude Opus 5?
Neither: both take 1M tokens.
How many benchmarks is the Claude Opus 4.7 vs Claude Opus 5 comparison based on?
91 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 Claude Opus 5's on 6. Where only one model has a result, the page says so instead of naming a winner.