GLM 5.1 vs Grok 4.6
Grok 4.6 leads GLM 5.1 on coding, 65.7 to 49.2 on the Vibe Coding Index, and GLM 5.1 costs 1.4x less per output token ($4.40 vs $6.00 per million). Updated October 21, 2026; 82 benchmarks have a result for both.
GLM 5.1 or Grok 4.6: which to pick
Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 49.2 for GLM 5.1.
Pick GLM 5.1 for output tokens 1.4x cheaper ($4.40 vs $6.00 per million) and a lower cost per solved task ($0.60 against $0.82).
- Shared results
- 82
- GLM 5.1 only
- 7
- Grok 4.6 only
- 41
- Like-for-like categories
- 8 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.6
Grok 4.6 scores 65.7 against 49.2.
3 and 6 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.6
Grok 4.6 leads, 44.3 against 26.1.
Same board, both measured
Agentic work
AA Agentic Index
Grok 4.6
Grok 4.6 leads, 53.0 against 23.9.
Same board, both measured
Reasoning
GPQA Diamond
Grok 4.6
Grok 4.6 leads, 94.7% against 84.5%.
Same board, both measured
Math
AIME
No call
Only GLM 5.1 has a AIME result, 91.9%.
Directional only
Knowledge
MMLU Pro
Grok 4.6
Grok 4.6 leads, 89.4% against 86.9%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.1
GLM 5.1 leads, 1290 against 1289.
Same board, both measured
Long documents
Listed context window
Grok 4.6
Grok 4.6 takes 500K tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.1
GLM 5.1 $0.0036, Grok 4.6 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.1
GLM 5.1 $0.60, Grok 4.6 $0.82.
Published attempt cost and pass rate
At a glance
- Coding index
- GLM 5.1 49.2 from 3 benchmarks, Grok 4.6 65.7 from 6 benchmarks.
- Widest category
- Coding, 15.3 points apart on average over 15 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): GLM 5.1 31.5% against Grok 4.6 76.2%, 44.8 points apart on a 0 to 100 scale.
- Output price
- GLM 5.1 $4.40 against Grok 4.6 $6.00 per million output tokens, 1.4x apart.
- Context window
- GLM 5.1 takes 205K tokens, Grok 4.6 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 | GLM 5.1 | Bars | Grok 4.6 | Ties |
|---|---|---|---|---|
| Coding | 2 | 13 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 13 | ||
| Reasoning | 3 | 6 | ||
| Math | 2 | 3 | ||
| Knowledge | 5 | 5 | ||
| Web design | 3 | 5 | ||
| General | 17 | 3 | ||
| All shared boards | 32 | 50 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index213
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 89.1% | Only Grok 4.6 measured |
| LMArena WebDev | 1508 | 1617 | Grok 4.6 |
| AA Coding Index | 55.8 | 76.8 | Grok 4.6 |
| LiveCodeBench (Vals AI) | 81.4% | 88.2% | Grok 4.6 |
| SWE-bench Verified (Vals AI) | 76.4% | 95.6% | Grok 4.6 |
| Terminal-Bench 4 (Vals AI) | Not measured | 17.2% | Only Grok 4.6 measured |
| Vibe Code Bench (Vals AI) | 31.5% | 76.2% | Grok 4.6 |
| Code migration (Vals AI) | 25.8% | 44.6% | Grok 4.6 |
| ProgramBench (Vals AI) | 0.0% | 1.0% | Grok 4.6 |
| IOI (Vals AI) | Not measured | 47.6% | Only Grok 4.6 measured |
| Terminal-Bench 2.1 (Vals AI) | 56.9% | 78.3% | Grok 4.6 |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 14.8% | Only Grok 4.6 measured |
| SkillsBench (Vals AI) | Not measured | 55.8% | Only Grok 4.6 measured |
| CyberBench (Vals AI) | Not measured | 67.7% | Only Grok 4.6 measured |
| SciCode | 44.8% | 56.5% | Grok 4.6 |
| Terminal-Bench Hard (Artificial Analysis run) | 43.2% | Not measured | Only GLM 5.1 measured |
| FrontierCode | Not measured | 48.0% | Only Grok 4.6 measured |
| FrontierSWE | Not measured | 25.3% | Only Grok 4.6 measured |
| WeirdML | 57.1% | 67.3% | Grok 4.6 |
| ALE-Bench | 887.1 | 1508.1 | Grok 4.6 |
| LMArena Text: coding | 1485 | 1466 | GLM 5.1 |
| LMArena Text: software and IT | 1484 | 1457 | GLM 5.1 |
| LMArena WebDev: React | 1505 | 1631 | Grok 4.6 |
| LMArena WebDev: HTML | 1508 | 1597 | Grok 4.6 |
| LMArena WebDev: from an image | Not measured | 1603 | Only Grok 4.6 measured |
| Neither model has a result on the other 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| AA Intelligence Index | 26.1 | 44.3 | Grok 4.6 |
| Epoch Capabilities Index | 149.8 | 156.6 | Grok 4.6 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index013
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| AA Agentic Index | 23.9 | 53.0 | Grok 4.6 |
| Design Arena: agents building web apps | 1175 | 1248 | Grok 4.6 |
| Design Arena: agents building full-stack apps | 1167 | 1264 | Grok 4.6 |
| Design Arena: agents building mobile apps | 1162 | 1236 | Grok 4.6 |
| Design Arena: agents building Android apps | 1180 | 1297 | Grok 4.6 |
| Design Arena: agents building Godot games | 1053 | 1276 | Grok 4.6 |
| Design Arena: agents building games | 1164 | 1208 | Grok 4.6 |
| Design Arena: HTML slides | 1170 | 1249 | Grok 4.6 |
| Design Arena: PowerPoint slides | 1188 | 1241 | Grok 4.6 |
| Design Arena: spreadsheets | 1315 | Not measured | Only GLM 5.1 measured |
| LiveBench research | Not measured | 84.5% | Only Grok 4.6 measured |
| LiveBench browser | Not measured | 64.0% | Only Grok 4.6 measured |
| LiveBench long agentic | Not measured | 40.7% | Only Grok 4.6 measured |
| Finance Agent (Vals AI) | 44.8% | 53.7% | Grok 4.6 |
| Tax Agent Bench (Vals AI) | Not measured | 33.1% | Only Grok 4.6 measured |
| Legal Research Bench (Vals AI) | 27.9% | 48.1% | Grok 4.6 |
| Excel Modeling Benchmark (Vals AI) | Not measured | 62.7% | Only Grok 4.6 measured |
| BioMysteryBench (Vals AI) | Not measured | 72.2% | Only Grok 4.6 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 11.4% | Only Grok 4.6 measured |
| Vals Science Index | Not measured | 38.1% | Only Grok 4.6 measured |
| Time Horizon Index (Vals AI) | Not measured | 5.8% | Only Grok 4.6 measured |
| τ²-Bench Telecom | 97.7% | Not measured | Only GLM 5.1 measured |
| APEX-Agents | 40.9% | 65.3% | Grok 4.6 |
| Vending-Bench 2 | $5,634 | $9,047 | Grok 4.6 |
| Neither model has a result on the other 17 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index36
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| GPQA Diamond | 84.5% | 94.7% | Grok 4.6 |
| LiveBench reasoning | Not measured | 91.2% | Only Grok 4.6 measured |
| MysteryMechanism (Vals AI) | Not measured | 30.6% | Only Grok 4.6 measured |
| GPQA Diamond (Artificial Analysis run) | 86.8% | 94.9% | Grok 4.6 |
| Humanity's Last Exam (Artificial Analysis run) | 30.1% | 44.1% | Grok 4.6 |
| GPQA Diamond (Epoch AI run) | 89.9% | 94.0% | Grok 4.6 |
| ARC-AGI | Not measured | 87.5% | Only Grok 4.6 measured |
| ARC-AGI-2 | Not measured | 67.1% | Only Grok 4.6 measured |
| SimpleBench | 55.1% | 75.9% | Grok 4.6 |
| Chess puzzles | 20.0% | 33.0% | Grok 4.6 |
| Mystery game puzzles | Not measured | 34.0% | Only Grok 4.6 measured |
| EBR-bench | Not measured | 30.5% | Only Grok 4.6 measured |
| LMArena Text: hard prompts | 1473 | 1448 | GLM 5.1 |
| LMArena Text: expert | 1478 | 1469 | GLM 5.1 |
| LMArena Text: hard prompts in English | 1482 | 1445 | GLM 5.1 |
| LMArena Vision: diagrams | Not measured | 1285 | Only Grok 4.6 measured |
| LMArena Vision: homework | Not measured | 1283 | Only Grok 4.6 measured |
| Neither model has a result on the other 5 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index23
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| AIME | 91.9% | Not measured | Only GLM 5.1 measured |
| OTIS Mock AIME | 93.3% | 99.2% | Grok 4.6 |
| FrontierMath, tiers 1 to 3 | 36.8% | 66.0% | Grok 4.6 |
| FrontierMath, tier 4 | Not measured | 31.7% | Only Grok 4.6 measured |
| ProofBench | 22.2% | 51.0% | Grok 4.6 |
| LMArena Text: math | 1473 | 1417 | GLM 5.1 |
| LMArena Text: mathematical work | 1470 | 1464 | GLM 5.1 |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index55
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| MMLU Pro | 86.9% | 89.4% | Grok 4.6 |
| LegalBench (Vals AI) | 84.4% | 86.3% | Grok 4.6 |
| CaseLaw (Vals AI) | 51.5% | Not measured | Only GLM 5.1 measured |
| CorpFin (Vals AI) | 64.5% | 66.2% | Grok 4.6 |
| TaxEval (Vals AI) | 71.2% | 71.1% | GLM 5.1 |
| MortgageTax (Vals AI) | Not measured | 64.2% | Only Grok 4.6 measured |
| MedCode (Vals AI) | 41.6% | 44.7% | Grok 4.6 |
| SimpleQA Verified | 34.0% | 49.3% | Grok 4.6 |
| LMArena Text: science | 1478 | 1437 | GLM 5.1 |
| LMArena Text: medicine and healthcare | 1474 | 1420 | GLM 5.1 |
| LMArena Text: legal and government | 1465 | 1429 | GLM 5.1 |
| LMArena Text: business and finance | 1452 | 1416 | GLM 5.1 |
| Neither model has a result on the other 6 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index35
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| Design Arena: websites | 1290 | 1289 | GLM 5.1 |
| Design Arena: UI components | 1292 | 1295 | Grok 4.6 |
| Design Arena: game dev | 1265 | 1296 | Grok 4.6 |
| Design Arena: data viz | 1366 | 1282 | GLM 5.1 |
| Design Arena: 3D | 1336 | 1277 | GLM 5.1 |
| Design Arena: all code categories | 1268 | 1292 | Grok 4.6 |
| Design Arena: SVG | 1218 | 1239 | Grok 4.6 |
| Design Arena: ASCII art | 1142 | 1278 | Grok 4.6 |
| LiveBench design | Not measured | 79.8% | Only Grok 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index173
| Benchmark | GLM 5.1 | Grok 4.6 | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 75.3% | Only Grok 4.6 measured |
| Public Benefits Bench (Vals AI) | 61.8% | 66.8% | Grok 4.6 |
| SAGE (Vals AI) | Not measured | 28.9% | Only Grok 4.6 measured |
| MedScribe (Vals AI) | 72.3% | 86.5% | Grok 4.6 |
| IFBench | 76.3% | Not measured | Only GLM 5.1 measured |
| Long context reasoning (AA-LCR) | 73.7% | 81.0% | Grok 4.6 |
| DTBench | Not measured | 97.3% | Only Grok 4.6 measured |
| LMCA | Not measured | 48.5% | Only Grok 4.6 measured |
| Furniture assembly | Not measured | 40.0% | Only Grok 4.6 measured |
| ExploitBench | 18.1% | Not measured | Only GLM 5.1 measured |
| LMArena Text | 1463 | 1429 | GLM 5.1 |
| LMArena Text: instruction following | 1453 | 1431 | GLM 5.1 |
| LMArena Text: creative writing | 1453 | 1426 | GLM 5.1 |
| LMArena Vision | Not measured | 1263 | Only Grok 4.6 measured |
| LMArena Text: English | 1476 | 1433 | GLM 5.1 |
| LMArena Text: non-English | 1448 | 1420 | GLM 5.1 |
| LMArena Text: Chinese | 1515 | 1476 | GLM 5.1 |
| LMArena Text: German | 1467 | 1426 | GLM 5.1 |
| LMArena Text: Japanese | 1435 | 1378 | GLM 5.1 |
| LMArena Text: Korean | 1424 | 1391 | GLM 5.1 |
| LMArena Text: French | 1470 | 1455 | GLM 5.1 |
| LMArena Text: Spanish | 1468 | 1414 | GLM 5.1 |
| LMArena Text: Russian | 1454 | 1421 | GLM 5.1 |
| LMArena Text: Polish | 1449 | 1430 | GLM 5.1 |
| LMArena Text: multi-turn | 1473 | 1425 | GLM 5.1 |
| LMArena Text: longer queries | 1467 | 1456 | GLM 5.1 |
| LMArena Text: writing and language | 1454 | 1429 | GLM 5.1 |
| LMArena Text: entertainment and media | 1442 | 1421 | GLM 5.1 |
| LMArena Vision: English | Not measured | 1270 | Only Grok 4.6 measured |
| LMArena Vision: Chinese | Not measured | 1289 | Only Grok 4.6 measured |
| LMArena Vision: reading text | Not measured | 1272 | Only Grok 4.6 measured |
| LMArena Vision: humor | Not measured | 1270 | Only Grok 4.6 measured |
| LMArena Vision: creative writing | Not measured | 1262 | Only Grok 4.6 measured |
| LMArena Document | Not measured | 1452 | Only Grok 4.6 measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.1 | Grok 4.6 | 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
GLM 5.1 costs less
Repository review
50K input + 3K output tokens
GLM 5.1 costs less
Agent loop
200K input + 10K output tokens
GLM 5.1 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 | Z.ai GLM 5.1 | SpaceXAI Grok 4.6 |
|---|---|---|
| Maker | Z.ai | xAI |
| Weights | Open weights | No public weights listed |
| Released | April 7, 2026 | August 12, 2026 |
| Context window | 205K | 500K |
| Input $/Mtok | $1.40 | $2.00 |
| Output $/Mtok | $4.40 | $6.00 |
| Coding index | 49.2 | 65.7 |
| Independent measurements behind it | 3 | 6 |
| Cost per solved task | $0.60 | $0.82 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.1 better than Grok 4.6 for coding?
Pick Grok 4.6 for coding: it scores 65.7 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for output tokens 1.4x cheaper ($4.40 vs $6.00 per million) and a lower cost per solved task ($0.60 against $0.82).
Which is cheaper, GLM 5.1 or Grok 4.6?
GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and Grok 4.6 $0.82.
Which has the bigger context window, GLM 5.1 or Grok 4.6?
Grok 4.6, with 500K tokens against 205K.
How many benchmarks is the GLM 5.1 vs Grok 4.6 comparison based on?
82 benchmarks have a result for both models as of October 21, 2026. GLM 5.1's coding index rests on 3 independent benchmarks and Grok 4.6's on 6. Where only one model has a result, the page says so instead of naming a winner.