Grok 4.7 vs GPT-6 Luna
GPT-6 Luna runs our sample agent task 19.4x cheaper than Grok 4.7 at list prices.
The short version
Grok 4.7 is #16 on our price list and GPT-6 Luna is #19, from xAI and OpenAI. On our sample agent run, GPT-6 Luna costs $0.040 and Grok 4.7 $0.766, 19.4x apart. Grok 4.7 answers with a 7-point lead on the Intelligence Index (35 vs 28), so you're paying 19.4x for that edge. LMArena's human votes agree, 1444 to 1443 for Grok 4.7.
Side by side
| Measure | Grok 4.7 | GPT-6 Luna |
|---|---|---|
| Provider | xAI | OpenAI |
| Input / 1M tokens | $2.00 | $0.100 |
| Output / 1M tokens | $6.00 | $0.500 |
| Output price ÷ input price | 3.0x | 5.0x |
| Blended / 1M (3:1) | $3.00 | $0.200 |
| Context window | 500K | 1.05M |
| Sample agent run | $0.766 | $0.040 |
| AA Intelligence Index | 35 | 28 |
| LMArena Text | 1444 (xhigh) | 1443 (max) |
| Blended $ per index point | $0.086 | $0.007 |
Prices from xAI and OpenAI, verified 2026-11-30. Scores from Artificial Analysis and LMArena. How to read this page.
A sample agent run
20 steps, 365,000 input and 6,000 output tokens in total, largest single prompt 32,500 tokens.
| Volume | Grok 4.7 | GPT-6 Luna |
|---|---|---|
| One run | $0.766 | $0.040 |
| 1,000 runs | $766.00 | $39.50 |
| 10,000 runs | $7,660.00 | $395.00 |
| 100,000 runs | $76,600.00 | $3,950.00 |
Input makes up 95% of the Grok 4.7 bill and 92% of the GPT-6 Luna bill. With both bills that input-heavy, trimming or caching the context each step saves more than shortening the replies. On Grok 4.7, step 1 costs $0.0098 and step 20 $0.067; on GPT-6 Luna, $0.0006 and $0.0034. Each step re-reads the growing history, so the late steps carry most of the bill. A $500 monthly budget covers about 652 runs on Grok 4.7 and 12,658 on GPT-6 Luna. At 10,000 runs a month the difference is $7,265.00.
How the bill builds, step by step
The first 10 steps account for 30% of the Grok 4.7 run and 31% of the GPT-6 Luna run, because every later step re-reads a longer history.
Show the numbers
| After step | Grok 4.7 | GPT-6 Luna |
|---|---|---|
| 1 | $0.0098 | $0.0006 |
| 5 | $0.079 | $0.0043 |
| 10 | $0.233 | $0.012 |
| 15 | $0.462 | $0.024 |
| 20 | $0.766 | $0.040 |
Four everyday workloads
| Workload | Grok 4.7 | GPT-6 Luna | Gap |
|---|---|---|---|
| Support chat reply a short system prompt, recent chat history and a reply | $0.0070 | $0.0004 | 15.6x |
| RAG answer a question plus about 20K tokens of retrieved documents, and a cited answer | $0.045 | $0.0024 | 18.7x |
| 10-step agent task 10 model calls, each re-reading about 8K tokens of context and emitting a 400-token tool call | $0.184 | $0.010 | 18.4x |
| Long-report summary one 200K-token document summarized into about 2K tokens | $0.824 | $0.021 | 39.2x |
The gap is widest on the long-report summary (39.2x, GPT-6 Luna cheaper) and narrowest on the support chat reply (15.6x). GPT-6 Luna is cheaper on both input and output, so it wins every row at base rates. Grok 4.7's long-prompt rate ($4.00/$12.00 from 200K tokens) applies to the long-report summary row.
Per 1M tokens of mixed traffic, Grok 4.7 costs $2.40, $3.00, $4.00 and GPT-6 Luna $0.140, $0.200, $0.300 at 10%, 25% and 50% output. The gap narrows as jobs write more, from 17.1x to 13.3x.
- Support chat reply at 100,000 a month: $700.00 on Grok 4.7, $45.00 on GPT-6 Luna, so GPT-6 Luna saves $655.00.
- RAG answer at 100,000 a month: $4,480.00 on Grok 4.7, $240.00 on GPT-6 Luna, so GPT-6 Luna saves $4,240.00.
- 10-step agent task at 100,000 a month: $18,400.00 on Grok 4.7, $1,000.00 on GPT-6 Luna, so GPT-6 Luna saves $17,400.00.
- Long-report summary at 100,000 a month: $82,400.00 on Grok 4.7, $2,100.00 on GPT-6 Luna, so GPT-6 Luna saves $80,300.00.
Where each one fits
Grok 4.7
- Harder multi-step reasoning, where a 7-point Intelligence Index lead (35 vs 28) is most likely to show.
- User-facing chat and writing: LMArena voters prefer it 1444 to 1443, about 50% of head-to-head votes.
GPT-6 Luna
- High-volume agent work: $39.50 per 1,000 sample runs against $766.00, a saving of $72,650.00 per 100,000 runs.
- Single prompts beyond 500K tokens, up to its 1.05M limit.
- Prompts of 200K tokens or more, where Grok 4.7 switches to its higher long-prompt rate.
What you trade
Choosing GPT-6 Luna cuts the run cost by 95% and gives up 7 index points. Put the other way, each point Grok 4.7 adds costs $103.79 per 1,000 runs. Per index point, GPT-6 Luna is the better value at $0.007 blended per 1M tokens against $0.086. Grok 4.7 charges 3.0x its input rate for output and GPT-6 Luna 5.0x, so the more a job writes, the better Grok 4.7 looks.
Using both
Across all 20 models we track, 7 models run our sample task for less than Grok 4.7, and nothing undercuts GPT-6 Luna. A common setup routes routine calls to the cheaper model and hard ones to the stronger. Sending 70% of runs to GPT-6 Luna and 30% to Grok 4.7 averages $0.257 per run, 66% below running everything on Grok 4.7, while the hard cases still get its 7-point edge.
Running both means two API keys and two tool-call formats. Our schema converter writes both from one JSON Schema.
Context window
GPT-6 Luna takes 1.05M tokens (about 788,000 English words) and Grok 4.7 500K. That 2.1x difference matters for whole-codebase or book-length prompts, and our 32,500-token agent peak fits either one easily.
Grok 4.7's base price covers prompts below 200K tokens. Longer ones cost $4.00/$12.00.
The GPT-6 Luna price shown is the provider's short-context (<=272K input) price.
Reasoning settings
| Setting | Grok 4.7 | GPT-6 Luna |
|---|---|---|
| max | not published | 28 |
| high | 35 | not published |
Artificial Analysis lists one setting for each: Grok 4.7 at high and GPT-6 Luna at max, so the two scores aren't at matched effort.
Other options at this level
3 other models score between 25 and 38 on the Index: Claude Haiku 5.5 (37, $0.040 per run), DeepSeek V4.1 Flash (1017) (32, $0.117 per run), Gemini 3.8 Flash (31, $0.296 per run). None of them runs cheaper than GPT-6 Luna's $0.040, which makes this pair the value end of the tier. Claude Haiku 5.5 scores highest of the group at 37.
GPT-6 Luna is already OpenAI's cheapest option on our list, at $0.040 per run.
Artificial Analysis vs LMArena
On the Intelligence Index, Grok 4.7 places 16th and GPT-6 Luna 19th of the 20 models on our list. On LMArena Text they place 18th and 19th of the 20 we track there (1444 vs 1443). Both boards put Grok 4.7 ahead, so you can lean on that order with more confidence than either board gives alone. A 1-point LMArena gap means Grok 4.7 would win about 50% of blind votes against GPT-6 Luna, close to a coin flip. LMArena tested Grok 4.7 at xhigh and GPT-6 Luna at max.
FAQ
Is GPT-6 Luna cheaper than Grok 4.7?
Yes. Per sample run it costs $0.040 against $0.766, and per 1M blended tokens $0.200 against $3.00.
Which has the larger context window?
GPT-6 Luna, at 1.05M tokens.
Which should I use for an AI agent?
It depends on how hard the steps are. For routine tool calls, GPT-6 Luna saves 95% per run. For long plans where one wrong step wastes the run, Grok 4.7's 7-point lead is worth testing.
Which scores higher?
Grok 4.7 on the Artificial Analysis Intelligence Index, 35 to 28. On LMArena Text, Grok 4.7 is 1444 (xhigh) and GPT-6 Luna is 1443 (max).
Run your own numbers in the token cost estimator · Grok 4.7 pricing · GPT-6 Luna pricing · All comparisons