ZMIME
Comparison · 2 models · Updated Nov 18, 2026

GPT-5.6 Luna vs Grok 4.7

Too close to call on our weighted score (GPT-5.6 Luna 80, Grok 4.7 79). The right pick depends on what you value most.

Price in rating: Excluded · Include price

  1. OpenAI

    GPT-5.6 Luna

    Released Jul 9, 2026

    80/100
    • ECI156.7
    • Price$0.20 / $1.20
    • Context1.05M
  2. xAI

    Grok 4.7

    Released Sep 21, 2026New

    79/100
    • ECI156.4
    • Price$2.00 / $6.00
    • Context500K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

Too close to call

It is close. Our weighted score puts them within 2 points (GPT-5.6 Luna 80/100, Grok 4.7 79/100), so choose by what matters most for your work: GPT-5.6 Luna for raw capability. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGPT-5.6 LunaCapabilities Index (ECI): GPT-5.6 Luna 156.7 · Grok 4.7 156.4
  • Lowest priceGPT-5.6 LunaGPT-5.6 Luna $0.45 · Grok 4.7 $3.00 per 1M tokens (3:1 blend)
  • Longest contextGPT-5.6 LunaGPT-5.6 Luna 1,050,000 · Grok 4.7 500,000 tokens
  • Widest inputsSame inputsGPT-5.6 Luna: Text, Images, PDFs · Grok 4.7: Text, Images, PDFs
  • Self-hostingNo confirmed open weightsBoth are available only through APIs
How the score is built
MeasureWeightGPT-5.6 LunaGrok 4.7
CapabilityCapabilities Index (ECI)67%8483
Inputs & features20%8080
Context window13%6553
Overall100%80/10079/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

GPT-5.6 Luna vs Grok 4.7 specifications side by side
SpecificationGPT-5.6 LunaOpenAIGrok 4.7xAI
Capability
Capabilities Index (ECI)156.7 (best)156.4
ECI rank#36 of 158 (best)#37 of 158
GPQA DiamondGraduate-level science questions91.6%92.7% (best)
FrontierMath Tiers 1–3Research-level mathematics82.1% (best)53.0%
OTIS Mock AIME 2024–2025Competition mathematics98.3% (best)98.1%
SimpleQA VerifiedShort factual questions41.0%56.0% (best)
Price per million tokens
Input$0.20 (best)$2.00
Output$1.20 (best)$6.00
Cached input$0.02 (best)$0.50
Blended (3:1)$0.45 (best)$3.00
Long-context rateOver 272K: $0.40 / $1.80Over 200K: $4.00 / $12.00
Price sourceOfficial OpenAI APIOfficial xAI API
Limits
Context window1,050,000 tokens (best)500,000 tokens
Max output128,000 tokens500,000 tokens (best)
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesYes
AudioNoNo
VideoNoNo
ReasoningYeslow · medium · high · xhigh · maxYeslow · medium · high · xhigh
Tool callingYesYes
Structured outputYesYes
Availability
WeightsProprietaryProprietary
API model IDgpt-5.6-lunagrok-4.7
API providers57 (best)35
ReleasedJul 9, 2026Sep 21, 2026
Knowledge cutoffFeb 16, 2026May 2026
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • GPT-5.6 Luna$4.40
  • Grok 4.7$32.00
04 — Questions

Which should you choose?

Which is better: GPT-5.6 Luna or Grok 4.7?

It is close. Our weighted score puts them within 2 points (GPT-5.6 Luna 80/100, Grok 4.7 79/100), so choose by what matters most for your work: GPT-5.6 Luna for raw capability. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, GPT-5.6 Luna or Grok 4.7?

GPT-5.6 Luna is cheaper at $0.20 input / $1.20 output per million tokens (official OpenAI API price). Grok 4.7 costs $2.00 input / $6.00 output per million tokens (official xAI API price). At a typical mix of three input tokens to one output token, that is $0.45 per million tokens for GPT-5.6 Luna versus $3.00 for Grok 4.7 (6.7× as much).

Which scores higher on benchmarks?

GPT-5.6 Luna scores higher on the Capabilities Index (ECI): GPT-5.6 Luna 156.7 (#36 of 158) and Grok 4.7 156.4 (#37 of 158). The confidence ranges of the top two overlap (154.9–158.8 vs 154.5–158.5), so treat the gap as small. On individual benchmarks: GPQA Diamond — Grok 4.7 92.7%, GPT-5.6 Luna 91.6%; FrontierMath Tiers 1–3 — GPT-5.6 Luna 82.1%, Grok 4.7 53.0%; OTIS Mock AIME 2024–2025 — GPT-5.6 Luna 98.3%, Grok 4.7 98.1%; SimpleQA Verified — Grok 4.7 56.0%, GPT-5.6 Luna 41.0%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-5.6 Luna and Grok 4.7 yet, so there is no like-for-like coding score. On overall capability, GPT-5.6 Luna leads, which tends to carry over to coding, but test on your own codebase. Both support tool calling for agent workflows.

Which has the bigger context window?

GPT-5.6 Luna has the largest context window at 1,050,000 tokens, against 500,000 for Grok 4.7. Maximum output per response: GPT-5.6 Luna up to 128,000, Grok 4.7 up to 500,000 tokens.

Which can read images, PDFs, audio or video?

GPT-5.6 Luna accepts text, images and PDFs; Grok 4.7 accepts text, images and PDFs. They handle the same number of input types.

Are any of these open source?

No. GPT-5.6 Luna and Grok 4.7 are proprietary and only available through APIs and apps.

Which is newer?

Grok 4.7 is the newest, released Sep 21, 2026. GPT-5.6 Luna came out Jul 9, 2026. Knowledge cutoff: GPT-5.6 Luna Feb 16, 2026, Grok 4.7 May 2026.

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.