Gemini 3 Flash Preview vs Grok 4.20
Updated October 21, 2026. 46 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Gemini 3 Flash Preview for coding: it scores 43.7 on the Vibe Coding Index against 33.3 for Grok 4.20.
Pick Grok 4.20 when output tokens cost 1.2x less, or when the context window is larger, 2M against 1.05M tokens.
- Shared results
- 46
- Gemini 3 Flash Preview only
- 23
- Grok 4.20 only
- 8
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
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.
Coding
Vibe Coding Index, six public coding benchmarks
Gemini 3 Flash Preview
Gemini 3 Flash Preview scores 43.7 against 33.3.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Gemini 3 Flash Preview
Gemini 3 Flash Preview leads, 26.3 against 25.7.
Same board, both measured
Reasoning
GPQA Diamond
Grok 4.20
Grok 4.20 leads, 88.6% against 87.9%.
Same board, both measured
Math
AIME
Grok 4.20
Grok 4.20 leads, 96.5% against 95.6%.
Same board, both measured
Knowledge
MMLU Pro
Gemini 3 Flash Preview
Gemini 3 Flash Preview leads, 88.6% against 86.3%.
Same board, both measured
Web design
Design Arena: websites
Grok 4.20
Grok 4.20 leads, 1229 against 1196.
Same board, both measured
Long documents
Listed context window
Grok 4.20
Grok 4.20 takes 2M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3 Flash Preview
Gemini 3 Flash Preview $0.0020, Grok 4.20 $0.0025 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Gemini 3 Flash Preview
Gemini 3 Flash Preview $0.37, Grok 4.20 $0.72.
Published attempt cost and pass rate
At a glance
- Coding index
- Gemini 3 Flash Preview 43.7 from 2 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
- Widest category
- Knowledge, 8.0 points apart on average over 8 shared benchmarks.
- Widest single gap
- ARC-AGI-2: Gemini 3 Flash Preview 33.6% against Grok 4.20 65.1%, 31.5 points apart on a 0 to 100 scale.
- Output price
- Gemini 3 Flash Preview $3.00 against Grok 4.20 $2.50 per million output tokens, 1.2x apart.
- Context window
- Gemini 3 Flash Preview 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.
| Category | Gemini 3 Flash Preview | Bars | Grok 4.20 | Ties |
|---|---|---|---|---|
| Coding | 8 | 0 | ||
| Intelligence | 1 | 0 | ||
| Agentic work | 7 | 3 | 1 tie | |
| Reasoning | 2 | 4 | ||
| Math | 0 | 1 | ||
| Knowledge | 7 | 1 | ||
| Web design | 0 | 4 | ||
| General | 5 | 2 | ||
| All shared boards | 30 | 15 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index80
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| SWE-bench Verified | 75.8% | Not measured | Only Gemini 3 Flash Preview measured |
| LiveCodeBench (Vals AI) | 85.6% | 84.3% | Gemini 3 Flash Preview |
| SWE-bench Verified (Vals AI) | 75.0% | 72.2% | Gemini 3 Flash Preview |
| Vibe Code Bench (Vals AI) | 20.2% | 4.1% | Gemini 3 Flash Preview |
| Code migration (Vals AI) | 6.4% | 0.3% | Gemini 3 Flash Preview |
| ProgramBench (Vals AI) | 0.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench 2.1 (Vals AI) | 53.9% | 44.2% | Gemini 3 Flash Preview |
| LiveCodeBench (Artificial Analysis run) | 90.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench Hard (Artificial Analysis run) | 38.6% | 37.9% | Gemini 3 Flash Preview |
| Terminal-Bench | 64.3% | 57.3% | Gemini 3 Flash Preview |
| GSO-Bench | 9.8% | Not measured | Only Gemini 3 Flash Preview measured |
| WeirdML | 61.6% | 52.3% | Gemini 3 Flash Preview |
| ALE-Bench | 1367.2 | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 25 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| AA Intelligence Index | 26.3 | 25.7 | Gemini 3 Flash Preview |
| Epoch Capabilities Index | Not measured | 152.1 | Only Grok 4.20 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index73
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1110 | 1144 | Grok 4.20 |
| Design Arena: agents building full-stack apps | 1063 | 1054 | Gemini 3 Flash Preview |
| Design Arena: agents building mobile apps | 1090 | 1090 | Tie |
| Design Arena: agents building Android apps | 1057 | 1052 | Gemini 3 Flash Preview |
| Design Arena: agents building Godot games | 1161 | 1089 | Gemini 3 Flash Preview |
| Design Arena: HTML slides | Not measured | 1180 | Only Grok 4.20 measured |
| Design Arena: PowerPoint slides | 1036 | Not measured | Only Gemini 3 Flash Preview measured |
| Finance Agent (Vals AI) | 42.5% | 28.5% | Gemini 3 Flash Preview |
| Tax Agent Bench (Vals AI) | 11.8% | 7.0% | Gemini 3 Flash Preview |
| Legal Research Bench (Vals AI) | 18.3% | 13.9% | Gemini 3 Flash Preview |
| Excel Modeling Benchmark (Vals AI) | 26.0% | 11.7% | Gemini 3 Flash Preview |
| τ²-Bench Telecom | 80.4% | 93.0% | Grok 4.20 |
| BALROG | 48.1% | Not measured | Only Gemini 3 Flash Preview measured |
| DeepResearch Bench | 49.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Vending-Bench 2 | $3,635 | $4,663 | Grok 4.20 |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index24
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| GPQA Diamond | 87.9% | 88.6% | Grok 4.20 |
| MMMU Pro (Vals AI) | 87.6% | 83.5% | Gemini 3 Flash Preview |
| GPQA Diamond (Artificial Analysis run) | 89.8% | 91.1% | Grok 4.20 |
| Humanity's Last Exam (Artificial Analysis run) | 36.6% | 34.5% | Gemini 3 Flash Preview |
| GPQA Diamond (Epoch AI run) | 89.4% | Not measured | Only Gemini 3 Flash Preview measured |
| ARC-AGI | 84.7% | 89.5% | Grok 4.20 |
| ARC-AGI-2 | 33.6% | 65.1% | Grok 4.20 |
| SimpleBench | 61.1% | Not measured | Only Gemini 3 Flash Preview measured |
| Chess puzzles | 39.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Mystery game puzzles | 26.0% | Not measured | Only Gemini 3 Flash Preview measured |
| VPCT | 72.6% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 10 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| AIME | 95.6% | 96.5% | Grok 4.20 |
| MGSM (Vals AI) | 93.3% | Not measured | Only Gemini 3 Flash Preview measured |
| AA Math Index | 97.0 | Not measured | Only Gemini 3 Flash Preview measured |
| AIME 2025 (Artificial Analysis run) | 97.0% | Not measured | Only Gemini 3 Flash Preview measured |
| OTIS Mock AIME | 95.6% | Not measured | Only Gemini 3 Flash Preview measured |
| FrontierMath, tiers 1 to 3 | 51.2% | Not measured | Only Gemini 3 Flash Preview measured |
| FrontierMath, tier 4 | 17.1% | Not measured | Only Gemini 3 Flash Preview measured |
| ProofBench | 15.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index71
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| MMLU Pro | 88.6% | 86.3% | Gemini 3 Flash Preview |
| LegalBench (Vals AI) | 86.9% | 77.7% | Gemini 3 Flash Preview |
| CaseLaw (Vals AI) | 55.8% | 54.4% | Gemini 3 Flash Preview |
| CorpFin (Vals AI) | 66.4% | 63.7% | Gemini 3 Flash Preview |
| TaxEval (Vals AI) | 73.9% | 74.1% | Grok 4.20 |
| MortgageTax (Vals AI) | 68.7% | 45.4% | Gemini 3 Flash Preview |
| MedQA (Vals AI) | 95.8% | 94.5% | Gemini 3 Flash Preview |
| MedCode (Vals AI) | 55.9% | 32.2% | Gemini 3 Flash Preview |
| MMLU Pro (Artificial Analysis run) | 89.0% | Not measured | Only Gemini 3 Flash Preview measured |
| SimpleQA Verified | 66.8% | Not measured | Only Gemini 3 Flash Preview measured |
| GeoBench | 88.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| Design Arena: websites | 1196 | 1229 | Grok 4.20 |
| Design Arena: UI components | Not measured | 1199 | Only Grok 4.20 measured |
| Design Arena: game dev | 1166 | 1192 | Grok 4.20 |
| Design Arena: data viz | Not measured | 1217 | Only Grok 4.20 measured |
| Design Arena: 3D | 1184 | 1193 | Grok 4.20 |
| Design Arena: all code categories | 1189 | 1221 | Grok 4.20 |
| Design Arena: SVG | Not measured | 1164 | Only Grok 4.20 measured |
| Design Arena: ASCII art | Not measured | 1174 | Only 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 index52
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 51.8% | 38.2% | Gemini 3 Flash Preview |
| MedScribe (Vals AI) | 69.9% | 63.4% | Gemini 3 Flash Preview |
| Vals Multimodal Index | 52.2% | 39.1% | Gemini 3 Flash Preview |
| IFBench | 78.0% | 81.2% | Grok 4.20 |
| Long context reasoning (AA-LCR) | 78.0% | 69.0% | Gemini 3 Flash Preview |
| DTBench | 89.1% | 90.1% | Grok 4.20 |
| LMCA | 43.1% | 38.7% | Gemini 3 Flash Preview |
| CL-bench | Not measured | 22.2% | Only Grok 4.20 measured |
| CL-bench Life | Not measured | 11.9% | Only Grok 4.20 measured |
| Neither model has a result on the other 37 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3 Flash Preview | Grok 4.20 | Leader |
|---|---|---|---|
| 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 Flash Preview costs less
Repository review
50K input + 3K output tokens
Gemini 3 Flash Preview costs less
Agent loop
200K input + 10K output tokens
Gemini 3 Flash Preview 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.
| Specification | Google Gemini 3 Flash Preview | SpaceXAI Grok 4.20 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | December 17, 2025 | March 31, 2026 |
| Context window | 1.05M | 2M |
| Input $/Mtok | $0.50 | $1.25 |
| Output $/Mtok | $3.00 | $2.50 |
| Coding index | 43.7 | 33.3 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.37 | $0.72 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3 Flash Preview better than Grok 4.20 for coding?
Pick Gemini 3 Flash Preview for coding: it scores 43.7 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 when output tokens cost 1.2x less, or when the context window is larger, 2M against 1.05M tokens.
Which is cheaper, Gemini 3 Flash Preview or Grok 4.20?
Gemini 3 Flash Preview costs $0.50 per million input tokens and $3.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, Gemini 3 Flash Preview costs $0.37 and Grok 4.20 $0.72.
Which has the bigger context window, Gemini 3 Flash Preview or Grok 4.20?
Grok 4.20, with 2M tokens against 1.05M.
How many benchmarks is the Gemini 3 Flash Preview vs Grok 4.20 comparison based on?
46 benchmarks have a result for both models as of October 21, 2026. Gemini 3 Flash Preview's coding index rests on 2 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.