Enter opens the highlighted result. Esc closes.

Grok 4.20 vs Grok 4.7

Grok 4.7 leads Grok 4.20 on coding, 66.7 to 33.3 on the Vibe Coding Index, and Grok 4.20 costs 2.4x less per output token ($2.50 vs $6.00 per million). Updated October 21, 2026; 26 benchmarks have a result for both.

Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
1
Grok 4.7xAI
Coding
66.7
Overall
66.6
Output $/M
$6.00
25
vs boards won of 26 shared

Grok 4.20 or Grok 4.7: which to pick

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 for output tokens 2.4x cheaper ($2.50 vs $6.00 per million) and a larger context window (2M against 500K tokens).

Shared results
26
Grok 4.20 only
29
Grok 4.7 only
73
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
Grok 4.20 33.3 from 2 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
Widest category
Coding, 51.9 points apart on average over 3 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Grok 4.20 4.1% against Grok 4.7 86.2%, 82.1 points apart on a 0 to 100 scale.
Output price
Grok 4.20 $2.50 against Grok 4.7 $6.00 per million output tokens, 2.4x apart.
Context window
Grok 4.20 takes 2M 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
CategoryGrok 4.20BarsGrok 4.7Ties
Coding03
Intelligence02
Agentic work05
Reasoning12
Knowledge02
Web design06
General05
All shared boards125
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
LiveBench codingNot measured84.5%Only Grok 4.7 measured
LMArena WebDevNot measured1637Only Grok 4.7 measured
LiveCodeBench (Vals AI)84.3%Not measuredOnly Grok 4.20 measured
SWE-bench Verified (Vals AI)72.2%Not measuredOnly Grok 4.20 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)4.1%86.2%Grok 4.7
Code migration (Vals AI)0.3%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)44.2%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
SciCodeNot measured57.8%Only Grok 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)37.9%Not measuredOnly Grok 4.20 measured
Terminal-Bench57.3%Not measuredOnly Grok 4.20 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
WeirdML52.3%Not measuredOnly Grok 4.20 measured
LMArena Text: codingNot measured1432Only Grok 4.7 measured
LMArena Text: software and ITNot measured1421Only Grok 4.7 measured
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 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
AA Intelligence Index25.746.4Grok 4.7
Epoch Capabilities Index152.1154.4Grok 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
Design Arena: agents building web apps1144Not measuredOnly Grok 4.20 measured
Design Arena: agents building full-stack apps1054Not measuredOnly Grok 4.20 measured
Design Arena: agents building mobile apps1090Not measuredOnly Grok 4.20 measured
Design Arena: agents building Android apps1052Not measuredOnly Grok 4.20 measured
Design Arena: agents building Godot games1089Not measuredOnly Grok 4.20 measured
Design Arena: HTML slides1180Not measuredOnly Grok 4.20 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)28.5%52.3%Grok 4.7
Tax Agent Bench (Vals AI)7.0%34.2%Grok 4.7
Legal Research Bench (Vals AI)13.9%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)11.7%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 Telecom93.0%Not measuredOnly Grok 4.20 measured
APEX-AgentsNot measured54.6%Only Grok 4.7 measured
Vending-Bench 2$4,663$10,537Grok 4.7
Neither model has a result on the other 19 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index12
Reasoning benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
GPQA Diamond88.6%Not measuredOnly Grok 4.20 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)83.5%Not measuredOnly Grok 4.20 measured
GPQA Diamond (Artificial Analysis run)91.1%Not measuredOnly Grok 4.20 measured
Humanity's Last Exam (Artificial Analysis run)34.5%43.1%Grok 4.7
GPQA Diamond (Epoch AI run)Not measured92.7%Only Grok 4.7 measured
ARC-AGI89.5%90.2%Grok 4.7
ARC-AGI-265.1%61.4%Grok 4.20
Chess puzzlesNot measured41.0%Only Grok 4.7 measured
Mystery game puzzlesNot measured29.0%Only Grok 4.7 measured
LMArena Text: hard promptsNot measured1415Only Grok 4.7 measured
LMArena Text: expertNot measured1439Only Grok 4.7 measured
LMArena Text: hard prompts in EnglishNot measured1427Only Grok 4.7 measured
LMArena Vision: diagramsNot measured1254Only Grok 4.7 measured
LMArena Vision: homeworkNot measured1309Only Grok 4.7 measured
Kagi LLM Benchmark75.0%Not measuredOnly Grok 4.20 measured
Neither model has a result on the other 5 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
AIME96.5%Not measuredOnly Grok 4.20 measured
OTIS Mock AIMENot measured98.1%Only Grok 4.7 measured
FrontierMath, tiers 1 to 3Not measured53.0%Only Grok 4.7 measured
FrontierMath, tier 4Not measured17.1%Only Grok 4.7 measured
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: mathNot measured1414Only Grok 4.7 measured
LMArena Text: mathematical workNot measured1435Only Grok 4.7 measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index02
Knowledge benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
MMLU Pro86.3%Not measuredOnly Grok 4.20 measured
LegalBench (Vals AI)77.7%84.4%Grok 4.7
CaseLaw (Vals AI)54.4%Not measuredOnly Grok 4.20 measured
CorpFin (Vals AI)63.7%Not measuredOnly Grok 4.20 measured
TaxEval (Vals AI)74.1%Not measuredOnly Grok 4.20 measured
MortgageTax (Vals AI)45.4%Not measuredOnly Grok 4.20 measured
MedQA (Vals AI)94.5%Not measuredOnly Grok 4.20 measured
MedCode (Vals AI)32.2%49.5%Grok 4.7
SimpleQA VerifiedNot measured56.0%Only Grok 4.7 measured
LMArena Text: scienceNot measured1419Only Grok 4.7 measured
LMArena Text: medicine and healthcareNot measured1395Only Grok 4.7 measured
LMArena Text: legal and governmentNot measured1423Only Grok 4.7 measured
LMArena Text: business and financeNot measured1389Only Grok 4.7 measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 4.7Leader
Design Arena: websites12291254Grok 4.7
Design Arena: UI components11991275Grok 4.7
Design Arena: game dev11921313Grok 4.7
Design Arena: data viz12171235Grok 4.7
Design Arena: 3D11931270Grok 4.7
Design Arena: all code categories12211271Grok 4.7
Design Arena: SVG1164Not measuredOnly Grok 4.20 measured
Design Arena: ASCII art1174Not measuredOnly Grok 4.20 measured
LiveBench designNot measured78.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index05
General benchmarks for Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 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.2%40.8%Grok 4.7
MedScribe (Vals AI)63.4%89.4%Grok 4.7
Vals Multimodal Index39.1%Not measuredOnly Grok 4.20 measured
IFBench81.2%Not measuredOnly Grok 4.20 measured
Long context reasoning (AA-LCR)69.0%80.0%Grok 4.7
DTBench90.1%96.0%Grok 4.7
LMCA38.7%49.4%Grok 4.7
CL-bench22.2%Not measuredOnly Grok 4.20 measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
CL-bench Life11.9%Not measuredOnly Grok 4.20 measured
LMArena TextNot measured1399Only Grok 4.7 measured
LMArena Text: instruction followingNot measured1406Only Grok 4.7 measured
LMArena Text: creative writingNot measured1381Only Grok 4.7 measured
LMArena VisionNot measured1231Only Grok 4.7 measured
LMArena Text: EnglishNot measured1411Only Grok 4.7 measured
LMArena Text: non-EnglishNot measured1386Only Grok 4.7 measured
LMArena Text: ChineseNot measured1449Only Grok 4.7 measured
LMArena Text: GermanNot measured1366Only Grok 4.7 measured
LMArena Text: JapaneseNot measured1359Only Grok 4.7 measured
LMArena Text: KoreanNot measured1383Only Grok 4.7 measured
LMArena Text: FrenchNot measured1431Only Grok 4.7 measured
LMArena Text: SpanishNot measured1406Only Grok 4.7 measured
LMArena Text: RussianNot measured1399Only Grok 4.7 measured
LMArena Text: PolishNot measured1420Only Grok 4.7 measured
LMArena Text: multi-turnNot measured1394Only Grok 4.7 measured
LMArena Text: longer queriesNot measured1416Only Grok 4.7 measured
LMArena Text: writing and languageNot measured1394Only Grok 4.7 measured
LMArena Text: entertainment and mediaNot measured1376Only Grok 4.7 measured
LMArena Vision: EnglishNot measured1229Only Grok 4.7 measured
LMArena Vision: ChineseNot measured1250Only Grok 4.7 measured
LMArena Vision: reading textNot measured1241Only Grok 4.7 measured
LMArena Vision: creative writingNot measured1217Only Grok 4.7 measured
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 Grok 4.20 and Grok 4.7
BenchmarkGrok 4.20Grok 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

Grok 4.20$0.0025Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

Grok 4.20$0.070Fits in one request
Grok 4.7$0.118Fits in one request

Grok 4.20 costs less

Agent loop

200K input + 10K output tokens

Grok 4.20$0.275Fits in one request
Grok 4.7$0.460Fits in one request

Grok 4.20 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 Grok 4.20 and Grok 4.7
SpecificationSpaceXAI Grok 4.20SpaceXAI Grok 4.7
MakerxAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 31, 2026September 21, 2026
Context window2M500K
Input $/Mtok$1.25$2.00
Output $/Mtok$2.50$6.00
Coding index33.366.7
Independent measurements behind it25
Cost per solved task$0.72Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Grok 4.20 better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for output tokens 2.4x cheaper ($2.50 vs $6.00 per million) and a larger context window (2M against 500K tokens).

Which is cheaper, Grok 4.20 or Grok 4.7?

Grok 4.20 costs $1.25 per million input tokens and $2.50 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Grok 4.20 only.

Which has the bigger context window, Grok 4.20 or Grok 4.7?

Grok 4.20, with 2M tokens against 500K.

How many benchmarks is the Grok 4.20 vs Grok 4.7 comparison based on?

26 benchmarks have a result for both models as of October 21, 2026. Grok 4.20'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/grok-4-20-vs-grok-4-7" title="Grok 4.20 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/grok-4-20-vs-grok-4-7">LLMBenchmark.ai, Grok 4.20 vs Grok 4.7</a></p>