Grok 4.7 vs Llama 4 Maverick
Grok 4.7 leads Llama 4 Maverick on the Artificial Analysis Intelligence Index, 46.4 to 9.3, and Llama 4 Maverick costs 6.0x less per output token ($1.00 vs $6.00 per million). Updated October 22, 2026; 54 benchmarks have a result for both.
Grok 4.7 or Llama 4 Maverick: which to pick
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Llama 4 Maverick has none, so the two cannot be ranked on coding.
Pick Llama 4 Maverick for output tokens 6.0x cheaper ($1.00 vs $6.00 per million) and a larger context window (524K against 500K tokens).
- Shared results
- 54
- Grok 4.7 only
- 45
- Llama 4 Maverick only
- 31
- Like-for-like categories
- 7 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 9.3.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Llama 4 Maverick has a AA Agentic Index result, 0.6.
Directional only
Reasoning
GPQA Diamond
No call
Only Llama 4 Maverick has a GPQA Diamond result, 69.4%.
Directional only
Math
AIME
No call
Only Llama 4 Maverick has a AIME result, 25.2%.
Directional only
Knowledge
MMLU Pro
No call
Only Llama 4 Maverick has a MMLU Pro result, 79.4%.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1255 against 871.
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
Llama 4 Maverick
Llama 4 Maverick takes 524K tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Llama 4 Maverick
Grok 4.7 $0.0050, Llama 4 Maverick $0.0008 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Llama 4 Maverick has the number, $1.491.
Directional only
At a glance
- Coding index
- Grok 4.7 66.7 from 5 benchmarks, Llama 4 Maverick not benchmarked.
- Widest category
- Web design, 49.3 points apart on average over 6 shared benchmarks.
- Widest single gap
- ARC-AGI: Grok 4.7 90.2% against Llama 4 Maverick 4.4%, 85.8 points apart on a 0 to 100 scale.
- Output price
- Grok 4.7 $6.00 against Llama 4 Maverick $1.00 per million output tokens, 6.0x apart.
- Context window
- Grok 4.7 takes 500K tokens, Llama 4 Maverick 524K.
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 | Grok 4.7 | Bars | Llama 4 Maverick | Ties |
|---|---|---|---|---|
| Coding | 3 | 0 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 8 | 0 | ||
| Math | 2 | 0 | ||
| Knowledge | 6 | 0 | ||
| Web design | 6 | 0 | ||
| General | 27 | 0 | ||
| All shared boards | 54 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 15.6% | Only Llama 4 Maverick measured |
| SWE-bench Verified | Not measured | 21.0% | Only Llama 4 Maverick measured |
| LiveBench coding | 84.5% | Not measured | Only Grok 4.7 measured |
| LMArena WebDev | 1637 | Not measured | Only Grok 4.7 measured |
| AA Coding Index | Not measured | 16.3 | Only Llama 4 Maverick measured |
| LiveCodeBench (Vals AI) | Not measured | 47.3% | Only Llama 4 Maverick measured |
| Terminal-Bench 4 (Vals AI) | 28.8% | Not measured | Only Grok 4.7 measured |
| Vibe Code Bench (Vals AI) | 86.2% | Not measured | Only Grok 4.7 measured |
| Code migration (Vals AI) | 44.8% | Not measured | Only Grok 4.7 measured |
| ProgramBench (Vals AI) | 0.5% | Not measured | Only Grok 4.7 measured |
| IOI (Vals AI) | 57.7% | Not measured | Only Grok 4.7 measured |
| Terminal-Bench 2.1 (Vals AI) | 73.4% | Not measured | Only Grok 4.7 measured |
| SWE-bench Multimodal (Vals AI) | 42.9% | Not measured | Only Grok 4.7 measured |
| CyberBench (Vals AI) | 69.5% | Not measured | Only Grok 4.7 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 39.7% | Only Llama 4 Maverick measured |
| SciCode | 57.8% | 31.7% | Grok 4.7 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 6.8% | Only Llama 4 Maverick measured |
| FrontierCode | 47.6% | Not measured | Only Grok 4.7 measured |
| FrontierSWE | 29.5% | Not measured | Only Grok 4.7 measured |
| WeirdML | Not measured | 24.5% | Only Llama 4 Maverick measured |
| ALE-Bench | Not measured | 173.0 | Only Llama 4 Maverick measured |
| LMArena Text: coding | 1432 | 1301 | Grok 4.7 |
| LMArena Text: software and IT | 1421 | 1299 | Grok 4.7 |
| LMArena WebDev: React | 1663 | Not measured | Only Grok 4.7 measured |
| LMArena WebDev: HTML | 1627 | Not measured | Only Grok 4.7 measured |
| LMArena WebDev: from an image | 1586 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 13 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Intelligence Index | 46.4 | 9.3 | Grok 4.7 |
| Epoch Capabilities Index | 154.4 | 132.2 | Grok 4.7 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 0.6 | Only Llama 4 Maverick measured |
| LiveBench research | 86.4% | Not measured | Only Grok 4.7 measured |
| LiveBench browser | 60.0% | Not measured | Only Grok 4.7 measured |
| LiveBench long agentic | 50.1% | Not measured | Only Grok 4.7 measured |
| SREBench (Vals AI) | 3.8% | Not measured | Only Grok 4.7 measured |
| Finance Agent (Vals AI) | 52.3% | Not measured | Only Grok 4.7 measured |
| Tax Agent Bench (Vals AI) | 34.2% | Not measured | Only Grok 4.7 measured |
| Legal Research Bench (Vals AI) | 47.1% | Not measured | Only Grok 4.7 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | 18.3% | Not measured | Only Grok 4.7 measured |
| Excel Modeling Benchmark (Vals AI) | 67.0% | Not measured | Only Grok 4.7 measured |
| BioMysteryBench (Vals AI) | 69.3% | Not measured | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | 10.0% | Not measured | Only Grok 4.7 measured |
| Vals Science Index | 34.8% | Not measured | Only Grok 4.7 measured |
| Robo-bench (Vals AI) | 0.2% | Not measured | Only Grok 4.7 measured |
| τ²-Bench Telecom | Not measured | 17.8% | Only Llama 4 Maverick measured |
| APEX-Agents | 54.6% | Not measured | Only Grok 4.7 measured |
| Vending-Bench 2 | $10,537 | Not measured | 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 index80
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 69.4% | Only Llama 4 Maverick measured |
| LiveBench reasoning | 82.7% | Not measured | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | 25.2% | Not measured | Only Grok 4.7 measured |
| MMMU Pro (Vals AI) | Not measured | 71.7% | Only Llama 4 Maverick measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 67.1% | Only Llama 4 Maverick measured |
| Humanity's Last Exam (Artificial Analysis run) | 43.1% | 4.9% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 92.7% | Not measured | Only Grok 4.7 measured |
| ARC-AGI | 90.2% | 4.4% | Grok 4.7 |
| ARC-AGI-2 | 61.4% | 0.0% | Grok 4.7 |
| SimpleBench | Not measured | 27.7% | Only Llama 4 Maverick measured |
| Chess puzzles | 41.0% | Not measured | Only Grok 4.7 measured |
| Mystery game puzzles | 29.0% | Not measured | Only Grok 4.7 measured |
| LMArena Text: hard prompts | 1415 | 1281 | Grok 4.7 |
| LMArena Text: expert | 1439 | 1259 | Grok 4.7 |
| LMArena Text: hard prompts in English | 1427 | 1295 | Grok 4.7 |
| LMArena Vision: diagrams | 1254 | 1134 | Grok 4.7 |
| LMArena Vision: homework | 1309 | 1164 | Grok 4.7 |
| Kagi LLM Benchmark | Not measured | 55.9% | Only Llama 4 Maverick measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| AIME | Not measured | 25.2% | Only Llama 4 Maverick measured |
| MATH 500 (Vals AI) | Not measured | 85.2% | Only Llama 4 Maverick measured |
| MGSM (Vals AI) | Not measured | 92.4% | Only Llama 4 Maverick measured |
| AA Math Index | Not measured | 19.3 | Only Llama 4 Maverick measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 19.3% | Only Llama 4 Maverick measured |
| OTIS Mock AIME | 98.1% | Not measured | Only Grok 4.7 measured |
| FrontierMath, tiers 1 to 3 | 53.0% | Not measured | Only Grok 4.7 measured |
| FrontierMath, tier 4 | 17.1% | Not measured | Only Grok 4.7 measured |
| ProofBench | 26.0% | Not measured | Only Grok 4.7 measured |
| LMArena Text: math | 1414 | 1299 | Grok 4.7 |
| LMArena Text: mathematical work | 1435 | 1295 | Grok 4.7 |
| Neither model has a result on the other 2 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 79.4% | Only Llama 4 Maverick measured |
| LegalBench (Vals AI) | 84.4% | 77.8% | Grok 4.7 |
| CorpFin (Vals AI) | Not measured | 49.7% | Only Llama 4 Maverick measured |
| TaxEval (Vals AI) | Not measured | 66.6% | Only Llama 4 Maverick measured |
| MortgageTax (Vals AI) | Not measured | 58.5% | Only Llama 4 Maverick measured |
| MedQA (Vals AI) | Not measured | 43.3% | Only Llama 4 Maverick measured |
| MedCode (Vals AI) | 49.5% | 36.5% | Grok 4.7 |
| MMLU Pro (Artificial Analysis run) | Not measured | 80.9% | Only Llama 4 Maverick measured |
| SimpleQA Verified | 56.0% | Not measured | Only Grok 4.7 measured |
| GeoBench | Not measured | 52.0% | Only Llama 4 Maverick measured |
| LMArena Text: science | 1419 | 1288 | Grok 4.7 |
| LMArena Text: medicine and healthcare | 1395 | 1275 | Grok 4.7 |
| LMArena Text: legal and government | 1423 | 1286 | Grok 4.7 |
| LMArena Text: business and finance | 1389 | 1260 | Grok 4.7 |
| Neither model has a result on the other 4 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| Design Arena: websites | 1255 | 871 | Grok 4.7 |
| Design Arena: UI components | 1275 | 896 | Grok 4.7 |
| Design Arena: game dev | 1314 | 837 | Grok 4.7 |
| Design Arena: data viz | 1238 | 882 | Grok 4.7 |
| Design Arena: 3D | 1274 | 900 | Grok 4.7 |
| Design Arena: all code categories | 1273 | 879 | Grok 4.7 |
| LiveBench design | 78.0% | Not measured | 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 index270
| Benchmark | Grok 4.7 | Llama 4 Maverick | Leader |
|---|---|---|---|
| Vals Index | 58.6% | Not measured | Only Grok 4.7 measured |
| LiveBench data analysis | 76.9% | Not measured | Only Grok 4.7 measured |
| Public Benefits Bench (Vals AI) | 65.6% | Not measured | Only Grok 4.7 measured |
| SAGE (Vals AI) | 40.8% | 35.7% | Grok 4.7 |
| MedScribe (Vals AI) | 89.4% | 54.2% | Grok 4.7 |
| IFBench | Not measured | 43.0% | Only Llama 4 Maverick measured |
| Long context reasoning (AA-LCR) | 80.0% | 50.0% | Grok 4.7 |
| DTBench | 96.0% | 61.9% | Grok 4.7 |
| LMCA | 49.4% | 15.9% | Grok 4.7 |
| Fiction.LiveBench | Not measured | 46.2% | Only Llama 4 Maverick measured |
| Creative writing (Lech Mazur) | Not measured | 62.0% | Only Llama 4 Maverick measured |
| Furniture assembly | 20.8% | Not measured | Only Grok 4.7 measured |
| LMArena Text | 1399 | 1287 | Grok 4.7 |
| LMArena Text: instruction following | 1406 | 1267 | Grok 4.7 |
| LMArena Text: creative writing | 1381 | 1266 | Grok 4.7 |
| LMArena Vision | 1231 | 1142 | Grok 4.7 |
| LMArena Text: English | 1411 | 1303 | Grok 4.7 |
| LMArena Text: non-English | 1386 | 1269 | Grok 4.7 |
| LMArena Text: Chinese | 1449 | 1277 | Grok 4.7 |
| LMArena Text: German | 1366 | 1291 | Grok 4.7 |
| LMArena Text: Japanese | 1359 | 1206 | Grok 4.7 |
| LMArena Text: Korean | 1383 | 1203 | Grok 4.7 |
| LMArena Text: French | 1431 | 1259 | Grok 4.7 |
| LMArena Text: Spanish | 1406 | 1293 | Grok 4.7 |
| LMArena Text: Russian | 1399 | 1286 | Grok 4.7 |
| LMArena Text: Polish | 1420 | 1275 | Grok 4.7 |
| LMArena Text: multi-turn | 1394 | 1289 | Grok 4.7 |
| LMArena Text: longer queries | 1416 | 1280 | Grok 4.7 |
| LMArena Text: writing and language | 1394 | 1277 | Grok 4.7 |
| LMArena Text: entertainment and media | 1376 | 1250 | Grok 4.7 |
| LMArena Vision: English | 1229 | 1150 | Grok 4.7 |
| LMArena Vision: Chinese | 1250 | 1141 | Grok 4.7 |
| LMArena Vision: reading text | 1241 | 1143 | Grok 4.7 |
| LMArena Vision: humor | Not measured | 1100 | Only Llama 4 Maverick measured |
| LMArena Vision: creative writing | 1217 | 1099 | Grok 4.7 |
| 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 | Grok 4.7 | Llama 4 Maverick | 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
Llama 4 Maverick costs less
Repository review
50K input + 3K output tokens
Llama 4 Maverick costs less
Agent loop
200K input + 10K output tokens
Llama 4 Maverick 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 | SpaceXAI Grok 4.7 | Meta Llama 4 Maverick |
|---|---|---|
| Maker | xAI | Meta Llama |
| Weights | No public weights listed | Open weights |
| Released | September 21, 2026 | April 5, 2025 |
| Context window | 500K | 524K |
| Input $/Mtok | $2.00 | $0.35 |
| Output $/Mtok | $6.00 | $1.00 |
| Coding index | 66.7 | Not benchmarked |
| Independent measurements behind it | 5 | 0 |
| Cost per solved task | Not computable | $1.491 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Grok 4.7 better than Llama 4 Maverick for coding?
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Llama 4 Maverick has none, so the two cannot be ranked on coding. Pick Llama 4 Maverick for output tokens 6.0x cheaper ($1.00 vs $6.00 per million) and a larger context window (524K against 500K tokens).
Which is cheaper, Grok 4.7 or Llama 4 Maverick?
Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens; Llama 4 Maverick costs $0.35 and $1.00. Cost per solved task is known for Llama 4 Maverick only.
Which has the bigger context window, Grok 4.7 or Llama 4 Maverick?
Llama 4 Maverick, with 524K tokens against 500K.
How many benchmarks is the Grok 4.7 vs Llama 4 Maverick comparison based on?
54 benchmarks have a result for both models as of October 22, 2026. Grok 4.7's coding index rests on 5 independent benchmarks and Llama 4 Maverick's on 0. Where only one model has a result, the page says so instead of naming a winner.