Grok 4.7 vs Mercury 2
Grok 4.7 leads Mercury 2 on the Artificial Analysis Intelligence Index, 46.4 to 10.8, and Mercury 2 costs 8.0x less per output token ($0.75 vs $6.00 per million). Updated October 21, 2026; 32 benchmarks have a result for both.
Grok 4.7 or Mercury 2: which to pick
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Mercury 2 has none, so the two cannot be ranked on coding.
Pick Mercury 2 for output tokens 8.0x cheaper ($0.75 vs $6.00 per million).
- Shared results
- 32
- Grok 4.7 only
- 67
- Mercury 2 only
- 10
- 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 10.8.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Mercury 2 has a AA Agentic Index result, 1.6.
Directional only
Web design
Design Arena: websites
Grok 4.7
Grok 4.7 leads, 1254 against 1036.
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
Grok 4.7
Grok 4.7 takes 500K tokens against 128K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Mercury 2
Grok 4.7 $0.0050, Mercury 2 $0.0006 per turn.
List prices
At a glance
- Coding index
- Grok 4.7 66.7 from 5 benchmarks, Mercury 2 not benchmarked.
- Widest category
- Coding, 39.3 points apart on average over 6 shared benchmarks.
- Widest single gap
- LMArena WebDev: React: Grok 4.7 1663 against Mercury 2 1160, 73.4 points apart on a 0 to 100 scale.
- Output price
- Grok 4.7 $6.00 against Mercury 2 $0.75 per million output tokens, 8.0x apart.
- Context window
- Grok 4.7 takes 500K tokens, Mercury 2 128K.
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 | Mercury 2 | Ties |
|---|---|---|---|---|
| Coding | 6 | 0 | ||
| Intelligence | 1 | 0 | ||
| Reasoning | 4 | 0 | ||
| Knowledge | 3 | 0 | ||
| Web design | 6 | 0 | ||
| General | 12 | 0 | ||
| All shared boards | 32 | 0 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| LiveBench coding | 84.5% | Not measured | Only Grok 4.7 measured |
| LMArena WebDev | 1637 | 1171 | Grok 4.7 |
| AA Coding Index | Not measured | 31.1 | Only Mercury 2 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 |
| SciCode | 57.8% | 37.7% | Grok 4.7 |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 26.5% | Only Mercury 2 measured |
| FrontierCode | 47.6% | Not measured | Only Grok 4.7 measured |
| FrontierSWE | 29.5% | Not measured | Only Grok 4.7 measured |
| WeirdML | Not measured | 43.2% | Only Mercury 2 measured |
| ALE-Bench | Not measured | 785.6 | Only Mercury 2 measured |
| LMArena Text: coding | 1432 | 1390 | Grok 4.7 |
| LMArena Text: software and IT | 1421 | 1385 | Grok 4.7 |
| LMArena WebDev: React | 1663 | 1160 | Grok 4.7 |
| LMArena WebDev: HTML | 1627 | 1199 | Grok 4.7 |
| LMArena WebDev: from an image | 1586 | Not measured | 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 index10
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| AA Intelligence Index | 46.4 | 10.8 | Grok 4.7 |
| Epoch Capabilities Index | 154.4 | Not measured | Only Grok 4.7 measured |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 1.6 | Only Mercury 2 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 | 70.8% | Only Mercury 2 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 index40
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| LiveBench reasoning | 82.7% | Not measured | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | 25.2% | Not measured | Only Grok 4.7 measured |
| GPQA Diamond (Artificial Analysis run) | Not measured | 77.0% | Only Mercury 2 measured |
| Humanity's Last Exam (Artificial Analysis run) | 43.1% | 17.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 92.7% | Not measured | Only Grok 4.7 measured |
| ARC-AGI | 90.2% | Not measured | Only Grok 4.7 measured |
| ARC-AGI-2 | 61.4% | Not measured | Only Grok 4.7 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 | 1362 | Grok 4.7 |
| LMArena Text: expert | 1439 | 1358 | Grok 4.7 |
| LMArena Text: hard prompts in English | 1427 | 1374 | Grok 4.7 |
| LMArena Vision: diagrams | 1254 | Not measured | Only Grok 4.7 measured |
| LMArena Vision: homework | 1309 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 8 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| 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 | Not measured | Only Grok 4.7 measured |
| LMArena Text: mathematical work | 1435 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index30
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | 84.4% | Not measured | Only Grok 4.7 measured |
| MedCode (Vals AI) | 49.5% | Not measured | Only Grok 4.7 measured |
| SimpleQA Verified | 56.0% | Not measured | Only Grok 4.7 measured |
| LMArena Text: science | 1419 | 1343 | Grok 4.7 |
| LMArena Text: medicine and healthcare | 1395 | 1363 | Grok 4.7 |
| LMArena Text: legal and government | 1423 | Not measured | Only Grok 4.7 measured |
| LMArena Text: business and finance | 1389 | 1349 | Grok 4.7 |
| Neither model has a result on the other 11 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index60
| Benchmark | Grok 4.7 | Mercury 2 | Leader |
|---|---|---|---|
| Design Arena: websites | 1254 | 1036 | Grok 4.7 |
| Design Arena: UI components | 1275 | 998 | Grok 4.7 |
| Design Arena: game dev | 1313 | 985 | Grok 4.7 |
| Design Arena: data viz | 1235 | 1009 | Grok 4.7 |
| Design Arena: 3D | 1270 | 983 | Grok 4.7 |
| Design Arena: all code categories | 1271 | 1022 | Grok 4.7 |
| Design Arena: SVG | Not measured | 998 | Only Mercury 2 measured |
| Design Arena: ASCII art | Not measured | 988 | Only Mercury 2 measured |
| LiveBench design | 78.0% | Not measured | Only Grok 4.7 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index120
| Benchmark | Grok 4.7 | Mercury 2 | 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% | Not measured | Only Grok 4.7 measured |
| MedScribe (Vals AI) | 89.4% | Not measured | Only Grok 4.7 measured |
| IFBench | Not measured | 69.8% | Only Mercury 2 measured |
| Long context reasoning (AA-LCR) | 80.0% | 43.7% | Grok 4.7 |
| DTBench | 96.0% | Not measured | Only Grok 4.7 measured |
| LMCA | 49.4% | Not measured | Only Grok 4.7 measured |
| Furniture assembly | 20.8% | Not measured | Only Grok 4.7 measured |
| LMArena Text | 1399 | 1354 | Grok 4.7 |
| LMArena Text: instruction following | 1406 | 1328 | Grok 4.7 |
| LMArena Text: creative writing | 1381 | 1286 | Grok 4.7 |
| LMArena Vision | 1231 | Not measured | Only Grok 4.7 measured |
| LMArena Text: English | 1411 | 1378 | Grok 4.7 |
| LMArena Text: non-English | 1386 | 1330 | Grok 4.7 |
| LMArena Text: Chinese | 1449 | 1414 | Grok 4.7 |
| LMArena Text: German | 1366 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Japanese | 1359 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Korean | 1383 | Not measured | Only Grok 4.7 measured |
| LMArena Text: French | 1431 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Spanish | 1406 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Russian | 1399 | 1304 | Grok 4.7 |
| LMArena Text: Polish | 1420 | Not measured | Only Grok 4.7 measured |
| LMArena Text: multi-turn | 1394 | 1357 | Grok 4.7 |
| LMArena Text: longer queries | 1416 | 1329 | Grok 4.7 |
| LMArena Text: writing and language | 1394 | 1300 | Grok 4.7 |
| LMArena Text: entertainment and media | 1376 | 1314 | Grok 4.7 |
| LMArena Vision: English | 1229 | Not measured | Only Grok 4.7 measured |
| LMArena Vision: Chinese | 1250 | Not measured | Only Grok 4.7 measured |
| LMArena Vision: reading text | 1241 | Not measured | Only Grok 4.7 measured |
| LMArena Vision: creative writing | 1217 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Grok 4.7 | Mercury 2 | 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
Mercury 2 costs less
Repository review
50K input + 3K output tokens
Mercury 2 costs less
Agent loop
200K input + 10K output tokens
Mercury 2 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 | Inception Mercury 2 |
|---|---|---|
| Maker | xAI | Inception |
| Weights | No public weights listed | No public weights listed |
| Released | September 21, 2026 | March 4, 2026 |
| Context window | 500K | 128K |
| Input $/Mtok | $2.00 | $0.25 |
| Output $/Mtok | $6.00 | $0.75 |
| Coding index | 66.7 | Not benchmarked |
| Independent measurements behind it | 5 | 1 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Grok 4.7 better than Mercury 2 for coding?
Only Grok 4.7 has a coding score, 66.7 on the Vibe Coding Index; Mercury 2 has none, so the two cannot be ranked on coding. Pick Mercury 2 for output tokens 8.0x cheaper ($0.75 vs $6.00 per million).
Which is cheaper, Grok 4.7 or Mercury 2?
Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens; Mercury 2 costs $0.25 and $0.75. Cost per solved task is known for neither of them.
Which has the bigger context window, Grok 4.7 or Mercury 2?
Grok 4.7, with 500K tokens against 128K.
How many benchmarks is the Grok 4.7 vs Mercury 2 comparison based on?
32 benchmarks have a result for both models as of October 21, 2026. Grok 4.7's coding index rests on 5 independent benchmarks and Mercury 2's on 1. Where only one model has a result, the page says so instead of naming a winner.