Gemini 2.5 Pro vs Grok 4.7
Updated October 21, 2026. 62 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 37.0 for Gemini 2.5 Pro.
Pick Gemini 2.5 Pro when the context window is larger, 1.05M against 500K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.
- Shared results
- 62
- Gemini 2.5 Pro only
- 25
- Grok 4.7 only
- 37
- 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 37.0.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 16.1.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemini 2.5 Pro has a AA Agentic Index result, 1.6.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 1167.
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 2.5 Pro
Gemini 2.5 Pro takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.7
Gemini 2.5 Pro $0.0063, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Gemini 2.5 Pro has the number, $0.64.
Directional only
At a glance
- Coding index
- Gemini 2.5 Pro 37.0 from 2 benchmarks, Grok 4.7 75.0 from 2 benchmarks.
- Widest category
- Agentic work, 62.3 points apart on average over 1 shared benchmark.
- Widest single gap
- Vibe Code Bench (Vals AI): Gemini 2.5 Pro 0.4% against Grok 4.7 86.2%, 85.8 points apart on a 0 to 100 scale.
- Output price
- Gemini 2.5 Pro $10.00 against Grok 4.7 $6.00 per million output tokens, 1.7x apart.
- Context window
- Gemini 2.5 Pro 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 2.5 Pro | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 2 | 5 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 4 | 5 | ||
| Math | 2 | 3 | ||
| Knowledge | 5 | 0 | ||
| Web design | 0 | 6 | ||
| General | 23 | 4 | ||
| All shared boards | 36 | 26 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index25
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| SWE-bench Verified | 53.6% | Not measured | Only Gemini 2.5 Pro measured |
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | 1226 | 1637 | Grok 4.7 |
| AA Coding Index | 33.3 | Not measured | Only Gemini 2.5 Pro measured |
| SWE-bench Verified (Vals AI) | 54.4% | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | 0.4% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | Not measured | 44.8% | Only Grok 4.7 measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only Grok 4.7 measured |
| IOI (Vals AI) | Not measured | 57.7% | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 73.4% | Only Grok 4.7 measured |
| 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) | 80.1% | Not measured | Only Gemini 2.5 Pro measured |
| SciCode | 46.3% | 57.8% | Grok 4.7 |
| Terminal-Bench Hard (Artificial Analysis run) | 26.5% | Not measured | Only Gemini 2.5 Pro measured |
| Terminal-Bench | 32.6% | Not measured | Only Gemini 2.5 Pro measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| GSO-Bench | 3.9% | Not measured | Only Gemini 2.5 Pro measured |
| WeirdML | 54.0% | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Text: coding | 1452 | 1432 | Gemini 2.5 Pro |
| LMArena Text: software and IT | 1459 | 1421 | Gemini 2.5 Pro |
| LMArena WebDev: React | Not measured | 1663 | Only Grok 4.7 measured |
| LMArena WebDev: HTML | 1235 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | 1285 | 1586 | Grok 4.7 |
| Neither model has a result on the other 12 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.1 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 145.1 | 154.4 | Grok 4.7 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 1.6 | Not measured | Only Gemini 2.5 Pro 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) | Not measured | 52.3% | Only Grok 4.7 measured |
| Tax Agent Bench (Vals AI) | Not measured | 34.2% | Only Grok 4.7 measured |
| Legal Research Bench (Vals AI) | Not measured | 47.1% | Only Grok 4.7 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 18.3% | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 67.0% | Only Grok 4.7 measured |
| 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 | 54.1% | Not measured | Only Gemini 2.5 Pro measured |
| APEX-Agents | Not measured | 54.6% | Only Grok 4.7 measured |
| GDPval | 23.3% | Not measured | Only Gemini 2.5 Pro measured |
| DeepResearch Bench | 41.5% | Not measured | Only Gemini 2.5 Pro measured |
| Vending-Bench 2 | $574 | $10,537 | Grok 4.7 |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index45
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench reasoning | Not measured | 82.7% | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | Not measured | 25.2% | Only Grok 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | 84.4% | Not measured | Only Gemini 2.5 Pro measured |
| Humanity's Last Exam (Artificial Analysis run) | 22.5% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 85.3% | 92.7% | Grok 4.7 |
| ARC-AGI | 41.0% | 90.2% | Grok 4.7 |
| ARC-AGI-2 | 4.9% | 61.4% | Grok 4.7 |
| 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 | 1455 | 1415 | Gemini 2.5 Pro |
| LMArena Text: expert | 1452 | 1439 | Gemini 2.5 Pro |
| LMArena Text: hard prompts in English | 1453 | 1427 | Gemini 2.5 Pro |
| LMArena Vision: diagrams | 1274 | 1254 | Gemini 2.5 Pro |
| LMArena Vision: homework | 1281 | 1309 | Grok 4.7 |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index23
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| AA Math Index | 87.7 | Not measured | Only Gemini 2.5 Pro measured |
| AIME 2025 (Artificial Analysis run) | 87.7% | Not measured | Only Gemini 2.5 Pro measured |
| OTIS Mock AIME | 84.7% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 24.6% | 53.0% | Grok 4.7 |
| FrontierMath, tier 4 | 0.0% | 17.1% | Grok 4.7 |
| ProofBench | Not measured | 26.0% | Only Grok 4.7 measured |
| LMArena Text: math | 1450 | 1414 | Gemini 2.5 Pro |
| LMArena Text: mathematical work | 1454 | 1435 | Gemini 2.5 Pro |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index50
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | Not measured | 84.4% | Only Grok 4.7 measured |
| CaseLaw (Vals AI) | 63.9% | Not measured | Only Gemini 2.5 Pro measured |
| CorpFin (Vals AI) | 60.8% | Not measured | Only Gemini 2.5 Pro measured |
| MortgageTax (Vals AI) | 68.9% | Not measured | Only Gemini 2.5 Pro measured |
| MedCode (Vals AI) | 50.6% | 49.5% | Gemini 2.5 Pro |
| MMLU Pro (Artificial Analysis run) | 86.2% | Not measured | Only Gemini 2.5 Pro measured |
| SimpleQA Verified | Not measured | 56.0% | Only Grok 4.7 measured |
| LMArena Text: science | 1480 | 1419 | Gemini 2.5 Pro |
| LMArena Text: medicine and healthcare | 1476 | 1395 | Gemini 2.5 Pro |
| LMArena Text: legal and government | 1480 | 1423 | Gemini 2.5 Pro |
| LMArena Text: business and finance | 1439 | 1389 | Gemini 2.5 Pro |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | Gemini 2.5 Pro | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1167 | 1255 | Grok 4.7 |
| Design Arena: UI components | 1139 | 1271 | Grok 4.7 |
| Design Arena: game dev | 1112 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1222 | 1227 | Grok 4.7 |
| Design Arena: 3D | 1080 | 1269 | Grok 4.7 |
| Design Arena: all code categories | 1152 | 1271 | 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 index234
| Benchmark | Gemini 2.5 Pro | 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) | 41.9% | 40.8% | Gemini 2.5 Pro |
| MedScribe (Vals AI) | 73.5% | 89.4% | Grok 4.7 |
| IFBench | 48.7% | Not measured | Only Gemini 2.5 Pro measured |
| Long context reasoning (AA-LCR) | 69.0% | 80.0% | Grok 4.7 |
| DTBench | 82.4% | 96.0% | Grok 4.7 |
| LMCA | 34.8% | 49.4% | Grok 4.7 |
| Creative writing (Lech Mazur) | 83.8% | Not measured | Only Gemini 2.5 Pro measured |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1458 | 1399 | Gemini 2.5 Pro |
| LMArena Text: instruction following | 1437 | 1406 | Gemini 2.5 Pro |
| LMArena Text: creative writing | 1454 | 1381 | Gemini 2.5 Pro |
| LMArena Vision | 1263 | 1231 | Gemini 2.5 Pro |
| LMArena Text: English | 1458 | 1411 | Gemini 2.5 Pro |
| LMArena Text: non-English | 1452 | 1386 | Gemini 2.5 Pro |
| LMArena Text: Chinese | 1507 | 1449 | Gemini 2.5 Pro |
| LMArena Text: German | 1487 | 1366 | Gemini 2.5 Pro |
| LMArena Text: Japanese | 1461 | 1359 | Gemini 2.5 Pro |
| LMArena Text: Korean | 1434 | 1383 | Gemini 2.5 Pro |
| LMArena Text: French | 1473 | 1431 | Gemini 2.5 Pro |
| LMArena Text: Spanish | 1474 | 1406 | Gemini 2.5 Pro |
| LMArena Text: Russian | 1461 | 1399 | Gemini 2.5 Pro |
| LMArena Text: Polish | 1479 | 1420 | Gemini 2.5 Pro |
| LMArena Text: multi-turn | 1453 | 1394 | Gemini 2.5 Pro |
| LMArena Text: longer queries | 1449 | 1416 | Gemini 2.5 Pro |
| LMArena Text: writing and language | 1454 | 1394 | Gemini 2.5 Pro |
| LMArena Text: entertainment and media | 1441 | 1376 | Gemini 2.5 Pro |
| LMArena Vision: English | 1261 | 1229 | Gemini 2.5 Pro |
| LMArena Vision: Chinese | 1300 | 1250 | Gemini 2.5 Pro |
| LMArena Vision: reading text | 1270 | 1241 | Gemini 2.5 Pro |
| LMArena Vision: humor | 1262 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: captioning | 1304 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: recognizing things | 1283 | Not measured | Only Gemini 2.5 Pro measured |
| LMArena Vision: creative writing | 1265 | 1217 | Gemini 2.5 Pro |
| LMArena Document | 1421 | Not measured | Only Gemini 2.5 Pro measured |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemini 2.5 Pro | 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 2.5 Pro costs less
Agent loop
200K input + 10K output tokens
Gemini 2.5 Pro 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 2.5 Pro | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | xAI | |
| Weights | No public weights listed | No public weights listed |
| Released | June 17, 2025 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $1.25 | $2.00 |
| Output $/Mtok | $10.00 | $6.00 |
| Coding index | 37.0 | 75.0 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.64 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 2.5 Pro better than Grok 4.7 for coding?
Pick Grok 4.7 for coding: it scores 75.0 on the Vibe Coding Index against 37.0 for Gemini 2.5 Pro. Pick Gemini 2.5 Pro when the context window is larger, 1.05M against 500K tokens, or when what matters is LMArena Text: coding or LMArena Text: software and IT, where it leads.
Which is cheaper, Gemini 2.5 Pro or Grok 4.7?
Gemini 2.5 Pro costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for Gemini 2.5 Pro only.
Which has the bigger context window, Gemini 2.5 Pro or Grok 4.7?
Gemini 2.5 Pro, with 1.05M tokens against 500K.
How many benchmarks is the Gemini 2.5 Pro vs Grok 4.7 comparison based on?
62 benchmarks have a result for both models as of October 21, 2026. Gemini 2.5 Pro's coding index rests on 2 independent benchmarks and Grok 4.7's on 2. Where only one model has a result, the page says so instead of naming a winner.