Gemma 4 26B A4B vs Grok 4.7
Grok 4.7 leads Gemma 4 26B A4B on the Artificial Analysis Intelligence Index, 46.4 to 16.7, and Gemma 4 26B A4B costs 10.0x less per output token ($0.60 vs $6.00 per million). Updated October 21, 2026; 43 benchmarks have a result for both.
Gemma 4 26B A4B or Grok 4.7: which to pick
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Gemma 4 26B A4B has none, so the two cannot be ranked on coding.
Pick Gemma 4 26B A4B for output tokens 10.0x cheaper ($0.60 vs $6.00 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.
- Shared results
- 43
- Gemma 4 26B A4B only
- 12
- Grok 4.7 only
- 56
- Like-for-like categories
- 6 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
No call
Only Grok 4.7 has a coding score, so no call is made.
One side not measured
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 16.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 4 26B A4B has a AA Agentic Index result, 2.9.
Directional only
Web design
Design Arena: websites
No call
Only Grok 4.7 has a Design Arena: websites result, 1254.
Directional only
General
Vals Index
No call
Only Grok 4.7 has a Vals Index result, 58.6%.
Directional only
Long documents
Listed context window
Grok 4.7
Grok 4.7 takes 500K tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 26B A4B
Gemma 4 26B A4B $0.0004, Grok 4.7 $0.0050 per turn.
List prices
At a glance
- Coding index
- Gemma 4 26B A4B not benchmarked, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Coding, 24.4 points apart on average over 6 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: Gemma 4 26B A4B 1351 against Grok 4.7 1663, 41.5 points apart on a 0 to 100 scale.
- Output price
- Gemma 4 26B A4B $0.60 against Grok 4.7 $6.00 per million output tokens, 10.0x apart.
- Context window
- Gemma 4 26B A4B takes 262K 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 | Gemma 4 26B A4B | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 2 | 4 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 4 | 3 | ||
| Math | 2 | 1 | ||
| Knowledge | 4 | 0 | ||
| General | 18 | 3 | ||
| All shared boards | 30 | 13 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 84.5% | Only Grok 4.7 measured |
| LMArena WebDev | 1360 | 1637 | Grok 4.7 |
| AA Coding Index | 39.3 | Not measured | Only Gemma 4 26B A4B measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 28.8% | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | Not measured | 86.2% | Only Grok 4.7 measured |
| 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 |
| SciCode | 40.0% | 57.8% | Grok 4.7 |
| Terminal-Bench Hard (Artificial Analysis run) | 25.0% | Not measured | Only Gemma 4 26B A4B measured |
| FrontierCode | Not measured | 47.6% | Only Grok 4.7 measured |
| FrontierSWE | Not measured | 29.5% | Only Grok 4.7 measured |
| WeirdML | 35.2% | Not measured | Only Gemma 4 26B A4B measured |
| ALE-Bench | 927.2 | Not measured | Only Gemma 4 26B A4B measured |
| LMArena Text: coding | 1446 | 1432 | Gemma 4 26B A4B |
| LMArena Text: software and IT | 1454 | 1421 | Gemma 4 26B A4B |
| LMArena WebDev: React | 1351 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1362 | 1627 | Grok 4.7 |
| LMArena WebDev: from an image | Not measured | 1586 | Only Grok 4.7 measured |
| Neither model has a result on the other 17 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 16.7 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 141.9 | 154.4 | Grok 4.7 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 2.9 | Not measured | Only Gemma 4 26B A4B 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 | 43.6% | Not measured | Only Gemma 4 26B A4B 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 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index43
| Benchmark | Gemma 4 26B A4B | 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) | 79.2% | Not measured | Only Gemma 4 26B A4B measured |
| Humanity's Last Exam (Artificial Analysis run) | 19.3% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 73.2% | 92.7% | Grok 4.7 |
| 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 | 1438 | 1415 | Gemma 4 26B A4B |
| LMArena Text: expert | 1447 | 1439 | Gemma 4 26B A4B |
| LMArena Text: hard prompts in English | 1448 | 1427 | Gemma 4 26B A4B |
| LMArena Vision: diagrams | 1264 | 1254 | Gemma 4 26B A4B |
| LMArena Vision: homework | 1293 | 1309 | Grok 4.7 |
| Neither model has a result on the other 8 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index21
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 82.2% | 98.1% | Grok 4.7 |
| 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 | 1470 | 1414 | Gemma 4 26B A4B |
| LMArena Text: mathematical work | 1475 | 1435 | Gemma 4 26B A4B |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | Not measured | 84.4% | Only Grok 4.7 measured |
| MedCode (Vals AI) | Not measured | 49.5% | Only Grok 4.7 measured |
| SimpleQA Verified | Not measured | 56.0% | Only Grok 4.7 measured |
| LMArena Text: science | 1446 | 1419 | Gemma 4 26B A4B |
| LMArena Text: medicine and healthcare | 1428 | 1395 | Gemma 4 26B A4B |
| LMArena Text: legal and government | 1457 | 1423 | Gemma 4 26B A4B |
| LMArena Text: business and finance | 1429 | 1389 | Gemma 4 26B A4B |
| FACTS Benchmark Suite | 42.7% | Not measured | Only Gemma 4 26B A4B measured |
| Neither model has a result on the other 10 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Gemma 4 26B A4B | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1254 | Only Grok 4.7 measured |
| Design Arena: UI components | Not measured | 1275 | Only Grok 4.7 measured |
| Design Arena: game dev | Not measured | 1313 | Only Grok 4.7 measured |
| Design Arena: data viz | Not measured | 1235 | Only Grok 4.7 measured |
| Design Arena: 3D | Not measured | 1270 | Only Grok 4.7 measured |
| Design Arena: all code categories | Not measured | 1271 | Only Grok 4.7 measured |
| 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 index183
| Benchmark | Gemma 4 26B A4B | 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) | Not measured | 40.8% | Only Grok 4.7 measured |
| MedScribe (Vals AI) | Not measured | 89.4% | Only Grok 4.7 measured |
| IFBench | 72.4% | Not measured | Only Gemma 4 26B A4B measured |
| Long context reasoning (AA-LCR) | 65.7% | 80.0% | Grok 4.7 |
| DTBench | 74.9% | 96.0% | Grok 4.7 |
| LMCA | 29.7% | 49.4% | Grok 4.7 |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1434 | 1399 | Gemma 4 26B A4B |
| LMArena Text: instruction following | 1420 | 1406 | Gemma 4 26B A4B |
| LMArena Text: creative writing | 1400 | 1381 | Gemma 4 26B A4B |
| LMArena Vision | 1260 | 1231 | Gemma 4 26B A4B |
| LMArena Text: English | 1444 | 1411 | Gemma 4 26B A4B |
| LMArena Text: non-English | 1421 | 1386 | Gemma 4 26B A4B |
| LMArena Text: Chinese | 1495 | 1449 | Gemma 4 26B A4B |
| 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 | 1460 | 1431 | Gemma 4 26B A4B |
| LMArena Text: Spanish | 1415 | 1406 | Gemma 4 26B A4B |
| LMArena Text: Russian | 1434 | 1399 | Gemma 4 26B A4B |
| LMArena Text: Polish | Not measured | 1420 | Only Grok 4.7 measured |
| LMArena Text: multi-turn | 1441 | 1394 | Gemma 4 26B A4B |
| LMArena Text: longer queries | 1427 | 1416 | Gemma 4 26B A4B |
| LMArena Text: writing and language | 1405 | 1394 | Gemma 4 26B A4B |
| LMArena Text: entertainment and media | 1403 | 1376 | Gemma 4 26B A4B |
| LMArena Vision: English | 1256 | 1229 | Gemma 4 26B A4B |
| LMArena Vision: Chinese | 1312 | 1250 | Gemma 4 26B A4B |
| LMArena Vision: reading text | 1268 | 1241 | Gemma 4 26B A4B |
| LMArena Vision: humor | 1272 | Not measured | Only Gemma 4 26B A4B measured |
| LMArena Vision: captioning | 1297 | Not measured | Only Gemma 4 26B A4B measured |
| LMArena Vision: recognizing things | 1191 | Not measured | Only Gemma 4 26B A4B measured |
| LMArena Vision: creative writing | 1256 | 1217 | Gemma 4 26B A4B |
| 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 | Gemma 4 26B A4B | 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
Gemma 4 26B A4B costs less
Repository review
50K input + 3K output tokens
Gemma 4 26B A4B costs less
Agent loop
200K input + 10K output tokens
Gemma 4 26B A4B 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 Gemma 4 26B A4B | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | xAI | |
| Weights | Open weights | No public weights listed |
| Released | April 3, 2026 | September 21, 2026 |
| Context window | 262K | 500K |
| Input $/Mtok | $0.15 | $2.00 |
| Output $/Mtok | $0.60 | $6.00 |
| Coding index | Not benchmarked | 66.7 |
| Independent measurements behind it | 1 | 5 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 4 26B A4B better than Grok 4.7 for coding?
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Gemma 4 26B A4B has none, so the two cannot be ranked on coding. Pick Gemma 4 26B A4B for output tokens 10.0x cheaper ($0.60 vs $6.00 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.
Which is cheaper, Gemma 4 26B A4B or Grok 4.7?
Gemma 4 26B A4B costs $0.15 per million input tokens and $0.60 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemma 4 26B A4B or Grok 4.7?
Grok 4.7, with 500K tokens against 262K.
How many benchmarks is the Gemma 4 26B A4B vs Grok 4.7 comparison based on?
43 benchmarks have a result for both models as of October 21, 2026. Gemma 4 26B A4B's coding index rests on 1 independent benchmark and Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.