Gemini 3.5 Flash vs Grok 4.7
Updated October 21, 2026. 79 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash.
Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 500K tokens, or when what matters is Terminal-Bench 2.1 (Vals AI) or LMArena Text: coding, where it leads.
- Shared results
- 79
- Gemini 3.5 Flash only
- 31
- Grok 4.7 only
- 20
- 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, four public coding benchmarks
Grok 4.7
Grok 4.7 scores 75.0 against 42.8.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 33.6.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3.5 Flash has a GPQA Diamond result, 92.7%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.5 Flash has a MMLU Pro result, 89.5%.
Directional only
Web design
Design Arena: websites
Gemini 3.5 Flash
Gemini 3.5 Flash leads, 1268 against 1255.
Same board, both measured
General
Vals Index
No call
Only Grok 4.7 has a Vals Index result, 58.6%.
Directional only
Long documents
Listed context window
Gemini 3.5 Flash
Gemini 3.5 Flash takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.7
Gemini 3.5 Flash $0.0060, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.5 Flash has the number, $1.21.
Directional only
At a glance
- Coding index
- Gemini 3.5 Flash 42.8 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Agentic work, 14.5 points apart on average over 7 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3.5 Flash 48.7% against Grok 4.7 86.2%, 37.5 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.5 Flash $9.00 against Grok 4.7 $6.00 per million output tokens, 1.5x apart.
- Context window
- Gemini 3.5 Flash takes 1.05M tokens, Grok 4.7 500K.
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.5 Flash | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 3 | 9 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 1 | 6 | ||
| Reasoning | 10 | 1 | ||
| Math | 5 | 1 | ||
| Knowledge | 6 | 1 | ||
| Web design | 3 | 3 | ||
| General | 23 | 5 | ||
| All shared boards | 52 | 27 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index39
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | 1499 | 1637 | Grok 4.7 |
| LiveCodeBench (Vals AI) | 87.6% | Not measured | Only Gemini 3.5 Flash measured |
| SWE-bench Verified (Vals AI) | 78.8% | Not measured | Only Gemini 3.5 Flash measured |
| Terminal-Bench 4 (Vals AI) | 6.1% | 28.8% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 48.7% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 26.8% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | Grok 4.7 |
| IOI (Vals AI) | Not measured | 57.7% | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | 74.2% | 73.4% | Gemini 3.5 Flash |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| SkillsBench (Vals AI) | 52.7% | Not measured | Only Gemini 3.5 Flash measured |
| CyberBench (Vals AI) | Not measured | 69.5% | Only Grok 4.7 measured |
| SciCode | 53.9% | 57.8% | Grok 4.7 |
| Terminal-Bench Hard (Artificial Analysis run) | 46.2% | Not measured | Only Gemini 3.5 Flash measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 62.6% | Not measured | Only Gemini 3.5 Flash measured |
| ALE-Bench | 911.0 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: coding | 1493 | 1432 | Gemini 3.5 Flash |
| LMArena Text: software and IT | 1494 | 1421 | Gemini 3.5 Flash |
| LMArena WebDev: React | 1495 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1522 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1504 | 1586 | Grok 4.7 |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.6 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 154.9 | 154.4 | Gemini 3.5 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index16
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1202 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building full-stack apps | 1197 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building mobile apps | 1175 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building Android apps | 1190 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building Godot games | 1098 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: agents building games | 1180 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: HTML slides | 1142 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: PowerPoint slides | 1178 | Not measured | Only Gemini 3.5 Flash measured |
| LiveBench research | Not measured | 86.4% | Only Grok 4.7 measured |
| LiveBench browser | Not measured | 60.0% | Only Grok 4.7 measured |
| LiveBench long agentic | Not measured | 50.1% | Only Grok 4.7 measured |
| SREBench (Vals AI) | Not measured | 3.8% | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | 57.9% | 52.3% | Gemini 3.5 Flash |
| Tax Agent Bench (Vals AI) | 21.6% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 30.8% | 47.1% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 63.5% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | 10.0% | Grok 4.7 |
| Vals Science Index | Not measured | 34.8% | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | Not measured | 0.2% | Only Grok 4.7 measured |
| τ²-Bench Telecom | 95.6% | Not measured | Only Gemini 3.5 Flash measured |
| APEX-Agents | 27.5% | 54.6% | Grok 4.7 |
| Vending-Bench 2 | $5,396 | $10,537 | Grok 4.7 |
| Neither model has a result on the other 15 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index101
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 92.7% | Not measured | Only Gemini 3.5 Flash measured |
| LiveBench reasoning | Not measured | 82.7% | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | 88.3% | Not measured | Only Gemini 3.5 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 92.2% | Not measured | Only Gemini 3.5 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | 42.7% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 92.8% | 92.7% | Gemini 3.5 Flash |
| ARC-AGI | 92.5% | 90.2% | Gemini 3.5 Flash |
| ARC-AGI-2 | 72.1% | 61.4% | Gemini 3.5 Flash |
| SimpleBench | 76.7% | Not measured | Only Gemini 3.5 Flash measured |
| Chess puzzles | 45.0% | 41.0% | Gemini 3.5 Flash |
| Mystery game puzzles | 32.0% | 29.0% | Gemini 3.5 Flash |
| EBR-bench | 4.8% | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Text: hard prompts | 1488 | 1415 | Gemini 3.5 Flash |
| LMArena Text: expert | 1495 | 1439 | Gemini 3.5 Flash |
| LMArena Text: hard prompts in English | 1483 | 1427 | Gemini 3.5 Flash |
| LMArena Vision: diagrams | 1323 | 1254 | Gemini 3.5 Flash |
| LMArena Vision: homework | 1330 | 1309 | Gemini 3.5 Flash |
| Neither model has a result on the other 3 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 95.6% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 62.8% | 53.0% | Gemini 3.5 Flash |
| FrontierMath, tier 4 | 26.8% | 17.1% | Gemini 3.5 Flash |
| ProofBench | 31.0% | 26.0% | Gemini 3.5 Flash |
| LMArena Text: math | 1504 | 1414 | Gemini 3.5 Flash |
| LMArena Text: mathematical work | 1495 | 1435 | Gemini 3.5 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index61
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 89.5% | Not measured | Only Gemini 3.5 Flash measured |
| LegalBench (Vals AI) | 83.6% | 84.4% | Grok 4.7 |
| CorpFin (Vals AI) | 64.7% | Not measured | Only Gemini 3.5 Flash measured |
| TaxEval (Vals AI) | 74.4% | Not measured | Only Gemini 3.5 Flash measured |
| MortgageTax (Vals AI) | 68.1% | Not measured | Only Gemini 3.5 Flash measured |
| MedCode (Vals AI) | 55.8% | 49.5% | Gemini 3.5 Flash |
| SimpleQA Verified | 66.2% | 56.0% | Gemini 3.5 Flash |
| LMArena Text: science | 1495 | 1419 | Gemini 3.5 Flash |
| LMArena Text: medicine and healthcare | 1483 | 1395 | Gemini 3.5 Flash |
| LMArena Text: legal and government | 1488 | 1423 | Gemini 3.5 Flash |
| LMArena Text: business and finance | 1467 | 1389 | Gemini 3.5 Flash |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index33
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1268 | 1255 | Gemini 3.5 Flash |
| Design Arena: UI components | 1272 | 1271 | Gemini 3.5 Flash |
| Design Arena: game dev | 1263 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1236 | 1227 | Gemini 3.5 Flash |
| Design Arena: 3D | 1244 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1266 | 1271 | Grok 4.7 |
| Design Arena: SVG | 1254 | Not measured | Only Gemini 3.5 Flash measured |
| Design Arena: ASCII art | 1253 | Not measured | Only Gemini 3.5 Flash measured |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index235
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | Not measured | 76.9% | Only Grok 4.7 measured |
| Public Benefits Bench (Vals AI) | 59.5% | 65.6% | Grok 4.7 |
| SAGE (Vals AI) | 49.9% | 40.8% | Gemini 3.5 Flash |
| MedScribe (Vals AI) | 76.6% | 89.4% | Grok 4.7 |
| Vals Multimodal Index | 62.9% | Not measured | Only Gemini 3.5 Flash measured |
| IFBench | 76.3% | Not measured | Only Gemini 3.5 Flash measured |
| Long context reasoning (AA-LCR) | 74.3% | 80.0% | Grok 4.7 |
| DTBench | 94.7% | 96.0% | Grok 4.7 |
| LMCA | 47.1% | 49.4% | Grok 4.7 |
| Surface Evolver Bench | 58.1% | Not measured | Only Gemini 3.5 Flash measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1482 | 1399 | Gemini 3.5 Flash |
| LMArena Text: instruction following | 1467 | 1406 | Gemini 3.5 Flash |
| LMArena Text: creative writing | 1470 | 1381 | Gemini 3.5 Flash |
| LMArena Vision | 1308 | 1231 | Gemini 3.5 Flash |
| LMArena Text: English | 1481 | 1411 | Gemini 3.5 Flash |
| LMArena Text: non-English | 1475 | 1386 | Gemini 3.5 Flash |
| LMArena Text: Chinese | 1527 | 1449 | Gemini 3.5 Flash |
| LMArena Text: German | 1494 | 1366 | Gemini 3.5 Flash |
| LMArena Text: Japanese | 1486 | 1359 | Gemini 3.5 Flash |
| LMArena Text: Korean | 1448 | 1383 | Gemini 3.5 Flash |
| LMArena Text: French | 1490 | 1431 | Gemini 3.5 Flash |
| LMArena Text: Spanish | 1480 | 1406 | Gemini 3.5 Flash |
| LMArena Text: Russian | 1493 | 1399 | Gemini 3.5 Flash |
| LMArena Text: Polish | 1516 | 1420 | Gemini 3.5 Flash |
| LMArena Text: multi-turn | 1481 | 1394 | Gemini 3.5 Flash |
| LMArena Text: longer queries | 1483 | 1416 | Gemini 3.5 Flash |
| LMArena Text: writing and language | 1478 | 1394 | Gemini 3.5 Flash |
| LMArena Text: entertainment and media | 1459 | 1376 | Gemini 3.5 Flash |
| LMArena Vision: English | 1305 | 1229 | Gemini 3.5 Flash |
| LMArena Vision: Chinese | 1377 | 1250 | Gemini 3.5 Flash |
| LMArena Vision: reading text | 1317 | 1241 | Gemini 3.5 Flash |
| LMArena Vision: humor | 1321 | Not measured | Only Gemini 3.5 Flash measured |
| LMArena Vision: creative writing | 1301 | 1217 | Gemini 3.5 Flash |
| LMArena Document | 1463 | Not measured | Only Gemini 3.5 Flash 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
| Benchmark | Gemini 3.5 Flash | Grok 4.7 | 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
Grok 4.7 costs less
Repository review
50K input + 3K output tokens
Gemini 3.5 Flash costs less
Agent loop
200K input + 10K output tokens
Gemini 3.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.
| Specification | Google Gemini 3.5 Flash | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | May 19, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $1.50 | $2.00 |
| Output $/Mtok | $9.00 | $6.00 |
| Coding index | 42.8 | 75.0 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $1.21 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.5 Flash better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 42.8 for Gemini 3.5 Flash. Pick Gemini 3.5 Flash when the context window is larger, 1.05M against 500K tokens, or when what matters is Terminal-Bench 2.1 (Vals AI) or LMArena Text: coding, where it leads.
Which is cheaper, Gemini 3.5 Flash or Grok 4.7?
Gemini 3.5 Flash costs $1.50 per million input tokens and $9.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3.5 Flash only.
Which has the bigger context window, Gemini 3.5 Flash or Grok 4.7?
Gemini 3.5 Flash, with 1.05M tokens against 500K.
How many benchmarks is the Gemini 3.5 Flash vs Grok 4.7 comparison based on?
79 benchmarks have a result for both models as of October 21, 2026. Gemini 3.5 Flash's coding index rests on 1 independent benchmark and Grok 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.