LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

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.

GPT-5.6 LunaOpenAI
Coding
61.5
Overall
37.3
Output $/M
$1.20
51
Grok 4.7xAI
Coding
75.0
Overall
46.4
Output $/M
$6.00
43
vs boards won of 94 shared

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.

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.

Boards won, where both have a result
CategoryGPT-5.6 LunaBarsGrok 4.7Ties
Coding511
Intelligence11
Agentic work310
Reasoning67
Math60
Knowledge43
Web design16
General255
All shared boards5143
CodingLike-for-likeFour of these boards feed the Vibe Coding Index511
Coding benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
LiveBench coding73.6%84.5%Grok 4.7
LMArena WebDev15181637Grok 4.7
AA Coding Index71.4Not measuredOnly GPT-5.6 Luna measured
SWE-bench Verified (Vals AI)93.0%Not measuredOnly 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 measured42.9%Only Grok 4.7 measured
Vibe Code Bench 1-100 (Vals AI)22.6%Not measuredOnly GPT-5.6 Luna measured
SkillsBench (Vals AI)60.5%Not measuredOnly GPT-5.6 Luna measured
CyberBench (Vals AI)73.6%69.5%GPT-5.6 Luna
SciCode53.6%57.8%Grok 4.7
FrontierCode39.8%47.6%Grok 4.7
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML60.9%Not measuredOnly GPT-5.6 Luna measured
ALE-Bench1667.4Not measuredOnly GPT-5.6 Luna measured
LMArena Text: coding14661432GPT-5.6 Luna
LMArena Text: software and IT14631421GPT-5.6 Luna
LMArena WebDev: React15081663Grok 4.7
LMArena WebDev: HTML15201627Grok 4.7
LMArena WebDev: from an image15171586Grok 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
Intelligence benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
AA Intelligence Index37.346.4Grok 4.7
Epoch Capabilities Index156.5154.4GPT-5.6 Luna
Agentic workLike-for-likePublic boards, shown as published, kept out of the index310
Agentic work benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
AA Agentic Index42.1Not measuredOnly GPT-5.6 Luna measured
LiveBench research51.0%86.4%Grok 4.7
LiveBench browser68.0%60.0%GPT-5.6 Luna
LiveBench long agentic30.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 measured18.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 Index25.3%34.8%Grok 4.7
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
APEX-Agents43.0%54.6%Grok 4.7
BALROG45.6%Not measuredOnly GPT-5.6 Luna measured
Vending-Bench 2$4,095$10,537Grok 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
Reasoning benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
GPQA Diamond91.7%Not measuredOnly GPT-5.6 Luna measured
LiveBench reasoning85.6%82.7%GPT-5.6 Luna
MysteryMechanism (Vals AI)14.4%25.2%Grok 4.7
MMMU Pro (Vals AI)85.0%Not measuredOnly GPT-5.6 Luna measured
GPQA Diamond (Artificial Analysis run)91.1%Not measuredOnly 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-AGI88.0%90.2%Grok 4.7
ARC-AGI-259.5%61.4%Grok 4.7
SimpleBench46.8%Not measuredOnly GPT-5.6 Luna measured
Chess puzzles43.0%41.0%GPT-5.6 Luna
Mystery game puzzles21.0%29.0%Grok 4.7
LMArena Text: hard prompts14511415GPT-5.6 Luna
LMArena Text: expert14781439GPT-5.6 Luna
LMArena Text: hard prompts in English14601427GPT-5.6 Luna
LMArena Vision: diagrams12731254GPT-5.6 Luna
LMArena Vision: homework12821309Grok 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
Math benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
OTIS Mock AIME98.3%98.1%GPT-5.6 Luna
FrontierMath, tiers 1 to 382.1%53.0%GPT-5.6 Luna
FrontierMath, tier 461.0%17.1%GPT-5.6 Luna
ProofBench60.0%26.0%GPT-5.6 Luna
LMArena Text: math14591414GPT-5.6 Luna
LMArena Text: mathematical work14701435GPT-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
Knowledge benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
MMLU Pro86.0%Not measuredOnly GPT-5.6 Luna measured
LegalBench (Vals AI)84.0%84.4%Grok 4.7
CorpFin (Vals AI)64.2%Not measuredOnly GPT-5.6 Luna measured
TaxEval (Vals AI)76.2%Not measuredOnly GPT-5.6 Luna measured
MortgageTax (Vals AI)67.3%Not measuredOnly GPT-5.6 Luna measured
MedCode (Vals AI)42.4%49.5%Grok 4.7
SimpleQA Verified41.0%56.0%Grok 4.7
LMArena Text: science14331419GPT-5.6 Luna
LMArena Text: medicine and healthcare13991395GPT-5.6 Luna
LMArena Text: legal and government14461423GPT-5.6 Luna
LMArena Text: business and finance14391389GPT-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
Web design benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
Design Arena: websites12561255GPT-5.6 Luna
Design Arena: UI components12501271Grok 4.7
Design Arena: game dev11961314Grok 4.7
Design Arena: data viz12121227Grok 4.7
Design Arena: 3D11211269Grok 4.7
Design Arena: all code categories12311271Grok 4.7
Design Arena: SVG1193Not measuredOnly GPT-5.6 Luna measured
Design Arena: ASCII art1144Not measuredOnly GPT-5.6 Luna measured
LiveBench design76.0%78.0%Grok 4.7
GeneralLike-for-likePublic boards, shown as published, kept out of the index255
General benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysis78.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 Index69.1%Not measuredOnly GPT-5.6 Luna measured
Long context reasoning (AA-LCR)83.7%80.0%GPT-5.6 Luna
DTBench89.1%96.0%Grok 4.7
LMCA48.5%49.4%Grok 4.7
Surface Evolver Bench61.9%Not measuredOnly GPT-5.6 Luna measured
Furniture assembly42.5%20.8%GPT-5.6 Luna
LMArena Text14311399GPT-5.6 Luna
LMArena Text: instruction following14371406GPT-5.6 Luna
LMArena Text: creative writing13961381GPT-5.6 Luna
LMArena Vision12571231GPT-5.6 Luna
LMArena Text: English14411411GPT-5.6 Luna
LMArena Text: non-English14171386GPT-5.6 Luna
LMArena Text: Chinese14701449GPT-5.6 Luna
LMArena Text: German14551366GPT-5.6 Luna
LMArena Text: Japanese14151359GPT-5.6 Luna
LMArena Text: Korean14151383GPT-5.6 Luna
LMArena Text: French14581431GPT-5.6 Luna
LMArena Text: Spanish14461406GPT-5.6 Luna
LMArena Text: Russian14271399GPT-5.6 Luna
LMArena Text: Polish14051420Grok 4.7
LMArena Text: multi-turn14341394GPT-5.6 Luna
LMArena Text: longer queries14361416GPT-5.6 Luna
LMArena Text: writing and language14191394GPT-5.6 Luna
LMArena Text: entertainment and media14021376GPT-5.6 Luna
LMArena Vision: English12631229GPT-5.6 Luna
LMArena Vision: Chinese12941250GPT-5.6 Luna
LMArena Vision: reading text12641241GPT-5.6 Luna
LMArena Vision: humor1190Not measuredOnly GPT-5.6 Luna measured
LMArena Vision: creative writing12571217GPT-5.6 Luna
LMArena Document1457Not measuredOnly 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
Image generation benchmarks for GPT-5.6 Luna and Grok 4.7
BenchmarkGPT-5.6 LunaGrok 4.7Leader
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$0.0008Fits in one request
Grok 4.7$0.0050Fits in one request

GPT-5.6 Luna costs less

Repository review

50K input + 3K output tokens

GPT-5.6 Luna$0.014Fits in one request
Grok 4.7$0.118Fits in one request

GPT-5.6 Luna costs less

Agent loop

200K input + 10K output tokens

GPT-5.6 Luna$0.052Fits in one request
Grok 4.7$0.460Fits in one request

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.

Specifications of GPT-5.6 Luna and Grok 4.7
SpecificationOpenAI GPT-5.6 LunaSpaceXAI Grok 4.7
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedJuly 9, 2026September 21, 2026
Context window1.05M500K
Input $/Mtok$0.20$2.00
Output $/Mtok$1.20$6.00
Coding index61.575.0
Independent measurements behind it22
Cost per solved task$0.04Not computable
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-6-luna-vs-grok-4-7" title="GPT-5.6 Luna vs Grok 4.7, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-6-luna-vs-grok-4-7">LLMBenchmark.ai, GPT-5.6 Luna vs Grok 4.7</a></p>