Gemini 3.7 Flash vs Grok 4.7
Grok 4.7 leads Gemini 3.7 Flash on coding, 66.7 to 58.0 on the Vibe Coding Index, and Gemini 3.7 Flash costs 1.6x less per output token ($3.75 vs $6.00 per million). Updated October 22, 2026; 90 benchmarks have a result for both.
Gemini 3.7 Flash or Grok 4.7: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 5 benchmarks against 6.
Pick Gemini 3.7 Flash for output tokens 1.6x cheaper ($3.75 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 90
- Gemini 3.7 Flash only
- 24
- Grok 4.7 only
- 9
- Like-for-like categories
- 8 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.
Coding
Vibe Coding Index, six public coding benchmarks
Grok 4.7
Grok 4.7 scores 66.7 against 58.0.
6 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 39.6.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3.7 Flash has a GPQA Diamond result, 93.9%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.7 Flash has a MMLU Pro result, 90.1%.
Directional only
Web design
Design Arena: websites
Gemini 3.7 Flash
Gemini 3.7 Flash leads, 1303 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.7 Flash
Gemini 3.7 Flash takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.7 Flash
Gemini 3.7 Flash $0.0026, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.7 Flash has the number, $1.78.
Directional only
At a glance
- Coding index
- Gemini 3.7 Flash 58.0 from 6 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Math, 16.4 points apart on average over 6 shared benchmarks.
- Widest single gap
- ProofBench: Gemini 3.7 Flash 58.0% against Grok 4.7 26.0%, 32.0 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.7 Flash $3.75 against Grok 4.7 $6.00 per million output tokens, 1.6x apart.
- Context window
- Gemini 3.7 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.7 Flash | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 6 | 11 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 4 | 6 | ||
| Reasoning | 12 | 0 | ||
| Math | 5 | 1 | ||
| Knowledge | 7 | 0 | ||
| Web design | 6 | 1 | ||
| General | 27 | 2 | ||
| All shared boards | 68 | 22 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index611
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 80.5% | 84.5% | Grok 4.7 |
| LMArena WebDev | 1591 | 1637 | Grok 4.7 |
| AA Coding Index | 71.5 | Not measured | Only Gemini 3.7 Flash measured |
| LiveCodeBench (Vals AI) | 88.7% | Not measured | Only Gemini 3.7 Flash measured |
| SWE-bench Verified (Vals AI) | 80.8% | Not measured | Only Gemini 3.7 Flash measured |
| Terminal-Bench 4 (Vals AI) | 12.1% | 28.8% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 70.4% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 34.8% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 0.0% | 0.5% | Grok 4.7 |
| IOI (Vals AI) | 67.8% | 57.7% | Gemini 3.7 Flash |
| Terminal-Bench 2.1 (Vals AI) | 77.5% | 73.4% | Gemini 3.7 Flash |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| SkillsBench (Vals AI) | 65.9% | Not measured | Only Gemini 3.7 Flash measured |
| CyberBench (Vals AI) | 43.8% | 69.5% | Grok 4.7 |
| SciCode | 59.8% | 57.8% | Gemini 3.7 Flash |
| FrontierCode | 43.6% | 47.6% | Grok 4.7 |
| FrontierSWE | 20.3% | 29.5% | Grok 4.7 |
| ALE-Bench | 904.3 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Text: coding | 1499 | 1432 | Gemini 3.7 Flash |
| LMArena Text: software and IT | 1498 | 1421 | Gemini 3.7 Flash |
| LMArena WebDev: React | 1587 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1593 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1599 | 1586 | Gemini 3.7 Flash |
| SciCode | 13.8% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 15 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 39.6 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 158.0 | 154.4 | Gemini 3.7 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index46
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1223 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building full-stack apps | 1208 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building mobile apps | 1229 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Android apps | 1243 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building Godot games | 1264 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: agents building games | 1235 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: spreadsheets | 1058 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench research | 76.5% | 86.4% | Grok 4.7 |
| LiveBench browser | 56.0% | 60.0% | Grok 4.7 |
| LiveBench long agentic | 28.3% | 50.1% | Grok 4.7 |
| SREBench (Vals AI) | 4.6% | 3.8% | Gemini 3.7 Flash |
| Finance Agent (Vals AI) | 59.0% | 52.3% | Gemini 3.7 Flash |
| Tax Agent Bench (Vals AI) | 22.8% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 34.6% | 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) | 71.3% | 67.0% | Gemini 3.7 Flash |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | 7.1% | 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 |
| APEX-Agents | 67.8% | 54.6% | Gemini 3.7 Flash |
| Remote Labor Index | 5.0% | Not measured | Only Gemini 3.7 Flash measured |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 18 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index120
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 93.9% | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench reasoning | 87.8% | 82.7% | Gemini 3.7 Flash |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | 89.0% | Not measured | Only Gemini 3.7 Flash measured |
| GPQA Diamond (Artificial Analysis run) | 94.5% | Not measured | Only Gemini 3.7 Flash measured |
| Humanity's Last Exam (Artificial Analysis run) | 47.9% | 43.1% | Gemini 3.7 Flash |
| GPQA Diamond (Epoch AI run) | 94.8% | 92.7% | Gemini 3.7 Flash |
| ARC-AGI | 95.5% | 90.2% | Gemini 3.7 Flash |
| ARC-AGI-2 | 84.6% | 61.4% | Gemini 3.7 Flash |
| Chess puzzles | 66.0% | 41.0% | Gemini 3.7 Flash |
| Mystery game puzzles | 37.0% | 29.0% | Gemini 3.7 Flash |
| LMArena Text: hard prompts | 1495 | 1415 | Gemini 3.7 Flash |
| LMArena Text: expert | 1512 | 1439 | Gemini 3.7 Flash |
| LMArena Text: hard prompts in English | 1487 | 1427 | Gemini 3.7 Flash |
| LMArena Vision: diagrams | 1329 | 1254 | Gemini 3.7 Flash |
| LMArena Vision: homework | 1320 | 1309 | Gemini 3.7 Flash |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 97.2% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 71.6% | 53.0% | Gemini 3.7 Flash |
| FrontierMath, tier 4 | 36.6% | 17.1% | Gemini 3.7 Flash |
| ProofBench | 58.0% | 26.0% | Gemini 3.7 Flash |
| LMArena Text: math | 1511 | 1414 | Gemini 3.7 Flash |
| LMArena Text: mathematical work | 1502 | 1435 | Gemini 3.7 Flash |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index70
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 90.1% | Not measured | Only Gemini 3.7 Flash measured |
| LegalBench (Vals AI) | 87.3% | 84.4% | Gemini 3.7 Flash |
| TaxEval (Vals AI) | 74.7% | Not measured | Only Gemini 3.7 Flash measured |
| MortgageTax (Vals AI) | 66.7% | Not measured | Only Gemini 3.7 Flash measured |
| MedCode (Vals AI) | 53.4% | 49.5% | Gemini 3.7 Flash |
| SimpleQA Verified | 69.2% | 56.0% | Gemini 3.7 Flash |
| LMArena Text: science | 1511 | 1419 | Gemini 3.7 Flash |
| LMArena Text: medicine and healthcare | 1494 | 1395 | Gemini 3.7 Flash |
| LMArena Text: legal and government | 1496 | 1423 | Gemini 3.7 Flash |
| LMArena Text: business and finance | 1479 | 1389 | Gemini 3.7 Flash |
| FACTS Benchmark Suite | 71.2% | Not measured | Only Gemini 3.7 Flash measured |
| Neither model has a result on the other 7 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index61
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1303 | 1255 | Gemini 3.7 Flash |
| Design Arena: UI components | 1296 | 1275 | Gemini 3.7 Flash |
| Design Arena: game dev | 1317 | 1314 | Gemini 3.7 Flash |
| Design Arena: data viz | 1315 | 1238 | Gemini 3.7 Flash |
| Design Arena: 3D | 1307 | 1274 | Gemini 3.7 Flash |
| Design Arena: all code categories | 1308 | 1273 | Gemini 3.7 Flash |
| Design Arena: SVG | 1283 | Not measured | Only Gemini 3.7 Flash measured |
| Design Arena: ASCII art | 1276 | Not measured | Only Gemini 3.7 Flash measured |
| LiveBench design | 73.2% | 78.0% | Grok 4.7 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index272
| Benchmark | Gemini 3.7 Flash | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | Not measured | 58.6% | Only Grok 4.7 measured |
| LiveBench data analysis | 68.0% | 76.9% | Grok 4.7 |
| Public Benefits Bench (Vals AI) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | 49.2% | 40.8% | Gemini 3.7 Flash |
| MedScribe (Vals AI) | 83.9% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 83.0% | 80.0% | Gemini 3.7 Flash |
| DTBench | 96.8% | 96.0% | Gemini 3.7 Flash |
| LMCA | 50.4% | 49.4% | Gemini 3.7 Flash |
| Furniture assembly | 26.7% | 20.8% | Gemini 3.7 Flash |
| LMArena Text | 1489 | 1399 | Gemini 3.7 Flash |
| LMArena Text: instruction following | 1484 | 1406 | Gemini 3.7 Flash |
| LMArena Text: creative writing | 1488 | 1381 | Gemini 3.7 Flash |
| LMArena Vision | 1314 | 1231 | Gemini 3.7 Flash |
| LMArena Text: English | 1483 | 1411 | Gemini 3.7 Flash |
| LMArena Text: non-English | 1487 | 1386 | Gemini 3.7 Flash |
| LMArena Text: Chinese | 1552 | 1449 | Gemini 3.7 Flash |
| LMArena Text: German | 1506 | 1366 | Gemini 3.7 Flash |
| LMArena Text: Japanese | 1511 | 1359 | Gemini 3.7 Flash |
| LMArena Text: Korean | 1481 | 1383 | Gemini 3.7 Flash |
| LMArena Text: French | 1500 | 1431 | Gemini 3.7 Flash |
| LMArena Text: Spanish | 1495 | 1406 | Gemini 3.7 Flash |
| LMArena Text: Russian | 1515 | 1399 | Gemini 3.7 Flash |
| LMArena Text: Polish | 1503 | 1420 | Gemini 3.7 Flash |
| LMArena Text: multi-turn | 1485 | 1394 | Gemini 3.7 Flash |
| LMArena Text: longer queries | 1492 | 1416 | Gemini 3.7 Flash |
| LMArena Text: writing and language | 1491 | 1394 | Gemini 3.7 Flash |
| LMArena Text: entertainment and media | 1477 | 1376 | Gemini 3.7 Flash |
| LMArena Vision: English | 1309 | 1229 | Gemini 3.7 Flash |
| LMArena Vision: Chinese | 1394 | 1250 | Gemini 3.7 Flash |
| LMArena Vision: reading text | 1322 | 1241 | Gemini 3.7 Flash |
| LMArena Vision: humor | 1299 | Not measured | Only Gemini 3.7 Flash measured |
| LMArena Vision: creative writing | 1312 | 1217 | Gemini 3.7 Flash |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.7 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
Gemini 3.7 Flash costs less
Repository review
50K input + 3K output tokens
Gemini 3.7 Flash costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Google Gemini 3.7 Flash | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | August 13, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.75 | $2.00 |
| Output $/Mtok | $3.75 | $6.00 |
| Coding index | 58.0 | 66.7 |
| Independent measurements behind it | 6 | 5 |
| Cost per solved task | $1.78 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.7 Flash better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 58.0 for Gemini 3.7 Flash, though on 5 benchmarks against 6. Pick Gemini 3.7 Flash for output tokens 1.6x cheaper ($3.75 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, Gemini 3.7 Flash or Grok 4.7?
Gemini 3.7 Flash costs $0.75 per million input tokens and $3.75 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3.7 Flash only.
Which has the bigger context window, Gemini 3.7 Flash or Grok 4.7?
Gemini 3.7 Flash, with 1.05M tokens against 500K.
How many benchmarks is the Gemini 3.7 Flash vs Grok 4.7 comparison based on?
90 benchmarks have a result for both models as of October 22, 2026. Gemini 3.7 Flash's coding index rests on 6 independent benchmarks and Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.