GPT-5 Nano vs Grok 4.7
Updated October 21, 2026. 59 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 34.8 for GPT-5 Nano.
Pick GPT-5 Nano when output tokens cost 15.0x less.
- Shared results
- 59
- GPT-5 Nano only
- 26
- Grok 4.7 only
- 40
- Like-for-like categories
- 7 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 34.8.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 13.0.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-5 Nano has a GPQA Diamond result, 63.4%.
Directional only
Math
AIME
No call
Only GPT-5 Nano has a AIME result, 81.2%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5 Nano has a MMLU Pro result, 76.1%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 1101.
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
Grok 4.7
Grok 4.7 takes 500K tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5 Nano
GPT-5 Nano $0.0003, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5 Nano has the number, $0.109.
Directional only
At a glance
- Coding index
- GPT-5 Nano 34.8 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Reasoning, 28.8 points apart on average over 11 shared benchmarks.
- Widest single gap
- ARC-AGI: GPT-5 Nano 20.7% against Grok 4.7 90.2%, 69.5 points apart on a 0 to 100 scale.
- Output price
- GPT-5 Nano $0.40 against Grok 4.7 $6.00 per million output tokens, 15.0x apart.
- Context window
- GPT-5 Nano takes 400K 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 Nano | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 0 | 2 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 0 | 11 | ||
| Math | 0 | 6 | ||
| Knowledge | 0 | 7 | ||
| Web design | 0 | 6 | ||
| General | 0 | 25 | ||
| All shared boards | 0 | 59 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index02
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| SWE-bench Verified | 34.8% | Not measured | Only GPT-5 Nano measured |
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | Not measured | 1637 | Only Grok 4.7 measured |
| LiveCodeBench (Vals AI) | 70.2% | Not measured | Only GPT-5 Nano measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | Not measured | 86.2% | Only Grok 4.7 measured |
| Code migration (Vals AI) | Not measured | 44.8% | Only Grok 4.7 measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only Grok 4.7 measured |
| IOI (Vals AI) | Not measured | 57.7% | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 73.4% | Only Grok 4.7 measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| CyberBench (Vals AI) | Not measured | 69.5% | Only Grok 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | 78.9% | Not measured | Only GPT-5 Nano measured |
| SciCode | Not measured | 57.8% | Only Grok 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 17.4% | Not measured | Only GPT-5 Nano measured |
| Terminal-Bench | 21.8% | Not measured | Only GPT-5 Nano measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 38.1% | Not measured | Only GPT-5 Nano measured |
| LMArena Text: coding | 1351 | 1432 | Grok 4.7 |
| LMArena Text: software and IT | 1345 | 1421 | Grok 4.7 |
| LMArena WebDev: React | Not measured | 1663 | Only Grok 4.7 measured |
| LMArena WebDev: HTML | Not measured | 1627 | Only Grok 4.7 measured |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 13.0 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 139.2 | 154.4 | Grok 4.7 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench research | Not measured | 86.4% | Only Grok 4.7 measured |
| LiveBench browser | Not measured | 60.0% | Only Grok 4.7 measured |
| LiveBench long agentic | Not measured | 50.1% | Only Grok 4.7 measured |
| SREBench (Vals AI) | Not measured | 3.8% | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | Not measured | 52.3% | Only Grok 4.7 measured |
| Tax Agent Bench (Vals AI) | Not measured | 34.2% | Only Grok 4.7 measured |
| Legal Research Bench (Vals AI) | Not measured | 47.1% | Only Grok 4.7 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 67.0% | Only Grok 4.7 measured |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 10.0% | Only Grok 4.7 measured |
| Vals Science Index | Not measured | 34.8% | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| τ²-Bench Telecom | 36.5% | Not measured | Only GPT-5 Nano measured |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 23 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index011
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 63.4% | Not measured | Only GPT-5 Nano measured |
| LiveBench reasoning | Not measured | 82.7% | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | 70.9% | Not measured | Only GPT-5 Nano measured |
| GPQA Diamond (Artificial Analysis run) | 67.6% | Not measured | Only GPT-5 Nano measured |
| Humanity's Last Exam (Artificial Analysis run) | 9.5% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 69.4% | 92.7% | Grok 4.7 |
| ARC-AGI | 20.7% | 90.2% | Grok 4.7 |
| ARC-AGI-2 | 2.6% | 61.4% | Grok 4.7 |
| Chess puzzles | 22.0% | 41.0% | Grok 4.7 |
| Mystery game puzzles | 9.0% | 29.0% | Grok 4.7 |
| VPCT | 37.2% | Not measured | Only GPT-5 Nano measured |
| LMArena Text: hard prompts | 1328 | 1415 | Grok 4.7 |
| LMArena Text: expert | 1321 | 1439 | Grok 4.7 |
| LMArena Text: hard prompts in English | 1338 | 1427 | Grok 4.7 |
| LMArena Vision: diagrams | 1141 | 1254 | Grok 4.7 |
| LMArena Vision: homework | 1157 | 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 index06
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| AIME | 81.2% | Not measured | Only GPT-5 Nano measured |
| MATH 500 (Vals AI) | 93.8% | Not measured | Only GPT-5 Nano measured |
| MGSM (Vals AI) | 89.3% | Not measured | Only GPT-5 Nano measured |
| AA Math Index | 83.7 | Not measured | Only GPT-5 Nano measured |
| AIME 2025 (Artificial Analysis run) | 83.7% | Not measured | Only GPT-5 Nano measured |
| OTIS Mock AIME | 81.1% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 20.0% | 53.0% | Grok 4.7 |
| FrontierMath, tier 4 | 2.4% | 17.1% | Grok 4.7 |
| ProofBench | 12.0% | 26.0% | Grok 4.7 |
| MATH level 5 | 95.2% | Not measured | Only GPT-5 Nano measured |
| LMArena Text: math | 1317 | 1414 | Grok 4.7 |
| LMArena Text: mathematical work | 1326 | 1435 | Grok 4.7 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 76.1% | Not measured | Only GPT-5 Nano measured |
| LegalBench (Vals AI) | 50.1% | 84.4% | Grok 4.7 |
| CaseLaw (Vals AI) | 52.6% | Not measured | Only GPT-5 Nano measured |
| TaxEval (Vals AI) | 67.4% | Not measured | Only GPT-5 Nano measured |
| MortgageTax (Vals AI) | 53.6% | Not measured | Only GPT-5 Nano measured |
| MedQA (Vals AI) | 93.3% | Not measured | Only GPT-5 Nano measured |
| MedCode (Vals AI) | 30.4% | 49.5% | Grok 4.7 |
| MMLU Pro (Artificial Analysis run) | 78.0% | Not measured | Only GPT-5 Nano measured |
| SimpleQA Verified | 11.7% | 56.0% | Grok 4.7 |
| LMArena Text: science | 1318 | 1419 | Grok 4.7 |
| LMArena Text: medicine and healthcare | 1335 | 1395 | Grok 4.7 |
| LMArena Text: legal and government | 1298 | 1423 | Grok 4.7 |
| LMArena Text: business and finance | 1311 | 1389 | Grok 4.7 |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1101 | 1255 | Grok 4.7 |
| Design Arena: UI components | 1066 | 1271 | Grok 4.7 |
| Design Arena: game dev | 1045 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1056 | 1227 | Grok 4.7 |
| Design Arena: 3D | 966 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1084 | 1271 | Grok 4.7 |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index025
| Benchmark | GPT-5 Nano | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | Not measured | 76.9% | Only Grok 4.7 measured |
| Public Benefits Bench (Vals AI) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | 30.4% | 40.8% | Grok 4.7 |
| MedScribe (Vals AI) | 72.9% | 89.4% | Grok 4.7 |
| IFBench | 67.6% | Not measured | Only GPT-5 Nano measured |
| Long context reasoning (AA-LCR) | 45.0% | 80.0% | Grok 4.7 |
| DTBench | 62.7% | 96.0% | Grok 4.7 |
| LMCA | 7.9% | 49.4% | Grok 4.7 |
| Fiction.LiveBench | 44.4% | Not measured | Only GPT-5 Nano measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1320 | 1399 | Grok 4.7 |
| LMArena Text: instruction following | 1306 | 1406 | Grok 4.7 |
| LMArena Text: creative writing | 1249 | 1381 | Grok 4.7 |
| LMArena Vision | 1159 | 1231 | Grok 4.7 |
| LMArena Text: English | 1321 | 1411 | Grok 4.7 |
| LMArena Text: non-English | 1313 | 1386 | Grok 4.7 |
| LMArena Text: Chinese | 1356 | 1449 | Grok 4.7 |
| LMArena Text: German | 1327 | 1366 | Grok 4.7 |
| LMArena Text: Japanese | 1227 | 1359 | Grok 4.7 |
| LMArena Text: Korean | 1269 | 1383 | Grok 4.7 |
| LMArena Text: French | Not measured | 1431 | Only Grok 4.7 measured |
| LMArena Text: Spanish | 1360 | 1406 | Grok 4.7 |
| LMArena Text: Russian | 1296 | 1399 | Grok 4.7 |
| LMArena Text: Polish | 1314 | 1420 | Grok 4.7 |
| LMArena Text: multi-turn | 1311 | 1394 | Grok 4.7 |
| LMArena Text: longer queries | 1312 | 1416 | Grok 4.7 |
| LMArena Text: writing and language | 1283 | 1394 | Grok 4.7 |
| LMArena Text: entertainment and media | 1268 | 1376 | Grok 4.7 |
| LMArena Vision: English | 1170 | 1229 | Grok 4.7 |
| LMArena Vision: Chinese | 1176 | 1250 | Grok 4.7 |
| LMArena Vision: reading text | 1152 | 1241 | Grok 4.7 |
| LMArena Vision: humor | 1110 | Not measured | Only GPT-5 Nano measured |
| LMArena Vision: creative writing | Not measured | 1217 | Only Grok 4.7 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5 Nano | 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 Nano costs less
Repository review
50K input + 3K output tokens
GPT-5 Nano costs less
Agent loop
200K input + 10K output tokens
GPT-5 Nano 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 Nano | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | OpenAI | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | August 7, 2025 | September 21, 2026 |
| Context window | 400K | 500K |
| Input $/Mtok | $0.05 | $2.00 |
| Output $/Mtok | $0.40 | $6.00 |
| Coding index | 34.8 | 75.0 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $0.109 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5 Nano better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 34.8 for GPT-5 Nano. Pick GPT-5 Nano when output tokens cost 15.0x less.
Which is cheaper, GPT-5 Nano or Grok 4.7?
GPT-5 Nano costs $0.05 per million input tokens and $0.40 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GPT-5 Nano only.
Which has the bigger context window, GPT-5 Nano or Grok 4.7?
Grok 4.7, with 500K tokens against 400K.
How many benchmarks is the GPT-5 Nano vs Grok 4.7 comparison based on?
59 benchmarks have a result for both models as of October 21, 2026. GPT-5 Nano's coding index rests on 1 independent benchmark and Grok 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.