Gemini 3 Flash Preview vs Grok 4.7
Grok 4.7 leads Gemini 3 Flash Preview on coding, 66.7 to 43.7 on the Vibe Coding Index, and Gemini 3 Flash Preview costs 2.0x less per output token ($3.00 vs $6.00 per million). Updated October 22, 2026; 32 benchmarks have a result for both.
Gemini 3 Flash Preview or Grok 4.7: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 43.7 for Gemini 3 Flash Preview.
Pick Gemini 3 Flash Preview for output tokens 2.0x cheaper ($3.00 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 32
- Gemini 3 Flash Preview only
- 39
- Grok 4.7 only
- 67
- 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 43.7.
2 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 26.3.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Gemini 3 Flash Preview has a GPQA Diamond result, 87.9%.
Directional only
Math
AIME
No call
Only Gemini 3 Flash Preview has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3 Flash Preview has a MMLU Pro result, 88.6%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 1196.
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 Flash Preview
Gemini 3 Flash Preview takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3 Flash Preview
Gemini 3 Flash Preview $0.0020, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3 Flash Preview has the number, $0.37.
Directional only
At a glance
- Coding index
- Gemini 3 Flash Preview 43.7 from 2 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Coding, 31.1 points apart on average over 4 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3 Flash Preview 20.2% against Grok 4.7 86.2%, 66.0 points apart on a 0 to 100 scale.
- Output price
- Gemini 3 Flash Preview $3.00 against Grok 4.7 $6.00 per million output tokens, 2.0x apart.
- Context window
- Gemini 3 Flash Preview 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 Flash Preview | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 5 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 3 | 1 tie | |
| Knowledge | 3 | 0 | ||
| Web design | 0 | 4 | ||
| General | 1 | 4 | ||
| All shared boards | 4 | 27 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| SWE-bench Verified | 75.8% | Not measured | Only Gemini 3 Flash Preview measured |
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | Not measured | 1637 | Only Grok 4.7 measured |
| LiveCodeBench (Vals AI) | 85.6% | Not measured | Only Gemini 3 Flash Preview measured |
| SWE-bench Verified (Vals AI) | 75.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | 20.2% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 6.4% | 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) | 53.9% | 73.4% | Grok 4.7 |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| CyberBench (Vals AI) | Not measured | 69.5% | Only Grok 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | 90.8% | Not measured | Only Gemini 3 Flash Preview measured |
| SciCode | Not measured | 57.8% | Only Grok 4.7 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 38.6% | Not measured | Only Gemini 3 Flash Preview measured |
| Terminal-Bench | 64.3% | Not measured | Only Gemini 3 Flash Preview measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| GSO-Bench | 9.8% | Not measured | Only Gemini 3 Flash Preview measured |
| WeirdML | 61.6% | Not measured | Only Gemini 3 Flash Preview measured |
| ALE-Bench | 1367.2 | Not measured | Only Gemini 3 Flash Preview measured |
| LMArena Text: coding | Not measured | 1432 | Only Grok 4.7 measured |
| LMArena Text: software and IT | Not measured | 1421 | Only Grok 4.7 measured |
| LMArena WebDev: React | Not measured | 1663 | Only Grok 4.7 measured |
| LMArena WebDev: HTML | Not measured | 1627 | Only Grok 4.7 measured |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| SciCode | 12.7% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 11 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 26.3 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | Not measured | 154.4 | Only Grok 4.7 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1111 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: agents building full-stack apps | 1063 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: agents building mobile apps | 1090 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: agents building Android apps | 1051 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: agents building Godot games | 1161 | Not measured | Only Gemini 3 Flash Preview measured |
| Design Arena: PowerPoint slides | 1036 | Not measured | Only Gemini 3 Flash Preview 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) | 42.5% | 52.3% | Grok 4.7 |
| Tax Agent Bench (Vals AI) | 11.8% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 18.3% | 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) | 26.0% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 10.0% | Only Grok 4.7 measured |
| 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 | 80.4% | Not measured | Only Gemini 3 Flash Preview measured |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| 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 | $10,537 | Grok 4.7 |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 87.9% | Not measured | Only Gemini 3 Flash Preview 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) | 87.6% | Not measured | Only Gemini 3 Flash Preview measured |
| GPQA Diamond (Artificial Analysis run) | 89.8% | Not measured | Only Gemini 3 Flash Preview measured |
| Humanity's Last Exam (Artificial Analysis run) | 36.6% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 89.4% | 92.7% | Grok 4.7 |
| ARC-AGI | 84.7% | 90.2% | Grok 4.7 |
| ARC-AGI-2 | 33.6% | 61.4% | Grok 4.7 |
| SimpleBench | 61.1% | Not measured | Only Gemini 3 Flash Preview measured |
| Chess puzzles | 39.0% | 41.0% | Grok 4.7 |
| Mystery game puzzles | 26.0% | 29.0% | Grok 4.7 |
| VPCT | 72.6% | Not measured | Only Gemini 3 Flash Preview measured |
| LMArena Text: hard prompts | Not measured | 1415 | Only Grok 4.7 measured |
| LMArena Text: expert | Not measured | 1439 | Only Grok 4.7 measured |
| LMArena Text: hard prompts in English | Not measured | 1427 | Only Grok 4.7 measured |
| LMArena Vision: diagrams | Not measured | 1254 | Only Grok 4.7 measured |
| LMArena Vision: homework | Not measured | 1309 | Only Grok 4.7 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| AIME | 95.6% | Not measured | Only Gemini 3 Flash Preview measured |
| 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% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 51.2% | 53.0% | Grok 4.7 |
| FrontierMath, tier 4 | 17.1% | 17.1% | Tie |
| ProofBench | 15.0% | 26.0% | Grok 4.7 |
| LMArena Text: math | Not measured | 1414 | Only Grok 4.7 measured |
| LMArena Text: mathematical work | Not measured | 1435 | Only Grok 4.7 measured |
| Neither model has a result on the other 3 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 88.6% | Not measured | Only Gemini 3 Flash Preview measured |
| LegalBench (Vals AI) | 86.9% | 84.4% | Gemini 3 Flash Preview |
| CaseLaw (Vals AI) | 55.8% | Not measured | Only Gemini 3 Flash Preview measured |
| CorpFin (Vals AI) | 66.4% | Not measured | Only Gemini 3 Flash Preview measured |
| TaxEval (Vals AI) | 73.9% | Not measured | Only Gemini 3 Flash Preview measured |
| MortgageTax (Vals AI) | 68.7% | Not measured | Only Gemini 3 Flash Preview measured |
| MedQA (Vals AI) | 95.8% | Not measured | Only Gemini 3 Flash Preview measured |
| MedCode (Vals AI) | 55.9% | 49.5% | Gemini 3 Flash Preview |
| MMLU Pro (Artificial Analysis run) | 89.0% | Not measured | Only Gemini 3 Flash Preview measured |
| SimpleQA Verified | 66.8% | 56.0% | Gemini 3 Flash Preview |
| GeoBench | 88.0% | Not measured | Only Gemini 3 Flash Preview measured |
| LMArena Text: science | Not measured | 1419 | Only Grok 4.7 measured |
| LMArena Text: medicine and healthcare | Not measured | 1395 | Only Grok 4.7 measured |
| LMArena Text: legal and government | Not measured | 1423 | Only Grok 4.7 measured |
| LMArena Text: business and finance | Not measured | 1389 | Only Grok 4.7 measured |
| FACTS Benchmark Suite | 63.4% | Not measured | Only Gemini 3 Flash Preview measured |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | Gemini 3 Flash Preview | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1196 | 1255 | Grok 4.7 |
| Design Arena: UI components | Not measured | 1275 | Only Grok 4.7 measured |
| Design Arena: game dev | 1166 | 1314 | Grok 4.7 |
| Design Arena: data viz | Not measured | 1238 | Only Grok 4.7 measured |
| Design Arena: 3D | 1183 | 1274 | Grok 4.7 |
| Design Arena: all code categories | 1189 | 1273 | Grok 4.7 |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index14
| Benchmark | Gemini 3 Flash Preview | 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) | Not measured | 65.6% | Only Grok 4.7 measured |
| SAGE (Vals AI) | 51.8% | 40.8% | Gemini 3 Flash Preview |
| MedScribe (Vals AI) | 69.9% | 89.4% | Grok 4.7 |
| Vals Multimodal Index | 52.2% | Not measured | Only Gemini 3 Flash Preview measured |
| IFBench | 78.0% | Not measured | Only Gemini 3 Flash Preview measured |
| Long context reasoning (AA-LCR) | 78.0% | 80.0% | Grok 4.7 |
| DTBench | 89.1% | 96.0% | Grok 4.7 |
| LMCA | 43.1% | 49.4% | Grok 4.7 |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | Not measured | 1399 | Only Grok 4.7 measured |
| LMArena Text: instruction following | Not measured | 1406 | Only Grok 4.7 measured |
| LMArena Text: creative writing | Not measured | 1381 | Only Grok 4.7 measured |
| LMArena Vision | Not measured | 1231 | Only Grok 4.7 measured |
| LMArena Text: English | Not measured | 1411 | Only Grok 4.7 measured |
| LMArena Text: non-English | Not measured | 1386 | Only Grok 4.7 measured |
| LMArena Text: Chinese | Not measured | 1449 | Only Grok 4.7 measured |
| LMArena Text: German | Not measured | 1366 | Only Grok 4.7 measured |
| LMArena Text: Japanese | Not measured | 1359 | Only Grok 4.7 measured |
| LMArena Text: Korean | Not measured | 1383 | Only Grok 4.7 measured |
| LMArena Text: French | Not measured | 1431 | Only Grok 4.7 measured |
| LMArena Text: Spanish | Not measured | 1406 | Only Grok 4.7 measured |
| LMArena Text: Russian | Not measured | 1399 | Only Grok 4.7 measured |
| LMArena Text: Polish | Not measured | 1420 | Only Grok 4.7 measured |
| LMArena Text: multi-turn | Not measured | 1394 | Only Grok 4.7 measured |
| LMArena Text: longer queries | Not measured | 1416 | Only Grok 4.7 measured |
| LMArena Text: writing and language | Not measured | 1394 | Only Grok 4.7 measured |
| LMArena Text: entertainment and media | Not measured | 1376 | Only Grok 4.7 measured |
| LMArena Vision: English | Not measured | 1229 | Only Grok 4.7 measured |
| LMArena Vision: Chinese | Not measured | 1250 | Only Grok 4.7 measured |
| LMArena Vision: reading text | Not measured | 1241 | Only Grok 4.7 measured |
| LMArena Vision: creative writing | Not measured | 1217 | Only Grok 4.7 measured |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3 Flash Preview | 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 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.7 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | December 17, 2025 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.50 | $2.00 |
| Output $/Mtok | $3.00 | $6.00 |
| Coding index | 43.7 | 66.7 |
| Independent measurements behind it | 2 | 5 |
| Cost per solved task | $0.37 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3 Flash Preview better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 43.7 for Gemini 3 Flash Preview. Pick Gemini 3 Flash Preview for output tokens 2.0x cheaper ($3.00 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, Gemini 3 Flash Preview or Grok 4.7?
Gemini 3 Flash Preview costs $0.50 per million input tokens and $3.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3 Flash Preview only.
Which has the bigger context window, Gemini 3 Flash Preview or Grok 4.7?
Gemini 3 Flash Preview, with 1.05M tokens against 500K.
How many benchmarks is the Gemini 3 Flash Preview vs Grok 4.7 comparison based on?
32 benchmarks have a result for both models as of October 22, 2026. Gemini 3 Flash Preview's coding index rests on 2 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.