Enter opens the highlighted result. Esc closes.

Gemini 2.5 Flash vs Grok 4.20

Grok 4.20 leads Gemini 2.5 Flash on the Artificial Analysis Intelligence Index, 25.7 to 15.5, at about the same output price ($2.50 vs $2.50 per million). Updated October 21, 2026; 25 benchmarks have a result for both.

Gemini 2.5 FlashGoogle
Coding
No data
Overall
34.3
Output $/M
$2.50
3
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
22
vs boards won of 25 shared

Gemini 2.5 Flash or Grok 4.20: which to pick

Only Grok 4.20 has a coding score, 33.3 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding.

Pick Gemini 2.5 Flash for a lower cost per solved task ($0.466 against $0.72) and work measured by MedCode (Vals AI) or SAGE (Vals AI), where it leads.

Shared results
25
Gemini 2.5 Flash only
48
Grok 4.20 only
30
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 Flash not benchmarked, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Agentic work, 43.6 points apart on average over 2 shared benchmarks.
Widest single gap
ARC-AGI-2: Gemini 2.5 Flash 2.5% against Grok 4.20 65.1%, 62.6 points apart on a 0 to 100 scale.
Output price
Both cost $2.50 per million output tokens.
Context window
Gemini 2.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 2.5 FlashBarsGrok 4.20Ties
Coding02
Intelligence02
Agentic work02
Reasoning05
Knowledge10
Web design07
General24
All shared boards322
CodingLike-for-likeSix of these boards feed the Vibe Coding Index02
Coding benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
SWE-bench Verified28.7%Not measuredOnly Gemini 2.5 Flash measured
LiveCodeBench (Vals AI)Not measured84.3%Only Grok 4.20 measured
SWE-bench Verified (Vals AI)Not measured72.2%Only Grok 4.20 measured
Vibe Code Bench (Vals AI)Not measured4.1%Only Grok 4.20 measured
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)69.5%Not measuredOnly Gemini 2.5 Flash measured
Terminal-Bench Hard (Artificial Analysis run)13.6%37.9%Grok 4.20
Terminal-Bench17.1%57.3%Grok 4.20
WeirdMLNot measured52.3%Only Grok 4.20 measured
LMArena Text: coding1423Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: software and IT1425Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
AA Intelligence Index15.525.7Grok 4.20
Epoch Capabilities Index142.9152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
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 Telecom31.6%93.0%Grok 4.20
BALROG33.5%Not measuredOnly Gemini 2.5 Flash measured
Vending-Bench 2$549$4,663Grok 4.20
Berkeley Function Calling Leaderboard (BFCL)56.2%Not measuredOnly Gemini 2.5 Flash measured
BrowseComp-Plus39.9%Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
Reasoning benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 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)79.0%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)12.1%34.5%Grok 4.20
ARC-AGI33.3%89.5%Grok 4.20
ARC-AGI-22.5%65.1%Grok 4.20
SimpleBench41.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: hard prompts1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: expert1426Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: hard prompts in English1420Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: diagrams1245Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: homework1244Not measuredOnly Gemini 2.5 Flash measured
Kagi LLM Benchmark56.8%75.0%Grok 4.20
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards, none shared
Math benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
AA Math Index73.3Not measuredOnly Gemini 2.5 Flash measured
AIME 2025 (Artificial Analysis run)73.3%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: math1411Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: mathematical work1422Not measuredOnly Gemini 2.5 Flash measured
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 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)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)Not measured63.7%Only Grok 4.20 measured
TaxEval (Vals AI)Not measured74.1%Only Grok 4.20 measured
MortgageTax (Vals AI)Not measured45.4%Only Grok 4.20 measured
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)40.4%32.2%Gemini 2.5 Flash
MMLU Pro (Artificial Analysis run)83.2%Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: science1433Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: medicine and healthcare1428Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: legal and government1430Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: business and finance1404Not measuredOnly Gemini 2.5 Flash measured
FACTS Benchmark Suite47.2%Not measuredOnly Gemini 2.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 index07
Web design benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
Design Arena: websites10741229Grok 4.20
Design Arena: UI components10051199Grok 4.20
Design Arena: game dev10051192Grok 4.20
Design Arena: data viz10601217Grok 4.20
Design Arena: 3D10211193Grok 4.20
Design Arena: all code categories10591221Grok 4.20
Design Arena: SVG10201164Grok 4.20
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 index24
General benchmarks for Gemini 2.5 Flash and Grok 4.20
BenchmarkGemini 2.5 FlashGrok 4.20Leader
SAGE (Vals AI)44.8%38.2%Gemini 2.5 Flash
MedScribe (Vals AI)83.0%63.4%Gemini 2.5 Flash
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBench50.3%81.2%Grok 4.20
Long context reasoning (AA-LCR)65.3%69.0%Grok 4.20
DTBench76.5%90.1%Grok 4.20
LMCA27.5%38.7%Grok 4.20
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1417Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: instruction following1405Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: creative writing1400Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision1235Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: English1418Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: non-English1409Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Chinese1449Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: German1417Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Japanese1396Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Korean1385Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: French1432Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Spanish1422Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Russian1415Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: Polish1413Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: multi-turn1408Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: longer queries1419Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: writing and language1405Not measuredOnly Gemini 2.5 Flash measured
LMArena Text: entertainment and media1393Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: English1239Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: Chinese1284Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: reading text1237Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: humor1225Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: captioning1277Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: recognizing things1252Not measuredOnly Gemini 2.5 Flash measured
LMArena Vision: creative writing1241Not measuredOnly Gemini 2.5 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 2.5 Flash and Grok 4.20
BenchmarkGemini 2.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 2.5 Flash$0.0015Fits in one request
Grok 4.20$0.0025Fits in one request

Gemini 2.5 Flash costs less

Repository review

50K input + 3K output tokens

Gemini 2.5 Flash$0.022Fits in one request
Grok 4.20$0.070Fits in one request

Gemini 2.5 Flash costs less

Agent loop

200K input + 10K output tokens

Gemini 2.5 Flash$0.085Fits in one request
Grok 4.20$0.275Fits in one request

Gemini 2.5 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 2.5 Flash and Grok 4.20
SpecificationGoogle Gemini 2.5 FlashSpaceXAI Grok 4.20
MakerGooglexAI
WeightsNo public weights listedNo public weights listed
ReleasedJune 17, 2025March 31, 2026
Context window1.05M2M
Input $/Mtok$0.30$1.25
Output $/Mtok$2.50$2.50
Coding indexNot benchmarked33.3
Independent measurements behind it02
Cost per solved task$0.466$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemini 2.5 Flash better than Grok 4.20 for coding?

Only Grok 4.20 has a coding score, 33.3 on the Vibe Coding Index; Gemini 2.5 Flash has none, so the two cannot be ranked on coding. Pick Gemini 2.5 Flash for a lower cost per solved task ($0.466 against $0.72) and work measured by MedCode (Vals AI) or SAGE (Vals AI), where it leads.

Which is cheaper, Gemini 2.5 Flash or Grok 4.20?

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

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

Grok 4.20, with 2M tokens against 1.05M.

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

25 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Flash's coding index rests on 0 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