GPT-5.6 Luna vs Grok 4.7
Updated October 21, 2026. 94 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 61.5 for GPT-5.6 Luna.
Pick GPT-5.6 Luna when output tokens cost 5.0x less, or when the context window is larger, 1.05M against 500K tokens.
- Shared results
- 94
- GPT-5.6 Luna only
- 22
- Grok 4.7 only
- 5
- Like-for-like categories
- 8 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.
Coding
Vibe Coding Index, four public coding benchmarks
Grok 4.7
Grok 4.7 scores 75.0 against 61.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 37.3.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-5.6 Luna has a AA Agentic Index result, 42.1.
Directional only
Reasoning
GPQA Diamond
No call
Only GPT-5.6 Luna has a GPQA Diamond result, 91.7%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.6 Luna has a MMLU Pro result, 86.0%.
Directional only
Web design
Design Arena: websites
GPT-5.6 Luna
GPT-5.6 Luna leads, 1256 against 1255.
Same board, both measured
General
Vals Index
No call
Only Grok 4.7 has a Vals Index result, 58.6%.
Directional only
Long documents
Listed context window
GPT-5.6 Luna
GPT-5.6 Luna takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.6 Luna
GPT-5.6 Luna $0.0008, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.6 Luna has the number, $0.04.
Directional only
At a glance
- Coding index
- GPT-5.6 Luna 61.5 from 2 benchmarks, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Math, 20.1 points apart on average over 6 shared benchmarks.
- Widest single gap
- FrontierMath, tier 4: GPT-5.6 Luna 61.0% against Grok 4.7 17.1%, 43.9 points apart on a 0 to 100 scale.
- Output price
- GPT-5.6 Luna $1.20 against Grok 4.7 $6.00 per million output tokens, 5.0x apart.
- Context window
- GPT-5.6 Luna takes 1.05M tokens, Grok 4.7 500K.
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 | GPT-5.6 Luna | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 5 | 11 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 3 | 10 | ||
| Reasoning | 6 | 7 | ||
| Math | 6 | 0 | ||
| Knowledge | 4 | 3 | ||
| Web design | 1 | 6 | ||
| General | 25 | 5 | ||
| All shared boards | 51 | 43 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index511
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 73.6% | 84.5% | Grok 4.7 |
| LMArena WebDev | 1518 | 1637 | Grok 4.7 |
| AA Coding Index | 71.4 | Not measured | Only GPT-5.6 Luna measured |
| SWE-bench Verified (Vals AI) | 93.0% | Not measured | Only GPT-5.6 Luna measured |
| Terminal-Bench 4 (Vals AI) | 11.6% | 28.8% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 77.1% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 44.5% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | Grok 4.7 |
| IOI (Vals AI) | 61.8% | 57.7% | GPT-5.6 Luna |
| Terminal-Bench 2.1 (Vals AI) | 79.0% | 73.4% | GPT-5.6 Luna |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| Vibe Code Bench 1-100 (Vals AI) | 22.6% | Not measured | Only GPT-5.6 Luna measured |
| SkillsBench (Vals AI) | 60.5% | Not measured | Only GPT-5.6 Luna measured |
| CyberBench (Vals AI) | 73.6% | 69.5% | GPT-5.6 Luna |
| SciCode | 53.6% | 57.8% | Grok 4.7 |
| FrontierCode | 39.8% | 47.6% | Grok 4.7 |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 60.9% | Not measured | Only GPT-5.6 Luna measured |
| ALE-Bench | 1667.4 | Not measured | Only GPT-5.6 Luna measured |
| LMArena Text: coding | 1466 | 1432 | GPT-5.6 Luna |
| LMArena Text: software and IT | 1463 | 1421 | GPT-5.6 Luna |
| LMArena WebDev: React | 1508 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1520 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1517 | 1586 | Grok 4.7 |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 37.3 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 156.5 | 154.4 | GPT-5.6 Luna |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index310
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 42.1 | Not measured | Only GPT-5.6 Luna measured |
| LiveBench research | 51.0% | 86.4% | Grok 4.7 |
| LiveBench browser | 68.0% | 60.0% | GPT-5.6 Luna |
| LiveBench long agentic | 30.4% | 50.1% | Grok 4.7 |
| SREBench (Vals AI) | 1.5% | 3.8% | Grok 4.7 |
| Finance Agent (Vals AI) | 55.0% | 52.3% | GPT-5.6 Luna |
| Tax Agent Bench (Vals AI) | 24.8% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 36.5% | 47.1% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 67.1% | 67.0% | GPT-5.6 Luna |
| BioMysteryBench (Vals AI) | 61.5% | 69.3% | Grok 4.7 |
| Terminal-Bench-Science (Vals AI) | 0.0% | 10.0% | Grok 4.7 |
| Vals Science Index | 25.3% | 34.8% | Grok 4.7 |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| APEX-Agents | 43.0% | 54.6% | Grok 4.7 |
| BALROG | 45.6% | Not measured | Only GPT-5.6 Luna measured |
| Vending-Bench 2 | $4,095 | $10,537 | Grok 4.7 |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index67
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 91.7% | Not measured | Only GPT-5.6 Luna measured |
| LiveBench reasoning | 85.6% | 82.7% | GPT-5.6 Luna |
| MysteryMechanism (Vals AI) | 14.4% | 25.2% | Grok 4.7 |
| MMMU Pro (Vals AI) | 85.0% | Not measured | Only GPT-5.6 Luna measured |
| GPQA Diamond (Artificial Analysis run) | 91.1% | Not measured | Only GPT-5.6 Luna measured |
| Humanity's Last Exam (Artificial Analysis run) | 39.5% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 91.6% | 92.7% | Grok 4.7 |
| ARC-AGI | 88.0% | 90.2% | Grok 4.7 |
| ARC-AGI-2 | 59.5% | 61.4% | Grok 4.7 |
| SimpleBench | 46.8% | Not measured | Only GPT-5.6 Luna measured |
| Chess puzzles | 43.0% | 41.0% | GPT-5.6 Luna |
| Mystery game puzzles | 21.0% | 29.0% | Grok 4.7 |
| LMArena Text: hard prompts | 1451 | 1415 | GPT-5.6 Luna |
| LMArena Text: expert | 1478 | 1439 | GPT-5.6 Luna |
| LMArena Text: hard prompts in English | 1460 | 1427 | GPT-5.6 Luna |
| LMArena Vision: diagrams | 1273 | 1254 | GPT-5.6 Luna |
| LMArena Vision: homework | 1282 | 1309 | Grok 4.7 |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 98.3% | 98.1% | GPT-5.6 Luna |
| FrontierMath, tiers 1 to 3 | 82.1% | 53.0% | GPT-5.6 Luna |
| FrontierMath, tier 4 | 61.0% | 17.1% | GPT-5.6 Luna |
| ProofBench | 60.0% | 26.0% | GPT-5.6 Luna |
| LMArena Text: math | 1459 | 1414 | GPT-5.6 Luna |
| LMArena Text: mathematical work | 1470 | 1435 | GPT-5.6 Luna |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.0% | Not measured | Only GPT-5.6 Luna measured |
| LegalBench (Vals AI) | 84.0% | 84.4% | Grok 4.7 |
| CorpFin (Vals AI) | 64.2% | Not measured | Only GPT-5.6 Luna measured |
| TaxEval (Vals AI) | 76.2% | Not measured | Only GPT-5.6 Luna measured |
| MortgageTax (Vals AI) | 67.3% | Not measured | Only GPT-5.6 Luna measured |
| MedCode (Vals AI) | 42.4% | 49.5% | Grok 4.7 |
| SimpleQA Verified | 41.0% | 56.0% | Grok 4.7 |
| LMArena Text: science | 1433 | 1419 | GPT-5.6 Luna |
| LMArena Text: medicine and healthcare | 1399 | 1395 | GPT-5.6 Luna |
| LMArena Text: legal and government | 1446 | 1423 | GPT-5.6 Luna |
| LMArena Text: business and finance | 1439 | 1389 | GPT-5.6 Luna |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index16
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1256 | 1255 | GPT-5.6 Luna |
| Design Arena: UI components | 1250 | 1271 | Grok 4.7 |
| Design Arena: game dev | 1196 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1212 | 1227 | Grok 4.7 |
| Design Arena: 3D | 1121 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1231 | 1271 | Grok 4.7 |
| Design Arena: SVG | 1193 | Not measured | Only GPT-5.6 Luna measured |
| Design Arena: ASCII art | 1144 | Not measured | Only GPT-5.6 Luna measured |
| LiveBench design | 76.0% | 78.0% | Grok 4.7 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index255
| Benchmark | GPT-5.6 Luna | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | 78.0% | 76.9% | GPT-5.6 Luna |
| Public Benefits Bench (Vals AI) | 61.2% | 65.6% | Grok 4.7 |
| SAGE (Vals AI) | 44.2% | 40.8% | GPT-5.6 Luna |
| MedScribe (Vals AI) | 84.4% | 89.4% | Grok 4.7 |
| Vals Multimodal Index | 69.1% | Not measured | Only GPT-5.6 Luna measured |
| Long context reasoning (AA-LCR) | 83.7% | 80.0% | GPT-5.6 Luna |
| DTBench | 89.1% | 96.0% | Grok 4.7 |
| LMCA | 48.5% | 49.4% | Grok 4.7 |
| Surface Evolver Bench | 61.9% | Not measured | Only GPT-5.6 Luna measured |
| Furniture assembly | 42.5% | 20.8% | GPT-5.6 Luna |
| LMArena Text | 1431 | 1399 | GPT-5.6 Luna |
| LMArena Text: instruction following | 1437 | 1406 | GPT-5.6 Luna |
| LMArena Text: creative writing | 1396 | 1381 | GPT-5.6 Luna |
| LMArena Vision | 1257 | 1231 | GPT-5.6 Luna |
| LMArena Text: English | 1441 | 1411 | GPT-5.6 Luna |
| LMArena Text: non-English | 1417 | 1386 | GPT-5.6 Luna |
| LMArena Text: Chinese | 1470 | 1449 | GPT-5.6 Luna |
| LMArena Text: German | 1455 | 1366 | GPT-5.6 Luna |
| LMArena Text: Japanese | 1415 | 1359 | GPT-5.6 Luna |
| LMArena Text: Korean | 1415 | 1383 | GPT-5.6 Luna |
| LMArena Text: French | 1458 | 1431 | GPT-5.6 Luna |
| LMArena Text: Spanish | 1446 | 1406 | GPT-5.6 Luna |
| LMArena Text: Russian | 1427 | 1399 | GPT-5.6 Luna |
| LMArena Text: Polish | 1405 | 1420 | Grok 4.7 |
| LMArena Text: multi-turn | 1434 | 1394 | GPT-5.6 Luna |
| LMArena Text: longer queries | 1436 | 1416 | GPT-5.6 Luna |
| LMArena Text: writing and language | 1419 | 1394 | GPT-5.6 Luna |
| LMArena Text: entertainment and media | 1402 | 1376 | GPT-5.6 Luna |
| LMArena Vision: English | 1263 | 1229 | GPT-5.6 Luna |
| LMArena Vision: Chinese | 1294 | 1250 | GPT-5.6 Luna |
| LMArena Vision: reading text | 1264 | 1241 | GPT-5.6 Luna |
| LMArena Vision: humor | 1190 | Not measured | Only GPT-5.6 Luna measured |
| LMArena Vision: creative writing | 1257 | 1217 | GPT-5.6 Luna |
| LMArena Document | 1457 | Not measured | Only GPT-5.6 Luna measured |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.6 Luna | Grok 4.7 | 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 | OpenAI GPT-5.6 Luna | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | OpenAI | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | July 9, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.20 | $2.00 |
| Output $/Mtok | $1.20 | $6.00 |
| Coding index | 61.5 | 75.0 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.04 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.6 Luna better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 61.5 for GPT-5.6 Luna. Pick GPT-5.6 Luna when output tokens cost 5.0x less, or when the context window is larger, 1.05M against 500K tokens.
Which is cheaper, GPT-5.6 Luna or Grok 4.7?
GPT-5.6 Luna costs $0.20 per million input tokens and $1.20 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GPT-5.6 Luna only.
Which has the bigger context window, GPT-5.6 Luna or Grok 4.7?
GPT-5.6 Luna, with 1.05M tokens against 500K.
How many benchmarks is the GPT-5.6 Luna vs Grok 4.7 comparison based on?
94 benchmarks have a result for both models as of October 21, 2026. GPT-5.6 Luna's coding index rests on 2 independent benchmarks and Grok 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.