Gemini 3.1 Flash Lite Preview vs Grok 4.7
Updated October 21, 2026. 58 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 8.1 for Gemini 3.1 Flash Lite Preview.
Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.0x less, or when the context window is larger, 1.05M against 500K tokens.
- Shared results
- 58
- Gemini 3.1 Flash Lite Preview only
- 19
- Grok 4.7 only
- 41
- 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 8.1.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 15.6.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemini 3.1 Flash Lite Preview has a AA Agentic Index result, 1.6.
Directional only
Reasoning
GPQA Diamond
No call
Only Gemini 3.1 Flash Lite Preview has a GPQA Diamond result, 81.1%.
Directional only
Math
AIME
No call
Only Gemini 3.1 Flash Lite Preview has a AIME result, 83.3%.
Directional only
Knowledge
MMLU Pro
No call
Only Gemini 3.1 Flash Lite Preview has a MMLU Pro result, 86.2%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 1083.
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.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemini 3.1 Flash Lite Preview
Gemini 3.1 Flash Lite Preview $0.0010, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 3.1 Flash Lite Preview has the number, $0.18.
Directional only
At a glance
- Coding index
- Gemini 3.1 Flash Lite Preview 8.1 from 1 benchmark, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Agentic work, 38.9 points apart on average over 4 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 3.1 Flash Lite Preview 0.0% against Grok 4.7 86.2%, 86.2 points apart on a 0 to 100 scale.
- Output price
- Gemini 3.1 Flash Lite Preview $1.50 against Grok 4.7 $6.00 per million output tokens, 4.0x apart.
- Context window
- Gemini 3.1 Flash Lite 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.1 Flash Lite Preview | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 0 | 10 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 4 | ||
| Reasoning | 0 | 5 | ||
| Math | 1 | 1 | ||
| Knowledge | 3 | 3 | ||
| Web design | 0 | 6 | ||
| General | 20 | 4 | ||
| All shared boards | 24 | 34 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index010
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | 1257 | 1637 | Grok 4.7 |
| AA Coding Index | 34.7 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LiveCodeBench (Vals AI) | 80.1% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| SWE-bench Verified (Vals AI) | 62.8% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | 0.0% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 4.6% | 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) | 34.1% | 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 |
| SciCode | Not measured | 57.8% | Only Grok 4.7 measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| ALE-Bench | 797.7 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Text: coding | 1400 | 1432 | Grok 4.7 |
| LMArena Text: software and IT | 1413 | 1421 | Grok 4.7 |
| LMArena WebDev: React | 1245 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1276 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1336 | 1586 | Grok 4.7 |
| Neither model has a result on the other 16 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 15.6 | 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 index04
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | Not measured | Only Gemini 3.1 Flash Lite 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) | 30.0% | 52.3% | Grok 4.7 |
| Tax Agent Bench (Vals AI) | 3.1% | 34.2% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 3.4% | 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) | 8.6% | 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 |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| Vending-Bench 2 | Not measured | $10,537 | Only Grok 4.7 measured |
| Neither model has a result on the other 23 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 81.1% | Not measured | Only Gemini 3.1 Flash Lite 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) | 82.5% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 43.1% | Only Grok 4.7 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 92.7% | Only Grok 4.7 measured |
| ARC-AGI | Not measured | 90.2% | Only Grok 4.7 measured |
| ARC-AGI-2 | Not measured | 61.4% | Only Grok 4.7 measured |
| Chess puzzles | Not measured | 41.0% | Only Grok 4.7 measured |
| Mystery game puzzles | Not measured | 29.0% | Only Grok 4.7 measured |
| LMArena Text: hard prompts | 1407 | 1415 | Grok 4.7 |
| LMArena Text: expert | 1398 | 1439 | Grok 4.7 |
| LMArena Text: hard prompts in English | 1403 | 1427 | Grok 4.7 |
| LMArena Vision: diagrams | 1242 | 1254 | Grok 4.7 |
| LMArena Vision: homework | 1271 | 1309 | Grok 4.7 |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| AIME | 83.3% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| OTIS Mock AIME | Not measured | 98.1% | Only Grok 4.7 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 53.0% | Only Grok 4.7 measured |
| FrontierMath, tier 4 | Not measured | 17.1% | Only Grok 4.7 measured |
| ProofBench | Not measured | 26.0% | Only Grok 4.7 measured |
| LMArena Text: math | 1428 | 1414 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: mathematical work | 1417 | 1435 | Grok 4.7 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index33
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.2% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LegalBench (Vals AI) | 83.8% | 84.4% | Grok 4.7 |
| CaseLaw (Vals AI) | 55.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| CorpFin (Vals AI) | 59.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| TaxEval (Vals AI) | 71.8% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MortgageTax (Vals AI) | 68.0% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| MedCode (Vals AI) | 47.6% | 49.5% | Grok 4.7 |
| SimpleQA Verified | Not measured | 56.0% | Only Grok 4.7 measured |
| LMArena Text: science | 1425 | 1419 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: medicine and healthcare | 1428 | 1395 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: legal and government | 1418 | 1423 | Grok 4.7 |
| LMArena Text: business and finance | 1389 | 1389 | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemini 3.1 Flash Lite Preview | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1083 | 1255 | Grok 4.7 |
| Design Arena: UI components | 1071 | 1271 | Grok 4.7 |
| Design Arena: game dev | 1029 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1045 | 1227 | Grok 4.7 |
| Design Arena: 3D | 1048 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1072 | 1271 | Grok 4.7 |
| Design Arena: SVG | 1052 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Design Arena: ASCII art | 1166 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LiveBench design | Not measured | 78.0% | Only Grok 4.7 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index204
| Benchmark | Gemini 3.1 Flash Lite 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) | 49.5% | 40.8% | Gemini 3.1 Flash Lite Preview |
| MedScribe (Vals AI) | 63.9% | 89.4% | Grok 4.7 |
| Vals Multimodal Index | 41.4% | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| Long context reasoning (AA-LCR) | Not measured | 80.0% | Only Grok 4.7 measured |
| DTBench | Not measured | 96.0% | Only Grok 4.7 measured |
| LMCA | Not measured | 49.4% | Only Grok 4.7 measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1416 | 1399 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: instruction following | 1377 | 1406 | Grok 4.7 |
| LMArena Text: creative writing | 1401 | 1381 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision | 1240 | 1231 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: English | 1414 | 1411 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: non-English | 1410 | 1386 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Chinese | 1460 | 1449 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: German | 1430 | 1366 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Japanese | 1413 | 1359 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Korean | 1392 | 1383 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: French | 1424 | 1431 | Grok 4.7 |
| LMArena Text: Spanish | 1421 | 1406 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Russian | 1420 | 1399 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: Polish | 1443 | 1420 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: multi-turn | 1417 | 1394 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: longer queries | 1394 | 1416 | Grok 4.7 |
| LMArena Text: writing and language | 1408 | 1394 | Gemini 3.1 Flash Lite Preview |
| LMArena Text: entertainment and media | 1386 | 1376 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: English | 1232 | 1229 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: Chinese | 1278 | 1250 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: reading text | 1246 | 1241 | Gemini 3.1 Flash Lite Preview |
| LMArena Vision: humor | 1266 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: captioning | 1259 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: recognizing things | 1308 | Not measured | Only Gemini 3.1 Flash Lite Preview measured |
| LMArena Vision: creative writing | 1248 | 1217 | Gemini 3.1 Flash Lite Preview |
| Neither model has a result on the other 11 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 3.1 Flash Lite 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.1 Flash Lite Preview costs less
Repository review
50K input + 3K output tokens
Gemini 3.1 Flash Lite Preview costs less
Agent loop
200K input + 10K output tokens
Gemini 3.1 Flash Lite 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.1 Flash Lite Preview | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | March 3, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $0.25 | $2.00 |
| Output $/Mtok | $1.50 | $6.00 |
| Coding index | 8.1 | 75.0 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | $0.18 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Flash Lite Preview better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 8.1 for Gemini 3.1 Flash Lite Preview. Pick Gemini 3.1 Flash Lite Preview when output tokens cost 4.0x less, or when the context window is larger, 1.05M against 500K tokens.
Which is cheaper, Gemini 3.1 Flash Lite Preview or Grok 4.7?
Gemini 3.1 Flash Lite Preview costs $0.25 per million input tokens and $1.50 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 3.1 Flash Lite Preview only.
Which has the bigger context window, Gemini 3.1 Flash Lite Preview or Grok 4.7?
Gemini 3.1 Flash Lite Preview, with 1.05M tokens against 500K.
How many benchmarks is the Gemini 3.1 Flash Lite Preview vs Grok 4.7 comparison based on?
58 benchmarks have a result for both models as of October 21, 2026. Gemini 3.1 Flash Lite Preview'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.