Enter opens the highlighted result. Esc closes.

Gemini 3.7 Flash vs Grok 4.20

Gemini 3.7 Flash leads Grok 4.20 on coding, 58.0 to 33.3 on the Vibe Coding Index, and Grok 4.20 costs 1.5x less per output token ($2.50 vs $3.75 per million). Updated October 21, 2026; 40 benchmarks have a result for both.

Gemini 3.7 FlashGoogle
Coding
58.0
Overall
39.6
Output $/M
$3.75
40
Grok 4.20xAI
Coding
33.3
Overall
25.7
Output $/M
$2.50
0
vs boards won of 40 shared

Gemini 3.7 Flash or Grok 4.20: which to pick

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

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

Shared results
40
Gemini 3.7 Flash only
72
Grok 4.20 only
14
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.7 Flash 58.0 from 6 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Coding, 29.4 points apart on average over 5 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): Gemini 3.7 Flash 70.4% against Grok 4.20 4.1%, 66.3 points apart on a 0 to 100 scale.
Output price
Gemini 3.7 Flash $3.75 against Grok 4.20 $2.50 per million output tokens, 1.5x apart.
Context window
Gemini 3.7 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.7 FlashBarsGrok 4.20Ties
Coding50
Intelligence20
Agentic work90
Reasoning60
Knowledge50
Web design80
General50
All shared boards400
CodingLike-for-likeSix of these boards feed the Vibe Coding Index50
Coding benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
LiveBench coding80.5%Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev1591Not measuredOnly Gemini 3.7 Flash measured
AA Coding Index71.5Not measuredOnly Gemini 3.7 Flash measured
LiveCodeBench (Vals AI)88.7%84.3%Gemini 3.7 Flash
SWE-bench Verified (Vals AI)80.8%72.2%Gemini 3.7 Flash
Terminal-Bench 4 (Vals AI)12.1%Not measuredOnly Gemini 3.7 Flash measured
Vibe Code Bench (Vals AI)70.4%4.1%Gemini 3.7 Flash
Code migration (Vals AI)34.8%0.3%Gemini 3.7 Flash
ProgramBench (Vals AI)0.0%Not measuredOnly Gemini 3.7 Flash measured
IOI (Vals AI)67.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench 2.1 (Vals AI)77.5%44.2%Gemini 3.7 Flash
SkillsBench (Vals AI)65.9%Not measuredOnly Gemini 3.7 Flash measured
CyberBench (Vals AI)43.8%Not measuredOnly Gemini 3.7 Flash measured
SciCode59.8%Not measuredOnly Gemini 3.7 Flash measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only Grok 4.20 measured
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
FrontierCode43.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierSWE20.3%Not measuredOnly Gemini 3.7 Flash measured
WeirdMLNot measured52.3%Only Grok 4.20 measured
ALE-Bench904.3Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: coding1499Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: software and IT1498Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: React1587Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: HTML1593Not measuredOnly Gemini 3.7 Flash measured
LMArena WebDev: from an image1599Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 13 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
AA Intelligence Index39.625.7Gemini 3.7 Flash
Epoch Capabilities Index158.0152.1Gemini 3.7 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index90
Agentic work benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
Design Arena: agents building web apps12231144Gemini 3.7 Flash
Design Arena: agents building full-stack apps12081054Gemini 3.7 Flash
Design Arena: agents building mobile apps12301090Gemini 3.7 Flash
Design Arena: agents building Android apps12421052Gemini 3.7 Flash
Design Arena: agents building Godot games12641089Gemini 3.7 Flash
Design Arena: agents building games1235Not measuredOnly Gemini 3.7 Flash measured
Design Arena: HTML slidesNot measured1180Only Grok 4.20 measured
Design Arena: spreadsheets1053Not measuredOnly Gemini 3.7 Flash measured
LiveBench research76.5%Not measuredOnly Gemini 3.7 Flash measured
LiveBench browser56.0%Not measuredOnly Gemini 3.7 Flash measured
LiveBench long agentic28.3%Not measuredOnly Gemini 3.7 Flash measured
SREBench (Vals AI)4.6%Not measuredOnly Gemini 3.7 Flash measured
Finance Agent (Vals AI)59.0%28.5%Gemini 3.7 Flash
Tax Agent Bench (Vals AI)22.8%7.0%Gemini 3.7 Flash
Legal Research Bench (Vals AI)34.6%13.9%Gemini 3.7 Flash
Excel Modeling Benchmark (Vals AI)71.3%11.7%Gemini 3.7 Flash
Terminal-Bench-Science (Vals AI)7.1%Not measuredOnly Gemini 3.7 Flash measured
τ²-Bench TelecomNot measured93.0%Only Grok 4.20 measured
APEX-Agents67.8%Not measuredOnly Gemini 3.7 Flash measured
Remote Labor Index5.0%Not measuredOnly Gemini 3.7 Flash measured
Vending-Bench 2Not measured$4,663Only Grok 4.20 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index60
Reasoning benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
GPQA Diamond93.9%88.6%Gemini 3.7 Flash
LiveBench reasoning87.8%Not measuredOnly Gemini 3.7 Flash measured
MMMU Pro (Vals AI)89.0%83.5%Gemini 3.7 Flash
GPQA Diamond (Artificial Analysis run)94.5%91.1%Gemini 3.7 Flash
Humanity's Last Exam (Artificial Analysis run)47.9%34.5%Gemini 3.7 Flash
GPQA Diamond (Epoch AI run)94.8%Not measuredOnly Gemini 3.7 Flash measured
ARC-AGI95.5%89.5%Gemini 3.7 Flash
ARC-AGI-284.6%65.1%Gemini 3.7 Flash
Chess puzzles66.0%Not measuredOnly Gemini 3.7 Flash measured
Mystery game puzzles37.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts1495Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: expert1512Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: hard prompts in English1487Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: diagrams1329Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: homework1320Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 6 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
OTIS Mock AIME97.2%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tiers 1 to 371.6%Not measuredOnly Gemini 3.7 Flash measured
FrontierMath, tier 436.6%Not measuredOnly Gemini 3.7 Flash measured
ProofBench58.0%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: math1511Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: mathematical work1502Not measuredOnly Gemini 3.7 Flash measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
Knowledge benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
MMLU Pro90.1%86.3%Gemini 3.7 Flash
LegalBench (Vals AI)87.3%77.7%Gemini 3.7 Flash
CaseLaw (Vals AI)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)Not measured63.7%Only Grok 4.20 measured
TaxEval (Vals AI)74.7%74.1%Gemini 3.7 Flash
MortgageTax (Vals AI)66.7%45.4%Gemini 3.7 Flash
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)53.4%32.2%Gemini 3.7 Flash
SimpleQA Verified69.2%Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: science1511Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: medicine and healthcare1494Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: legal and government1496Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: business and finance1479Not measuredOnly Gemini 3.7 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.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
Design Arena: websites13041229Gemini 3.7 Flash
Design Arena: UI components12991199Gemini 3.7 Flash
Design Arena: game dev13181192Gemini 3.7 Flash
Design Arena: data viz13151217Gemini 3.7 Flash
Design Arena: 3D13081193Gemini 3.7 Flash
Design Arena: all code categories13081221Gemini 3.7 Flash
Design Arena: SVG12831164Gemini 3.7 Flash
Design Arena: ASCII art12761174Gemini 3.7 Flash
LiveBench design73.2%Not measuredOnly Gemini 3.7 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index50
General benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 FlashGrok 4.20Leader
LiveBench data analysis68.0%Not measuredOnly Gemini 3.7 Flash measured
SAGE (Vals AI)49.2%38.2%Gemini 3.7 Flash
MedScribe (Vals AI)83.9%63.4%Gemini 3.7 Flash
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBenchNot measured81.2%Only Grok 4.20 measured
Long context reasoning (AA-LCR)83.0%69.0%Gemini 3.7 Flash
DTBench96.8%90.1%Gemini 3.7 Flash
LMCA50.4%38.7%Gemini 3.7 Flash
CL-benchNot measured22.2%Only Grok 4.20 measured
Furniture assembly26.7%Not measuredOnly Gemini 3.7 Flash measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1489Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: instruction following1484Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: creative writing1488Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision1314Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: English1483Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: non-English1487Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Chinese1552Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: German1506Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Japanese1511Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Korean1481Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: French1500Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Spanish1495Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Russian1515Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: Polish1503Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: multi-turn1485Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: longer queries1492Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: writing and language1491Not measuredOnly Gemini 3.7 Flash measured
LMArena Text: entertainment and media1477Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: English1309Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: Chinese1394Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: reading text1322Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: humor1299Not measuredOnly Gemini 3.7 Flash measured
LMArena Vision: creative writing1312Not measuredOnly Gemini 3.7 Flash 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
Image generation benchmarks for Gemini 3.7 Flash and Grok 4.20
BenchmarkGemini 3.7 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.7 Flash$0.0026Fits 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.7 Flash$0.049Fits in one request
Grok 4.20$0.070Fits in one request

Gemini 3.7 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 3.7 Flash$0.188Fits in one request
Grok 4.20$0.275Fits in one request

Gemini 3.7 Flash 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.7 Flash and Grok 4.20
SpecificationGoogle Gemini 3.7 FlashSpaceXAI Grok 4.20
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 13, 2026March 31, 2026
Context window1.05M2M
Input $/Mtok$0.75$1.25
Output $/Mtok$3.75$2.50
Coding index58.033.3
Independent measurements behind it62
Cost per solved task$1.78$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 3.7 Flash better than Grok 4.20 for coding?

Pick Gemini 3.7 Flash for coding: it scores 58.0 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for output tokens 1.5x cheaper ($2.50 vs $3.75 per million) and a lower cost per solved task ($0.72 against $1.78).

Which is cheaper, Gemini 3.7 Flash or Grok 4.20?

Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Gemini 3.7 Flash costs $1.78 and Grok 4.20 $0.72.

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

Grok 4.20, with 2M tokens against 1.05M.

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

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