Enter opens the highlighted result. Esc closes.

Gemini 3.5 Flash vs Grok 4.20

Gemini 3.5 Flash leads Grok 4.20 on coding, 39.8 to 33.3 on the Vibe Coding Index, and Grok 4.20 costs 3.6x less per output token ($2.50 vs $9.00 per million). Updated October 21, 2026; 48 benchmarks have a result for both.

Gemini 3.5 FlashGoogle
Coding
39.8
Overall
63.8
Output $/M
$9.00
46
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
2
vs boards won of 48 shared

Gemini 3.5 Flash or Grok 4.20: which to pick

Pick Gemini 3.5 Flash for coding: it scores 39.8 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 for output tokens 3.6x cheaper ($2.50 vs $9.00 per million) and a lower cost per solved task ($0.72 against $1.21).

Shared results
48
Gemini 3.5 Flash only
64
Grok 4.20 only
7
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 3.5 Flash 39.8 from 4 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Coding, 18.5 points apart on average over 7 shared benchmarks.
Widest single gap
Excel Modeling Benchmark (Vals AI): Gemini 3.5 Flash 63.5% against Grok 4.20 11.7%, 51.8 points apart on a 0 to 100 scale.
Output price
Gemini 3.5 Flash $9.00 against Grok 4.20 $2.50 per million output tokens, 3.6x apart.
Context window
Gemini 3.5 Flash 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 3.5 FlashBarsGrok 4.20Ties
Coding70
Intelligence20
Agentic work111
Reasoning60
Knowledge60
Web design80
General61
All shared boards462
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
LMArena WebDev1499Not measuredOnly Gemini 3.5 Flash measured
LiveCodeBench (Vals AI)87.6%84.3%Gemini 3.5 Flash
SWE-bench Verified (Vals AI)78.8%72.2%Gemini 3.5 Flash
Terminal-Bench 4 (Vals AI)6.1%Not measuredOnly Gemini 3.5 Flash measured
Vibe Code Bench (Vals AI)48.7%4.1%Gemini 3.5 Flash
Code migration (Vals AI)26.8%0.3%Gemini 3.5 Flash
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench 2.1 (Vals AI)74.2%44.2%Gemini 3.5 Flash
SkillsBench (Vals AI)52.7%Not measuredOnly Gemini 3.5 Flash measured
SciCode53.9%Not measuredOnly Gemini 3.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)46.2%37.9%Gemini 3.5 Flash
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
WeirdML62.6%52.3%Gemini 3.5 Flash
ALE-Bench911.0Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: coding1493Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: software and IT1494Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: React1495Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: HTML1522Not measuredOnly Gemini 3.5 Flash measured
LMArena WebDev: from an image1504Not measuredOnly Gemini 3.5 Flash measured
SciCode12.3%Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
AA Intelligence Index33.625.7Gemini 3.5 Flash
Epoch Capabilities Index154.9152.1Gemini 3.5 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index111
Agentic work benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
Design Arena: agents building web apps12021144Gemini 3.5 Flash
Design Arena: agents building full-stack apps11971054Gemini 3.5 Flash
Design Arena: agents building mobile apps11741090Gemini 3.5 Flash
Design Arena: agents building Android apps11841052Gemini 3.5 Flash
Design Arena: agents building Godot games10981089Gemini 3.5 Flash
Design Arena: agents building games1180Not measuredOnly Gemini 3.5 Flash measured
Design Arena: HTML slides11421180Grok 4.20
Design Arena: PowerPoint slides1179Not measuredOnly Gemini 3.5 Flash measured
Finance Agent (Vals AI)57.9%28.5%Gemini 3.5 Flash
Tax Agent Bench (Vals AI)21.6%7.0%Gemini 3.5 Flash
Legal Research Bench (Vals AI)30.8%13.9%Gemini 3.5 Flash
Excel Modeling Benchmark (Vals AI)63.5%11.7%Gemini 3.5 Flash
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly Gemini 3.5 Flash measured
τ²-Bench Telecom95.6%93.0%Gemini 3.5 Flash
APEX-Agents27.5%Not measuredOnly Gemini 3.5 Flash measured
Vending-Bench 2$5,396$4,663Gemini 3.5 Flash
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
GPQA Diamond92.7%88.6%Gemini 3.5 Flash
MMMU Pro (Vals AI)88.3%83.5%Gemini 3.5 Flash
GPQA Diamond (Artificial Analysis run)92.2%91.1%Gemini 3.5 Flash
Humanity's Last Exam (Artificial Analysis run)42.7%34.5%Gemini 3.5 Flash
GPQA Diamond (Epoch AI run)92.8%Not measuredOnly Gemini 3.5 Flash measured
ARC-AGI92.5%89.5%Gemini 3.5 Flash
ARC-AGI-272.1%65.1%Gemini 3.5 Flash
SimpleBench76.7%Not measuredOnly Gemini 3.5 Flash measured
Chess puzzles45.0%Not measuredOnly Gemini 3.5 Flash measured
Mystery game puzzles32.0%Not measuredOnly Gemini 3.5 Flash measured
EBR-bench4.8%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts1488Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: expert1495Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: hard prompts in English1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: diagrams1323Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: homework1330Not measuredOnly Gemini 3.5 Flash measured
Kagi LLM BenchmarkNot measured75.0%Only 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 Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
OTIS Mock AIME95.6%Not measuredOnly Gemini 3.5 Flash measured
FrontierMath, tiers 1 to 362.8%Not measuredOnly Gemini 3.5 Flash measured
FrontierMath, tier 426.8%Not measuredOnly Gemini 3.5 Flash measured
ProofBench31.0%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: math1504Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: mathematical work1495Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
Knowledge benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
MMLU Pro89.5%86.3%Gemini 3.5 Flash
LegalBench (Vals AI)83.6%77.7%Gemini 3.5 Flash
CaseLaw (Vals AI)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)64.7%63.7%Gemini 3.5 Flash
TaxEval (Vals AI)74.4%74.1%Gemini 3.5 Flash
MortgageTax (Vals AI)68.1%45.4%Gemini 3.5 Flash
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)55.8%32.2%Gemini 3.5 Flash
SimpleQA Verified66.2%Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: science1495Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: medicine and healthcare1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: legal and government1488Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: business and finance1467Not measuredOnly Gemini 3.5 Flash measured
FACTS Benchmark Suite63.1%Not measuredOnly Gemini 3.5 Flash measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
Design Arena: websites12681229Gemini 3.5 Flash
Design Arena: UI components12731199Gemini 3.5 Flash
Design Arena: game dev12631192Gemini 3.5 Flash
Design Arena: data viz12361217Gemini 3.5 Flash
Design Arena: 3D12441193Gemini 3.5 Flash
Design Arena: all code categories12661221Gemini 3.5 Flash
Design Arena: SVG12541164Gemini 3.5 Flash
Design Arena: ASCII art12541174Gemini 3.5 Flash
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index61
General benchmarks for Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 4.20Leader
Public Benefits Bench (Vals AI)59.5%Not measuredOnly Gemini 3.5 Flash measured
SAGE (Vals AI)49.9%38.2%Gemini 3.5 Flash
MedScribe (Vals AI)76.6%63.4%Gemini 3.5 Flash
Vals Multimodal Index62.9%39.1%Gemini 3.5 Flash
IFBench76.3%81.2%Grok 4.20
Long context reasoning (AA-LCR)74.3%69.0%Gemini 3.5 Flash
DTBench94.7%90.1%Gemini 3.5 Flash
LMCA47.1%38.7%Gemini 3.5 Flash
CL-benchNot measured22.2%Only Grok 4.20 measured
Surface Evolver Bench58.1%Not measuredOnly Gemini 3.5 Flash measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1482Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: instruction following1467Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: creative writing1470Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision1308Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: English1481Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: non-English1475Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Chinese1527Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: German1494Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Japanese1486Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Korean1448Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: French1490Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Spanish1480Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Russian1493Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: Polish1516Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: multi-turn1481Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: longer queries1483Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: writing and language1478Not measuredOnly Gemini 3.5 Flash measured
LMArena Text: entertainment and media1459Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: English1305Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: Chinese1377Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: reading text1317Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: humor1321Not measuredOnly Gemini 3.5 Flash measured
LMArena Vision: creative writing1301Not measuredOnly Gemini 3.5 Flash measured
LMArena Document1463Not measuredOnly Gemini 3.5 Flash 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 Gemini 3.5 Flash and Grok 4.20
BenchmarkGemini 3.5 FlashGrok 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 3.5 Flash$0.0060Fits in one request
Grok 4.20$0.0025Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

Gemini 3.5 Flash$0.102Fits in one request
Grok 4.20$0.070Fits in one request

Grok 4.20 costs less

Agent loop

200K input + 10K output tokens

Gemini 3.5 Flash$0.390Fits 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 3.5 Flash and Grok 4.20
SpecificationGoogle Gemini 3.5 FlashSpaceXAI Grok 4.20
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 19, 2026March 31, 2026
Context window1.05M2M
Input $/Mtok$1.50$1.25
Output $/Mtok$9.00$2.50
Coding index39.833.3
Independent measurements behind it42
Cost per solved task$1.21$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.5 Flash better than Grok 4.20 for coding?

Pick Gemini 3.5 Flash for coding: it scores 39.8 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for output tokens 3.6x cheaper ($2.50 vs $9.00 per million) and a lower cost per solved task ($0.72 against $1.21).

Which is cheaper, Gemini 3.5 Flash or Grok 4.20?

Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Gemini 3.5 Flash costs $1.21 and Grok 4.20 $0.72.

Which has the bigger context window, Gemini 3.5 Flash or Grok 4.20?

Grok 4.20, with 2M tokens against 1.05M.

How many benchmarks is the Gemini 3.5 Flash vs Grok 4.20 comparison based on?

48 benchmarks have a result for both models as of October 21, 2026. Gemini 3.5 Flash's coding index rests on 4 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-3-5-flash-vs-grok-4-20" title="Gemini 3.5 Flash 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-3-5-flash-vs-grok-4-20">LLMBenchmark.ai, Gemini 3.5 Flash vs Grok 4.20</a></p>