Grok 4.7 vs Hy4 preview
Grok 4.7 leads Hy4 preview on coding, 66.7 to 44.3 on the Vibe Coding Index, and Hy4 preview costs 2.4x less per output token ($2.501 vs $6.00 per million). Updated October 22, 2026; 24 benchmarks have a result for both.
Grok 4.7 or Hy4 preview: which to pick
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 44.3 for Hy4 preview.
Pick Hy4 preview for output tokens 2.4x cheaper ($2.501 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
- Shared results
- 24
- Grok 4.7 only
- 75
- Hy4 preview only
- 0
- Like-for-like categories
- 5 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
Grok 4.7
Grok 4.7 scores 66.7 against 44.3.
5 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only Grok 4.7 has a AA Intelligence Index result, 46.4.
Directional only
Web design
Design Arena: websites
No call
Only Grok 4.7 has a Design Arena: websites result, 1255.
Directional only
General
Vals Index
Grok 4.7
Grok 4.7 leads, 58.6% against 53.2%.
Same board, both measured
Long documents
Listed context window
Hy4 preview
Hy4 preview takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Hy4 preview
Grok 4.7 $0.0050, Hy4 preview $0.0021 per turn.
List prices
At a glance
- Coding index
- Grok 4.7 66.7 from 5 benchmarks, Hy4 preview 44.3 from 3 benchmarks.
- Widest category
- Math, 49.0 points apart on average over 1 shared benchmark.
- Widest single gap
- ProofBench: Grok 4.7 26.0% against Hy4 preview 75.0%, 49.0 points apart on a 0 to 100 scale.
- Output price
- Grok 4.7 $6.00 against Hy4 preview $2.501 per million output tokens, 2.4x apart.
- Context window
- Grok 4.7 takes 500K tokens, Hy4 preview 1.05M.
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 | Hy4 preview | Ties |
|---|---|---|---|---|
| Coding | 8 | 2 | ||
| Agentic work | 6 | 1 | 1 tie | |
| Math | 0 | 1 | ||
| Knowledge | 2 | 0 | ||
| General | 2 | 1 | ||
| All shared boards | 18 | 5 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index82
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| LiveBench coding | 84.5% | Not measured | Only Grok 4.7 measured |
| LMArena WebDev | 1637 | 1631 | Grok 4.7 |
| Terminal-Bench 4 (Vals AI) | 28.8% | 8.1% | Grok 4.7 |
| Vibe Code Bench (Vals AI) | 86.2% | 77.5% | Grok 4.7 |
| Code migration (Vals AI) | 44.8% | 47.4% | Hy4 preview |
| ProgramBench (Vals AI) | 0.5% | 0.0% | Grok 4.7 |
| IOI (Vals AI) | 57.7% | 59.3% | Hy4 preview |
| Terminal-Bench 2.1 (Vals AI) | 73.4% | 55.1% | Grok 4.7 |
| SWE-bench Multimodal (Vals AI) | 42.9% | Not measured | Only Grok 4.7 measured |
| CyberBench (Vals AI) | 69.5% | 65.4% | Grok 4.7 |
| SciCode | 57.8% | Not measured | Only Grok 4.7 measured |
| FrontierCode | 47.6% | Not measured | Only Grok 4.7 measured |
| FrontierSWE | 29.5% | Not measured | Only Grok 4.7 measured |
| LMArena Text: coding | 1432 | Not measured | Only Grok 4.7 measured |
| LMArena Text: software and IT | 1421 | Not measured | Only Grok 4.7 measured |
| LMArena WebDev: React | 1663 | 1653 | Grok 4.7 |
| LMArena WebDev: HTML | 1627 | 1620 | Grok 4.7 |
| LMArena WebDev: from an image | 1586 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 21 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| AA Intelligence Index | 46.4 | Not measured | Only Grok 4.7 measured |
| Epoch Capabilities Index | 154.4 | Not measured | Only Grok 4.7 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index61
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| 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% | 2.3% | Grok 4.7 |
| Finance Agent (Vals AI) | 52.3% | 55.1% | Hy4 preview |
| Tax Agent Bench (Vals AI) | 34.2% | 32.6% | Grok 4.7 |
| Legal Research Bench (Vals AI) | 47.1% | 45.2% | Grok 4.7 |
| Harvey's Legal Agent Benchmark (Vals AI) | 18.3% | 8.8% | Grok 4.7 |
| Excel Modeling Benchmark (Vals AI) | 67.0% | 58.1% | Grok 4.7 |
| BioMysteryBench (Vals AI) | 69.3% | 69.3% | Tie |
| Terminal-Bench-Science (Vals AI) | 10.0% | 1.4% | Grok 4.7 |
| 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 |
| 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 26 boards here | |||
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| LiveBench reasoning | 82.7% | Not measured | Only Grok 4.7 measured |
| MysteryMechanism (Vals AI) | 25.2% | Not measured | Only Grok 4.7 measured |
| Humanity's Last Exam (Artificial Analysis run) | 43.1% | Not measured | Only Grok 4.7 measured |
| 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 | Not measured | Only Grok 4.7 measured |
| LMArena Text: expert | 1439 | Not measured | Only Grok 4.7 measured |
| LMArena Text: hard prompts in English | 1427 | Not measured | Only Grok 4.7 measured |
| 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 9 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Grok 4.7 | Hy4 preview | 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% | 75.0% | Hy4 preview |
| 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 index20
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| LegalBench (Vals AI) | 84.4% | 83.8% | Grok 4.7 |
| MedCode (Vals AI) | 49.5% | 43.3% | Grok 4.7 |
| SimpleQA Verified | 56.0% | Not measured | Only Grok 4.7 measured |
| LMArena Text: science | 1419 | Not measured | Only Grok 4.7 measured |
| LMArena Text: medicine and healthcare | 1395 | Not measured | Only Grok 4.7 measured |
| LMArena Text: legal and government | 1423 | Not measured | Only Grok 4.7 measured |
| LMArena Text: business and finance | 1389 | Not measured | Only Grok 4.7 measured |
| Neither model has a result on the other 11 boards here | |||
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| Design Arena: websites | 1255 | Not measured | Only Grok 4.7 measured |
| Design Arena: UI components | 1275 | Not measured | Only Grok 4.7 measured |
| Design Arena: game dev | 1314 | Not measured | Only Grok 4.7 measured |
| Design Arena: data viz | 1238 | Not measured | Only Grok 4.7 measured |
| Design Arena: 3D | 1274 | Not measured | Only Grok 4.7 measured |
| Design Arena: all code categories | 1273 | Not measured | Only Grok 4.7 measured |
| 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 index21
| Benchmark | Grok 4.7 | Hy4 preview | Leader |
|---|---|---|---|
| Vals Index | 58.6% | 53.2% | Grok 4.7 |
| LiveBench data analysis | 76.9% | Not measured | Only Grok 4.7 measured |
| Public Benefits Bench (Vals AI) | 65.6% | 68.6% | Hy4 preview |
| SAGE (Vals AI) | 40.8% | Not measured | Only Grok 4.7 measured |
| MedScribe (Vals AI) | 89.4% | 83.6% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 80.0% | Not measured | Only Grok 4.7 measured |
| 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 | Not measured | Only Grok 4.7 measured |
| LMArena Text: instruction following | 1406 | Not measured | Only Grok 4.7 measured |
| LMArena Text: creative writing | 1381 | Not measured | Only Grok 4.7 measured |
| LMArena Vision | 1231 | Not measured | Only Grok 4.7 measured |
| LMArena Text: English | 1411 | Not measured | Only Grok 4.7 measured |
| LMArena Text: non-English | 1386 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Chinese | 1449 | Not measured | Only Grok 4.7 measured |
| 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 | Not measured | Only Grok 4.7 measured |
| LMArena Text: Polish | 1420 | Not measured | Only Grok 4.7 measured |
| LMArena Text: multi-turn | 1394 | Not measured | Only Grok 4.7 measured |
| LMArena Text: longer queries | 1416 | Not measured | Only Grok 4.7 measured |
| LMArena Text: writing and language | 1394 | Not measured | Only Grok 4.7 measured |
| LMArena Text: entertainment and media | 1376 | Not measured | Only Grok 4.7 measured |
| 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 15 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Grok 4.7 | Hy4 preview | 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
Hy4 preview costs less
Repository review
50K input + 3K output tokens
Hy4 preview costs less
Agent loop
200K input + 10K output tokens
Hy4 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 | SpaceXAI Grok 4.7 | Tencent Hy4 preview |
|---|---|---|
| Maker | xAI | Tencent |
| Weights | No public weights listed | Open weights |
| Released | September 21, 2026 | August 28, 2026 |
| Context window | 500K | 1.05M |
| Input $/Mtok | $2.00 | $0.834 |
| Output $/Mtok | $6.00 | $2.501 |
| Coding index | 66.7 | 44.3 |
| Independent measurements behind it | 5 | 3 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Grok 4.7 better than Hy4 preview for coding?
Pick Grok 4.7 for coding: it scores 66.7 on the Vibe Coding Index against 44.3 for Hy4 preview. Pick Hy4 preview for output tokens 2.4x cheaper ($2.501 vs $6.00 per million) and a larger context window (1.05M against 500K tokens).
Which is cheaper, Grok 4.7 or Hy4 preview?
Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens; Hy4 preview costs $0.834 and $2.501. Cost per solved task is known for neither of them.
Which has the bigger context window, Grok 4.7 or Hy4 preview?
Hy4 preview, with 1.05M tokens against 500K.
How many benchmarks is the Grok 4.7 vs Hy4 preview comparison based on?
24 benchmarks have a result for both models as of October 22, 2026. Grok 4.7's coding index rests on 5 independent benchmarks and Hy4 preview's on 3. Where only one model has a result, the page says so instead of naming a winner.