Enter opens the highlighted result. Esc closes.

Gemini 2.5 Pro vs Grok 4.20

Grok 4.20 leads Gemini 2.5 Pro on coding, 33.3 to 19.1 on the Vibe Coding Index, and Grok 4.20 costs 4.0x less per output token ($2.50 vs $10.00 per million). Updated October 21, 2026; 29 benchmarks have a result for both.

Gemini 2.5 ProGoogle
Coding
19.1
Overall
16.1
Output $/M
$10.00
7
Grok 4.20xAI
Coding
33.3
Overall
25.7
Output $/M
$2.50
21
vs boards won of 29 shared, 1 tied

Gemini 2.5 Pro or Grok 4.20: which to pick

Pick Grok 4.20 for coding: it scores 33.3 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro, though on 2 benchmarks against 3.

Pick Gemini 2.5 Pro for a lower cost per solved task ($0.64 against $0.72) and work measured by WeirdML or CaseLaw (Vals AI), where it leads.

Shared results
29
Gemini 2.5 Pro only
58
Grok 4.20 only
25
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
Gemini 2.5 Pro 19.1 from 3 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Agentic work, 32.2 points apart on average over 2 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 2.5 Pro 4.9% against Grok 4.20 65.1%, 60.3 points apart on a 0 to 100 scale.
Output price
Gemini 2.5 Pro $10.00 against Grok 4.20 $2.50 per million output tokens, 4.0x apart.
Context window
Gemini 2.5 Pro takes 1.05M tokens, Grok 4.20 2M.

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
CategoryGemini 2.5 ProBarsGrok 4.20Ties
Coding14
Intelligence02
Agentic work02
Reasoning04
Knowledge31
Web design15
General231 tie
All shared boards7211 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index14
Coding benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
SWE-bench Verified53.6%Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev1226Not measuredOnly Gemini 2.5 Pro measured
AA Coding Index33.3Not measuredOnly Gemini 2.5 Pro measured
LiveCodeBench (Vals AI)Not measured84.3%Only Grok 4.20 measured
SWE-bench Verified (Vals AI)54.4%72.2%Grok 4.20
Vibe Code Bench (Vals AI)0.4%4.1%Grok 4.20
Code migration (Vals AI)Not measured0.3%Only Grok 4.20 measured
Terminal-Bench 2.1 (Vals AI)Not measured44.2%Only Grok 4.20 measured
LiveCodeBench (Artificial Analysis run)80.1%Not measuredOnly Gemini 2.5 Pro measured
SciCode46.3%Not measuredOnly Gemini 2.5 Pro measured
Terminal-Bench Hard (Artificial Analysis run)26.5%37.9%Grok 4.20
Terminal-Bench32.6%57.3%Grok 4.20
GSO-Bench3.9%Not measuredOnly Gemini 2.5 Pro measured
WeirdML54.0%52.3%Gemini 2.5 Pro
LMArena Text: coding1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: software and IT1459Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: HTML1235Not measuredOnly Gemini 2.5 Pro measured
LMArena WebDev: from an image1285Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
AA Intelligence Index16.125.7Grok 4.20
Epoch Capabilities Index145.1152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
AA Agentic Index1.6Not measuredOnly Gemini 2.5 Pro measured
Design Arena: agents building web appsNot measured1144Only Grok 4.20 measured
Design Arena: agents building full-stack appsNot measured1054Only Grok 4.20 measured
Design Arena: agents building mobile appsNot measured1090Only Grok 4.20 measured
Design Arena: agents building Android appsNot measured1052Only Grok 4.20 measured
Design Arena: agents building Godot gamesNot measured1089Only Grok 4.20 measured
Design Arena: HTML slidesNot measured1180Only Grok 4.20 measured
Finance Agent (Vals AI)Not measured28.5%Only Grok 4.20 measured
Tax Agent Bench (Vals AI)Not measured7.0%Only Grok 4.20 measured
Legal Research Bench (Vals AI)Not measured13.9%Only Grok 4.20 measured
Excel Modeling Benchmark (Vals AI)Not measured11.7%Only Grok 4.20 measured
τ²-Bench Telecom54.1%93.0%Grok 4.20
GDPval23.3%Not measuredOnly Gemini 2.5 Pro measured
DeepResearch Bench41.5%Not measuredOnly Gemini 2.5 Pro measured
Vending-Bench 2$574$4,663Grok 4.20
Neither model has a result on the other 24 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
GPQA DiamondNot measured88.6%Only Grok 4.20 measured
MMMU Pro (Vals AI)Not measured83.5%Only Grok 4.20 measured
GPQA Diamond (Artificial Analysis run)84.4%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)22.5%34.5%Grok 4.20
GPQA Diamond (Epoch AI run)85.3%Not measuredOnly Gemini 2.5 Pro measured
ARC-AGI41.0%89.5%Grok 4.20
ARC-AGI-24.9%65.1%Grok 4.20
LMArena Text: hard prompts1455Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: expert1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: hard prompts in English1453Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: diagrams1274Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: homework1281Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Math benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
AA Math Index87.7Not measuredOnly Gemini 2.5 Pro measured
AIME 2025 (Artificial Analysis run)87.7%Not measuredOnly Gemini 2.5 Pro measured
OTIS Mock AIME84.7%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tiers 1 to 324.6%Not measuredOnly Gemini 2.5 Pro measured
FrontierMath, tier 40.0%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: math1450Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: mathematical work1454Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
MMLU ProNot measured86.3%Only Grok 4.20 measured
LegalBench (Vals AI)Not measured77.7%Only Grok 4.20 measured
CaseLaw (Vals AI)63.9%54.4%Gemini 2.5 Pro
CorpFin (Vals AI)60.8%63.7%Grok 4.20
TaxEval (Vals AI)Not measured74.1%Only Grok 4.20 measured
MortgageTax (Vals AI)68.9%45.4%Gemini 2.5 Pro
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)50.6%32.2%Gemini 2.5 Pro
MMLU Pro (Artificial Analysis run)86.2%Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: science1480Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: medicine and healthcare1476Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: legal and government1480Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: business and finance1439Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index15
Web design benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
Design Arena: websites11671229Grok 4.20
Design Arena: UI components11401199Grok 4.20
Design Arena: game dev11111192Grok 4.20
Design Arena: data viz12211217Gemini 2.5 Pro
Design Arena: 3D10811193Grok 4.20
Design Arena: all code categories11521221Grok 4.20
Design Arena: SVGNot measured1164Only Grok 4.20 measured
Design Arena: ASCII artNot measured1174Only Grok 4.20 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index23
General benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
SAGE (Vals AI)41.9%38.2%Gemini 2.5 Pro
MedScribe (Vals AI)73.5%63.4%Gemini 2.5 Pro
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBench48.7%81.2%Grok 4.20
Long context reasoning (AA-LCR)69.0%69.0%Tie
DTBench82.4%90.1%Grok 4.20
LMCA34.8%38.7%Grok 4.20
Creative writing (Lech Mazur)83.8%Not measuredOnly Gemini 2.5 Pro measured
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1458Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: instruction following1437Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: creative writing1454Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision1263Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: English1458Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: non-English1452Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Chinese1507Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: German1487Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Japanese1461Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Korean1434Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: French1473Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Spanish1474Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Russian1461Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: Polish1479Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: multi-turn1453Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: longer queries1449Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: writing and language1454Not measuredOnly Gemini 2.5 Pro measured
LMArena Text: entertainment and media1441Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: English1261Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: Chinese1300Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: reading text1270Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: humor1262Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: captioning1304Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: recognizing things1283Not measuredOnly Gemini 2.5 Pro measured
LMArena Vision: creative writing1265Not measuredOnly Gemini 2.5 Pro measured
LMArena Document1421Not measuredOnly Gemini 2.5 Pro measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemini 2.5 Pro and Grok 4.20
BenchmarkGemini 2.5 ProGrok 4.20Leader
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

Gemini 2.5 Pro$0.0063Fits in one request
Grok 4.20$0.0025Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Pro$0.092Fits in one request
Grok 4.20$0.070Fits in one request

Grok 4.20 costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Pro$0.350Fits in one request
Grok 4.20$0.275Fits 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 Gemini 2.5 Pro and Grok 4.20
SpecificationGoogle Gemini 2.5 ProSpaceXAI Grok 4.20
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025March 31, 2026
Context window1.05M2M
Input $/Mtok$1.25$1.25
Output $/Mtok$10.00$2.50
Coding index19.133.3
Independent measurements behind it32
Cost per solved task$0.64$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Pro better than Grok 4.20 for coding?

Pick Grok 4.20 for coding: it scores 33.3 on the Vibe Coding Index against 19.1 for Gemini 2.5 Pro, though on 2 benchmarks against 3. Pick Gemini 2.5 Pro for a lower cost per solved task ($0.64 against $0.72) and work measured by WeirdML or CaseLaw (Vals AI), where it leads.

Which is cheaper, Gemini 2.5 Pro or Grok 4.20?

Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Gemini 2.5 Pro costs $0.64 and Grok 4.20 $0.72.

Which has the bigger context window, Gemini 2.5 Pro or Grok 4.20?

Grok 4.20, with 2M tokens against 1.05M.

How many benchmarks is the Gemini 2.5 Pro vs Grok 4.20 comparison based on?

29 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro's coding index rests on 3 independent benchmarks and Grok 4.20's on 2. 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/gemini-2-5-pro-vs-grok-4-20" title="Gemini 2.5 Pro vs Grok 4.20, 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/gemini-2-5-pro-vs-grok-4-20">LLMBenchmark.ai, Gemini 2.5 Pro vs Grok 4.20</a></p>