Claude Opus 4.7 vs GPT-5.6 Luna
Claude Opus 4.7 leads GPT-5.6 Luna on coding, 67.5 to 58.0 on the Vibe Coding Index, and GPT-5.6 Luna costs 20.8x less per output token ($1.20 vs $25.00 per million). Updated October 22, 2026; 88 benchmarks have a result for both.
Claude Opus 4.7 or GPT-5.6 Luna: which to pick
Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 58.0 for GPT-5.6 Luna, though on 4 benchmarks against 6.
Pick GPT-5.6 Luna for output tokens 20.8x cheaper ($1.20 vs $25.00 per million) and a lower cost per solved task ($0.04 against $2.95).
- Shared results
- 88
- Claude Opus 4.7 only
- 15
- GPT-5.6 Luna 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.
Coding
Vibe Coding Index, six public coding benchmarks
Claude Opus 4.7
Claude Opus 4.7 scores 67.5 against 58.0.
4 and 6 benchmarks behind the scores
Intelligence
AA Intelligence Index
Claude Opus 4.7
Claude Opus 4.7 leads, 40.7 against 37.3.
Same board, both measured
Agentic work
AA Agentic Index
GPT-5.6 Luna
GPT-5.6 Luna leads, 42.1 against 38.6.
Same board, both measured
Reasoning
GPQA Diamond
GPT-5.6 Luna
GPT-5.6 Luna leads, 91.7% 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 4.7
Claude Opus 4.7 leads, 89.9% against 86.0%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GPT-5.6 Luna has a Design Arena: websites result, 1255.
Directional only
Long documents
Listed context window
GPT-5.6 Luna
GPT-5.6 Luna takes 1.05M tokens against 1M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.6 Luna
Claude Opus 4.7 $0.018, GPT-5.6 Luna $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5.6 Luna
Claude Opus 4.7 $2.95, GPT-5.6 Luna $0.04.
Published attempt cost and pass rate
At a glance
- Coding index
- Claude Opus 4.7 67.5 from 4 benchmarks, GPT-5.6 Luna 58.0 from 6 benchmarks.
- Widest category
- Math, 10.1 points apart on average over 6 shared benchmarks.
- Widest single gap
- Vending-Bench 2: Claude Opus 4.7 $10,937 against GPT-5.6 Luna $4,095, 42.8 points apart on a 0 to 100 scale.
- Output price
- Claude Opus 4.7 $25.00 against GPT-5.6 Luna $1.20 per million output tokens, 20.8x apart.
- Context window
- Claude Opus 4.7 takes 1M tokens, GPT-5.6 Luna 1.05M.
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.6 Luna | Ties |
|---|---|---|---|---|
| Coding | 8 | 5 | 1 tie | |
| Intelligence | 2 | 0 | ||
| Agentic work | 3 | 4 | ||
| Reasoning | 13 | 3 | ||
| Math | 2 | 4 | ||
| Knowledge | 11 | 1 | ||
| General | 27 | 4 | ||
| All shared boards | 66 | 21 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index85
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 73.6% | Only GPT-5.6 Luna measured |
| LMArena WebDev | 1558 | 1518 | Claude Opus 4.7 |
| AA Coding Index | 73.6 | 71.4 | Claude Opus 4.7 |
| LiveCodeBench (Vals AI) | 85.1% | Not measured | Only Claude Opus 4.7 measured |
| SWE-bench Verified (Vals AI) | 82.0% | 93.0% | GPT-5.6 Luna |
| Terminal-Bench 4 (Vals AI) | Not measured | 11.6% | Only GPT-5.6 Luna measured |
| Vibe Code Bench (Vals AI) | 71.0% | 77.1% | GPT-5.6 Luna |
| Code migration (Vals AI) | 43.9% | 44.5% | GPT-5.6 Luna |
| ProgramBench (Vals AI) | 0.0% | 0.0% | Tie |
| IOI (Vals AI) | Not measured | 61.8% | Only GPT-5.6 Luna measured |
| Terminal-Bench 2.1 (Vals AI) | 68.5% | 79.0% | GPT-5.6 Luna |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 22.6% | Only GPT-5.6 Luna measured |
| SkillsBench (Vals AI) | Not measured | 60.5% | Only GPT-5.6 Luna measured |
| CyberBench (Vals AI) | Not measured | 73.6% | Only GPT-5.6 Luna measured |
| SciCode | Not measured | 53.6% | Only GPT-5.6 Luna 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% | 39.8% | GPT-5.6 Luna |
| GSO-Bench | 44.1% | Not measured | Only Claude Opus 4.7 measured |
| WeirdML | 76.4% | 60.9% | Claude Opus 4.7 |
| MirrorCode | 31.1% | Not measured | Only Claude Opus 4.7 measured |
| ALE-Bench | Not measured | 1667.4 | Only GPT-5.6 Luna measured |
| LMArena Text: coding | 1519 | 1466 | Claude Opus 4.7 |
| LMArena Text: software and IT | 1516 | 1463 | Claude Opus 4.7 |
| LMArena WebDev: React | 1560 | 1508 | Claude Opus 4.7 |
| LMArena WebDev: HTML | 1554 | 1520 | Claude Opus 4.7 |
| LMArena WebDev: from an image | 1577 | 1517 | Claude Opus 4.7 |
| SciCode | Not measured | 6.2% | Only GPT-5.6 Luna measured |
| Neither model has a result on the other 11 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| AA Intelligence Index | 40.7 | 37.3 | Claude Opus 4.7 |
| Epoch Capabilities Index | 156.8 | 156.5 | Claude Opus 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index34
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| AA Agentic Index | 38.6 | 42.1 | GPT-5.6 Luna |
| LiveBench research | Not measured | 51.0% | Only GPT-5.6 Luna measured |
| LiveBench browser | Not measured | 68.0% | Only GPT-5.6 Luna measured |
| LiveBench long agentic | Not measured | 30.4% | Only GPT-5.6 Luna measured |
| SREBench (Vals AI) | Not measured | 1.5% | Only GPT-5.6 Luna measured |
| Finance Agent (Vals AI) | 51.5% | 55.0% | GPT-5.6 Luna |
| Tax Agent Bench (Vals AI) | 23.7% | 24.8% | GPT-5.6 Luna |
| Legal Research Bench (Vals AI) | 38.5% | 36.5% | Claude Opus 4.7 |
| Excel Modeling Benchmark (Vals AI) | 63.7% | 67.1% | GPT-5.6 Luna |
| BioMysteryBench (Vals AI) | Not measured | 61.5% | Only GPT-5.6 Luna measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 0.0% | Only GPT-5.6 Luna measured |
| Vals Science Index | Not measured | 25.3% | Only GPT-5.6 Luna measured |
| τ²-Bench Telecom | 88.6% | Not measured | Only Claude Opus 4.7 measured |
| APEX-Agents | 49.2% | 43.0% | Claude Opus 4.7 |
| OSWorld 2.0 | 18.2% | Not measured | Only Claude Opus 4.7 measured |
| BALROG | Not measured | 45.6% | Only GPT-5.6 Luna measured |
| PostTrainBench | 28.6% | Not measured | Only Claude Opus 4.7 measured |
| Vending-Bench 2 | $10,937 | $4,095 | Claude Opus 4.7 |
| LMArena Search | 1230 | Not measured | Only Claude Opus 4.7 measured |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index133
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| GPQA Diamond | 90.2% | 91.7% | GPT-5.6 Luna |
| LiveBench reasoning | Not measured | 85.6% | Only GPT-5.6 Luna measured |
| MysteryMechanism (Vals AI) | Not measured | 14.4% | Only GPT-5.6 Luna measured |
| MMMU Pro (Vals AI) | 85.5% | 85.0% | Claude Opus 4.7 |
| GPQA Diamond (Artificial Analysis run) | 91.4% | 91.1% | Claude Opus 4.7 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 39.5% | Claude Opus 4.7 |
| GPQA Diamond (Epoch AI run) | 90.2% | 91.6% | GPT-5.6 Luna |
| ARC-AGI | 93.5% | 88.0% | Claude Opus 4.7 |
| ARC-AGI-2 | 75.8% | 59.5% | Claude Opus 4.7 |
| SimpleBench | 61.7% | 46.8% | Claude Opus 4.7 |
| Chess puzzles | 41.0% | 43.0% | GPT-5.6 Luna |
| Mystery game puzzles | 28.0% | 21.0% | Claude Opus 4.7 |
| EBR-bench | 19.0% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text: hard prompts | 1506 | 1451 | Claude Opus 4.7 |
| LMArena Text: expert | 1521 | 1478 | Claude Opus 4.7 |
| LMArena Text: hard prompts in English | 1508 | 1460 | Claude Opus 4.7 |
| LMArena Vision: diagrams | 1336 | 1273 | Claude Opus 4.7 |
| LMArena Vision: homework | 1337 | 1282 | Claude Opus 4.7 |
| Kagi LLM Benchmark | 80.7% | 49.1% | Claude Opus 4.7 |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index24
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| AIME | 96.3% | Not measured | Only Claude Opus 4.7 measured |
| OTIS Mock AIME | 97.8% | 98.3% | GPT-5.6 Luna |
| FrontierMath, tiers 1 to 3 | 70.2% | 82.1% | GPT-5.6 Luna |
| FrontierMath, tier 4 | 31.7% | 61.0% | GPT-5.6 Luna |
| ProofBench | 54.0% | 60.0% | GPT-5.6 Luna |
| LMArena Text: math | 1498 | 1459 | Claude Opus 4.7 |
| LMArena Text: mathematical work | 1509 | 1470 | Claude Opus 4.7 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index111
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| MMLU Pro | 89.9% | 86.0% | Claude Opus 4.7 |
| LegalBench (Vals AI) | 85.3% | 84.0% | Claude Opus 4.7 |
| CaseLaw (Vals AI) | 68.4% | Not measured | Only Claude Opus 4.7 measured |
| CorpFin (Vals AI) | 66.1% | 64.2% | Claude Opus 4.7 |
| TaxEval (Vals AI) | 75.3% | 76.2% | GPT-5.6 Luna |
| MortgageTax (Vals AI) | 70.3% | 67.3% | Claude Opus 4.7 |
| MedCode (Vals AI) | 54.9% | 42.4% | Claude Opus 4.7 |
| SimpleQA Verified | 51.7% | 41.0% | Claude Opus 4.7 |
| LMArena Text: science | 1508 | 1433 | Claude Opus 4.7 |
| LMArena Text: medicine and healthcare | 1495 | 1399 | Claude Opus 4.7 |
| LMArena Text: legal and government | 1504 | 1446 | Claude Opus 4.7 |
| LMArena Text: business and finance | 1490 | 1439 | Claude Opus 4.7 |
| FACTS Benchmark Suite | 45.5% | 35.0% | Claude Opus 4.7 |
| 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 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1255 | Only GPT-5.6 Luna measured |
| Design Arena: UI components | Not measured | 1248 | Only GPT-5.6 Luna measured |
| Design Arena: game dev | Not measured | 1194 | Only GPT-5.6 Luna measured |
| Design Arena: data viz | Not measured | 1211 | Only GPT-5.6 Luna measured |
| Design Arena: 3D | Not measured | 1121 | Only GPT-5.6 Luna measured |
| Design Arena: all code categories | Not measured | 1231 | Only GPT-5.6 Luna measured |
| Design Arena: SVG | Not measured | 1194 | Only GPT-5.6 Luna measured |
| Design Arena: ASCII art | Not measured | 1142 | Only GPT-5.6 Luna measured |
| LiveBench design | Not measured | 76.0% | Only GPT-5.6 Luna measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index274
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 78.0% | Only GPT-5.6 Luna measured |
| Public Benefits Bench (Vals AI) | Not measured | 61.2% | Only GPT-5.6 Luna measured |
| SAGE (Vals AI) | 56.1% | 44.2% | Claude Opus 4.7 |
| MedScribe (Vals AI) | 83.0% | 84.4% | GPT-5.6 Luna |
| Vals Multimodal Index | 67.4% | 69.1% | GPT-5.6 Luna |
| IFBench | 58.6% | Not measured | Only Claude Opus 4.7 measured |
| Long context reasoning (AA-LCR) | 78.7% | 83.7% | GPT-5.6 Luna |
| DTBench | 94.7% | 89.1% | Claude Opus 4.7 |
| LMCA | 52.2% | 48.5% | Claude Opus 4.7 |
| Surface Evolver Bench | Not measured | 61.9% | Only GPT-5.6 Luna measured |
| Furniture assembly | 33.3% | 42.5% | GPT-5.6 Luna |
| ExploitBench | 26.5% | Not measured | Only Claude Opus 4.7 measured |
| LMArena Text | 1490 | 1431 | Claude Opus 4.7 |
| LMArena Text: instruction following | 1498 | 1437 | Claude Opus 4.7 |
| LMArena Text: creative writing | 1486 | 1396 | Claude Opus 4.7 |
| LMArena Vision | 1317 | 1257 | Claude Opus 4.7 |
| LMArena Text: English | 1496 | 1441 | Claude Opus 4.7 |
| LMArena Text: non-English | 1480 | 1417 | Claude Opus 4.7 |
| LMArena Text: Chinese | 1531 | 1470 | Claude Opus 4.7 |
| LMArena Text: German | 1495 | 1455 | Claude Opus 4.7 |
| LMArena Text: Japanese | 1474 | 1415 | Claude Opus 4.7 |
| LMArena Text: Korean | 1464 | 1415 | Claude Opus 4.7 |
| LMArena Text: French | 1503 | 1458 | Claude Opus 4.7 |
| LMArena Text: Spanish | 1494 | 1446 | Claude Opus 4.7 |
| LMArena Text: Russian | 1494 | 1427 | Claude Opus 4.7 |
| LMArena Text: Polish | 1489 | 1405 | Claude Opus 4.7 |
| LMArena Text: multi-turn | 1505 | 1434 | Claude Opus 4.7 |
| LMArena Text: longer queries | 1505 | 1436 | Claude Opus 4.7 |
| LMArena Text: writing and language | 1492 | 1419 | Claude Opus 4.7 |
| LMArena Text: entertainment and media | 1474 | 1402 | Claude Opus 4.7 |
| LMArena Vision: English | 1322 | 1263 | Claude Opus 4.7 |
| LMArena Vision: Chinese | 1371 | 1294 | Claude Opus 4.7 |
| LMArena Vision: reading text | 1327 | 1264 | Claude Opus 4.7 |
| LMArena Vision: humor | 1309 | 1190 | Claude Opus 4.7 |
| LMArena Vision: recognizing things | 1278 | Not measured | Only Claude Opus 4.7 measured |
| LMArena Vision: creative writing | 1326 | 1257 | Claude Opus 4.7 |
| LMArena Document | 1495 | 1457 | Claude 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
| Benchmark | Claude Opus 4.7 | GPT-5.6 Luna | 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.6 Luna costs less
Repository review
50K input + 3K output tokens
GPT-5.6 Luna costs less
Agent loop
200K input + 10K output tokens
GPT-5.6 Luna 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.6 Luna |
|---|---|---|
| Maker | Anthropic | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 16, 2026 | July 9, 2026 |
| Context window | 1M | 1.05M |
| Input $/Mtok | $5.00 | $0.20 |
| Output $/Mtok | $25.00 | $1.20 |
| Coding index | 67.5 | 58.0 |
| Independent measurements behind it | 4 | 6 |
| Cost per solved task | $2.95 | $0.04 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Claude Opus 4.7 better than GPT-5.6 Luna for coding?
Pick Claude Opus 4.7 for coding: it scores 67.5 on the Vibe Coding Index against 58.0 for GPT-5.6 Luna, though on 4 benchmarks against 6. Pick GPT-5.6 Luna for output tokens 20.8x cheaper ($1.20 vs $25.00 per million) and a lower cost per solved task ($0.04 against $2.95).
Which is cheaper, Claude Opus 4.7 or GPT-5.6 Luna?
Claude Opus 4.7 costs $5.00 per million input tokens and $25.00 per million output tokens; GPT-5.6 Luna costs $0.20 and $1.20. Per solved SWE-bench Verified task, Claude Opus 4.7 costs $2.95 and GPT-5.6 Luna $0.04.
Which has the bigger context window, Claude Opus 4.7 or GPT-5.6 Luna?
GPT-5.6 Luna, with 1.05M tokens against 1M.
How many benchmarks is the Claude Opus 4.7 vs GPT-5.6 Luna comparison based on?
88 benchmarks have a result for both models as of October 22, 2026. Claude Opus 4.7's coding index rests on 4 independent benchmarks and GPT-5.6 Luna's on 6. Where only one model has a result, the page says so instead of naming a winner.