GPT-6 Luna vs Grok 4.7

API pricing, monthly cost and benchmark scores for GPT-6 Luna (OpenAI) and Grok 4.7 (xAI), side by side.

Prices checked Nov 29, 2026

The short answer

GPT-6 Luna is the cheaper of the two on the default workload (2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached): $113 a month against $1,740 for Grok 4.7, 93% less. The two score the same on the Epoch Capabilities Index (156.4).

GPT-6 Luna has the larger context window, 1,000,000 tokens against 500,000. GPT-6 Luna generates 148 tokens per second, 85% faster than Grok 4.7 at 80. Across the 9 benchmarks both have results for, GPT-6 Luna leads on 2 and Grok 4.7 on 6.

Side by side

SpecificationOpenAI GPT-6 LunaxAI Grok 4.7
Input price per 1M tokens$0.100$2.00
Cached input per 1M tokens$0.010$0.500
Output price per 1M tokens$0.500$6.00
Batch input / cached / output per 1M$0.050 / $0.005 / $0.250$1.60 / $0.400 / $4.80
Context window1M tokens500K tokens
Epoch Capabilities Index156.4156.4
GPQA90.9%94.1%
Output speed148 tokens/s80 tokens/s
Time to first token6.04 s36.22 s
Release dateSep 22, 2026Sep 21, 2026
Open weightsNoNo
Capabilitiestools, reasoning, json, vision, pdftools, reasoning, json, vision, pdf

Monthly cost for three workloads

Each row prices 30 days of traffic at standard rates. Cached input is billed at the cached rate for the share shown.

WorkloadOpenAI GPT-6 LunaxAI Grok 4.7Difference
Default workload2,000 input and 500 output tokens a request, 10,000 requests a day, 40% cached$113.40$1,740.00GPT-6 Luna is 93% cheaper
Input-heavy10,000 input and 300 output tokens a request, 10,000 requests a day, 40% cached$237.00$4,740.00GPT-6 Luna is 95% cheaper
Output-heavy500 input and 2,000 output tokens a request, 10,000 requests a day, 0% cached$315.00$3,900.00GPT-6 Luna is 92% cheaper

Benchmark by benchmark

Only benchmarks where both models have a score. Scores are as published on each benchmark; higher is better unless the benchmark page says otherwise.

BenchmarkOpenAI GPT-6 LunaxAI Grok 4.7
Epoch Capabilities IndexECI156.4156.4
Artificial Analysis Intelligence IndexAA Index27.935.4
FrontierMath Tiers 1-3% solved83.155.77
FrontierMath Tier 4% solved56.117.07
FrontierCodeMain score (%)42.4247.59
APEX-Agents% pass@144.370
ARC-AGI-2% solved59.3161.39
SimpleQA Verified% correct41.456
GPQA Diamond% accuracy90.9394.08

Go further

Frequently asked questions

Is GPT-6 Luna cheaper than Grok 4.7?
GPT-6 Luna is cheaper. On the default workload it costs $113 a month against $1,740 for Grok 4.7, which is 93% less. Per 1M tokens, GPT-6 Luna charges $0.100 for input and $0.500 for output; Grok 4.7 charges $2.00 and $6.00.
Which scores higher, GPT-6 Luna or Grok 4.7?
They score the same on the Epoch Capabilities Index (156.4).
Which has the larger context window?
GPT-6 Luna accepts more: 1,000,000 tokens against 500,000. The window is a limit, not a price; you pay for the tokens you send.
How do cached input and batch pricing compare?
Cached input costs $0.010 per 1M tokens on GPT-6 Luna and $0.500 on Grok 4.7. Batch rates: GPT-6 Luna $0.050 in and $0.250 out; Grok 4.7 $1.60 in and $4.80 out.