Enter opens the highlighted result. Esc closes.

GPT-5.4 Nano vs Grok 4.7

Grok 4.7 leads GPT-5.4 Nano on coding, 66.7 to 44.8 on the Vibe Coding Index, and GPT-5.4 Nano costs 4.8x less per output token ($1.25 vs $6.00 per million). Updated October 22, 2026; 63 benchmarks have a result for both.

GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
2
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
61
vs boards won of 63 shared

GPT-5.4 Nano or Grok 4.7: which to pick

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 44.8 for GPT-5.4 Nano.

Pick GPT-5.4 Nano for output tokens 4.8x cheaper ($1.25 vs $6.00 per million) and work measured by Chess puzzles or LMArena Text: German, where it leads.

Shared results
63
GPT-5.4 Nano only
22
Grok 4.7 only
36
Like-for-like categories
7 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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.4 Nano 44.8 from 2 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Agentic work, 26.6 points apart on average over 4 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GPT-5.4 Nano 26.1% against Grok 4.7 86.2%, 60.1 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Nano $1.25 against Grok 4.7 $6.00 per million output tokens, 4.8x apart.
Context window
GPT-5.4 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.

Boards won, where both have a result
CategoryGPT-5.4 NanoBarsGrok 4.7Ties
Coding06
Intelligence02
Agentic work04
Reasoning110
Math06
Knowledge07
General126
All shared boards261
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDevNot measured1637Only Grok 4.7 measured
AA Coding Index56.1Not measuredOnly GPT-5.4 Nano measured
LiveCodeBench (Vals AI)84.0%Not measuredOnly GPT-5.4 Nano measured
SWE-bench Verified (Vals AI)69.8%Not measuredOnly GPT-5.4 Nano measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)26.1%86.2%Grok 4.7
Code migration (Vals AI)14.5%44.8%Grok 4.7
ProgramBench (Vals AI)Not measured0.5%Only Grok 4.7 measured
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)41.6%73.4%Grok 4.7
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
SciCode47.2%57.8%Grok 4.7
Terminal-Bench Hard (Artificial Analysis run)42.4%Not measuredOnly GPT-5.4 Nano measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML49.2%Not measuredOnly GPT-5.4 Nano measured
ALE-Bench1004.5Not measuredOnly GPT-5.4 Nano measured
LMArena Text: coding14041432Grok 4.7
LMArena Text: software and IT14021421Grok 4.7
LMArena WebDev: ReactNot measured1663Only Grok 4.7 measured
LMArena WebDev: HTMLNot measured1627Only Grok 4.7 measured
LMArena WebDev: from an imageNot measured1586Only Grok 4.7 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
AA Intelligence Index20.746.4Grok 4.7
Epoch Capabilities Index146.0154.4Grok 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
AA Agentic Index16.0Not measuredOnly GPT-5.4 Nano measured
LiveBench researchNot measured86.4%Only Grok 4.7 measured
LiveBench browserNot measured60.0%Only Grok 4.7 measured
LiveBench long agenticNot measured50.1%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.8%Only Grok 4.7 measured
Finance Agent (Vals AI)38.2%52.3%Grok 4.7
Tax Agent Bench (Vals AI)5.0%34.2%Grok 4.7
Legal Research Bench (Vals AI)6.3%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)44.8%67.0%Grok 4.7
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)Not measured10.0%Only Grok 4.7 measured
Vals Science IndexNot measured34.8%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.2%Only Grok 4.7 measured
τ²-Bench Telecom76.0%Not measuredOnly GPT-5.4 Nano measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
Vending-Bench 2Not measured$10,537Only Grok 4.7 measured
Neither model has a result on the other 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index110
Reasoning benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
GPQA Diamond77.5%Not measuredOnly GPT-5.4 Nano measured
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
MMMU Pro (Vals AI)73.6%Not measuredOnly GPT-5.4 Nano measured
GPQA Diamond (Artificial Analysis run)81.7%Not measuredOnly GPT-5.4 Nano measured
Humanity's Last Exam (Artificial Analysis run)28.3%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)78.5%92.7%Grok 4.7
ARC-AGI51.5%90.2%Grok 4.7
ARC-AGI-25.7%61.4%Grok 4.7
Chess puzzles45.0%41.0%GPT-5.4 Nano
Mystery game puzzles9.0%29.0%Grok 4.7
LMArena Text: hard prompts13811415Grok 4.7
LMArena Text: expert13961439Grok 4.7
LMArena Text: hard prompts in English13871427Grok 4.7
LMArena Vision: diagrams12101254Grok 4.7
LMArena Vision: homework12251309Grok 4.7
Kagi LLM Benchmark39.7%Not measuredOnly GPT-5.4 Nano measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
AIME88.8%Not measuredOnly GPT-5.4 Nano measured
OTIS Mock AIME87.8%98.1%Grok 4.7
FrontierMath, tiers 1 to 344.9%53.0%Grok 4.7
FrontierMath, tier 412.2%17.1%Grok 4.7
ProofBench5.0%26.0%Grok 4.7
LMArena Text: math14051414Grok 4.7
LMArena Text: mathematical work14091435Grok 4.7
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index07
Knowledge benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
MMLU Pro77.2%Not measuredOnly GPT-5.4 Nano measured
LegalBench (Vals AI)77.9%84.4%Grok 4.7
CaseLaw (Vals AI)51.9%Not measuredOnly GPT-5.4 Nano measured
CorpFin (Vals AI)61.2%Not measuredOnly GPT-5.4 Nano measured
TaxEval (Vals AI)67.4%Not measuredOnly GPT-5.4 Nano measured
MortgageTax (Vals AI)59.1%Not measuredOnly GPT-5.4 Nano measured
MedCode (Vals AI)41.0%49.5%Grok 4.7
SimpleQA Verified11.7%56.0%Grok 4.7
LMArena Text: science13741419Grok 4.7
LMArena Text: medicine and healthcare13691395Grok 4.7
LMArena Text: legal and government13681423Grok 4.7
LMArena Text: business and finance13661389Grok 4.7
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
Design Arena: websitesNot measured1255Only Grok 4.7 measured
Design Arena: UI componentsNot measured1275Only Grok 4.7 measured
Design Arena: game devNot measured1314Only Grok 4.7 measured
Design Arena: data vizNot measured1238Only Grok 4.7 measured
Design Arena: 3DNot measured1274Only Grok 4.7 measured
Design Arena: all code categoriesNot measured1273Only Grok 4.7 measured
LiveBench designNot measured78.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 index126
General benchmarks for GPT-5.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 4.7Leader
Vals IndexNot measured58.6%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)38.1%40.8%Grok 4.7
MedScribe (Vals AI)77.1%89.4%Grok 4.7
Vals Multimodal Index47.6%Not measuredOnly GPT-5.4 Nano measured
IFBench75.9%Not measuredOnly GPT-5.4 Nano measured
Long context reasoning (AA-LCR)76.7%80.0%Grok 4.7
DTBench80.3%96.0%Grok 4.7
LMCA36.9%49.4%Grok 4.7
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
LMArena Text13721399Grok 4.7
LMArena Text: instruction following13621406Grok 4.7
LMArena Text: creative writing13151381Grok 4.7
LMArena Vision11961231Grok 4.7
LMArena Text: English13811411Grok 4.7
LMArena Text: non-English13591386Grok 4.7
LMArena Text: Chinese13911449Grok 4.7
LMArena Text: German13681366GPT-5.4 Nano
LMArena Text: Japanese13431359Grok 4.7
LMArena Text: Korean13211383Grok 4.7
LMArena Text: French13951431Grok 4.7
LMArena Text: Spanish13711406Grok 4.7
LMArena Text: Russian13631399Grok 4.7
LMArena Text: Polish13661420Grok 4.7
LMArena Text: multi-turn13821394Grok 4.7
LMArena Text: longer queries13651416Grok 4.7
LMArena Text: writing and language13381394Grok 4.7
LMArena Text: entertainment and media13251376Grok 4.7
LMArena Vision: English12021229Grok 4.7
LMArena Vision: Chinese12321250Grok 4.7
LMArena Vision: reading text12041241Grok 4.7
LMArena Vision: humor1161Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: recognizing things1141Not measuredOnly GPT-5.4 Nano measured
LMArena Vision: creative writing11591217Grok 4.7
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.4 Nano and Grok 4.7
BenchmarkGPT-5.4 NanoGrok 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.4 Nano$0.0008Fits in one request
Grok 4.7$0.0050Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Nano$0.014Fits in one request
Grok 4.7$0.118Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Nano$0.052Fits in one request
Grok 4.7$0.460Fits in one request

GPT-5.4 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.

Specifications of GPT-5.4 Nano and Grok 4.7
SpecificationOpenAI GPT-5.4 NanoSpaceXAI Grok 4.7
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 17, 2026September 21, 2026
Context window400K500K
Input $/Mtok$0.20$2.00
Output $/Mtok$1.25$6.00
Coding index44.866.7
Independent measurements behind it25
Cost per solved task$0.14Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 Nano better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 44.8 for GPT-5.4 Nano. Pick GPT-5.4 Nano for output tokens 4.8x cheaper ($1.25 vs $6.00 per million) and work measured by Chess puzzles or LMArena Text: German, where it leads.

Which is cheaper, GPT-5.4 Nano or Grok 4.7?

GPT-5.4 Nano costs $0.20 per million input tokens and $1.25 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GPT-5.4 Nano only.

Which has the bigger context window, GPT-5.4 Nano or Grok 4.7?

Grok 4.7, with 500K tokens against 400K.

How many benchmarks is the GPT-5.4 Nano vs Grok 4.7 comparison based on?

63 benchmarks have a result for both models as of October 22, 2026. GPT-5.4 Nano's coding index rests on 2 independent benchmarks and Grok 4.7's on 5. 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-4-nano-vs-grok-4-7" title="GPT-5.4 Nano 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-4-nano-vs-grok-4-7">LLMBenchmark.ai, GPT-5.4 Nano vs Grok 4.7</a></p>