GLM 5.3 vs Grok 4.7
GLM 5.3 leads Grok 4.7 on coding, 70.6 to 66.7 on the Vibe Coding Index, and GLM 5.3 costs 1.4x less per output token ($4.40 vs $6.00 per million). Updated October 22, 2026; 83 benchmarks have a result for both.
GLM 5.3 or Grok 4.7: which to pick
Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 66.7 for Grok 4.7.
Pick Grok 4.7 for work measured by LiveBench coding or LMArena WebDev, where it leads.
- Shared results
- 83
- GLM 5.3 only
- 17
- Grok 4.7 only
- 16
- 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
GLM 5.3
GLM 5.3 scores 70.6 against 66.7.
6 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.7
Grok 4.7 leads, 46.4 against 44.8.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.3 has a AA Agentic Index result, 53.1.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.3 has a GPQA Diamond result, 88.1%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.3 has a MMLU Pro result, 86.8%.
Directional only
Web design
Design Arena: websites
GLM 5.3
GLM 5.3 leads, 1295 against 1255.
Same board, both measured
General
Vals Index
GLM 5.3
GLM 5.3 leads, 59.7% against 58.6%.
Same board, both measured
Long documents
Listed context window
GLM 5.3
GLM 5.3 takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3
GLM 5.3 $0.0036, Grok 4.7 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.3 has the number, $0.36.
Directional only
At a glance
- Coding index
- GLM 5.3 70.6 from 6 benchmarks, Grok 4.7 66.7 from 5 benchmarks.
- Widest category
- Math, 13.6 points apart on average over 6 shared benchmarks.
- Widest single gap
- LiveBench browser: GLM 5.3 0.0% against Grok 4.7 60.0%, 60.0 points apart on a 0 to 100 scale.
- Output price
- GLM 5.3 $4.40 against Grok 4.7 $6.00 per million output tokens, 1.4x apart.
- Context window
- GLM 5.3 takes 1.05M 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 | GLM 5.3 | Bars | Grok 4.7 | Ties |
|---|---|---|---|---|
| Coding | 8 | 8 | ||
| Intelligence | 1 | 1 | ||
| Agentic work | 5 | 7 | ||
| Reasoning | 5 | 4 | ||
| Math | 5 | 1 | ||
| Knowledge | 5 | 2 | ||
| Web design | 5 | 2 | ||
| General | 20 | 4 | ||
| All shared boards | 54 | 29 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index88
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| LiveBench coding | 82.8% | 84.5% | Grok 4.7 |
| LMArena WebDev | 1621 | 1637 | Grok 4.7 |
| AA Coding Index | 74.8 | Not measured | Only GLM 5.3 measured |
| LiveCodeBench (Vals AI) | 80.5% | Not measured | Only GLM 5.3 measured |
| SWE-bench Verified (Vals AI) | 95.4% | Not measured | Only GLM 5.3 measured |
| Terminal-Bench 4 (Vals AI) | 38.9% | 28.8% | GLM 5.3 |
| Vibe Code Bench (Vals AI) | 78.1% | 86.2% | Grok 4.7 |
| Code migration (Vals AI) | 44.2% | 44.8% | Grok 4.7 |
| ProgramBench (Vals AI) | 1.5% | 0.5% | GLM 5.3 |
| IOI (Vals AI) | 68.4% | 57.7% | GLM 5.3 |
| Terminal-Bench 2.1 (Vals AI) | 71.5% | 73.4% | Grok 4.7 |
| SWE-bench Multimodal (Vals AI) | Not measured | 42.9% | Only Grok 4.7 measured |
| Vibe Code Bench 1-100 (Vals AI) | 20.0% | Not measured | Only GLM 5.3 measured |
| SkillsBench (Vals AI) | 47.5% | Not measured | Only GLM 5.3 measured |
| CyberBench (Vals AI) | 72.1% | 69.5% | GLM 5.3 |
| SciCode | 59.0% | 57.8% | GLM 5.3 |
| FrontierCode | 40.1% | 47.6% | Grok 4.7 |
| FrontierSWE | 30.2% | 29.5% | GLM 5.3 |
| WeirdML | 75.4% | Not measured | Only GLM 5.3 measured |
| ALE-Bench | 1317.4 | Not measured | Only GLM 5.3 measured |
| LMArena Text: coding | 1497 | 1432 | GLM 5.3 |
| LMArena Text: software and IT | 1493 | 1421 | GLM 5.3 |
| LMArena WebDev: React | 1641 | 1663 | Grok 4.7 |
| LMArena WebDev: HTML | 1595 | 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 14 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Intelligence Index | 44.8 | 46.4 | Grok 4.7 |
| Epoch Capabilities Index | 156.0 | 154.4 | GLM 5.3 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index57
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| AA Agentic Index | 53.1 | Not measured | Only GLM 5.3 measured |
| Design Arena: agents building mobile apps | 1194 | Not measured | Only GLM 5.3 measured |
| Design Arena: HTML slides | 1189 | Not measured | Only GLM 5.3 measured |
| Design Arena: PowerPoint slides | 1230 | Not measured | Only GLM 5.3 measured |
| LiveBench research | 73.2% | 86.4% | Grok 4.7 |
| LiveBench browser | 0.0% | 60.0% | Grok 4.7 |
| LiveBench long agentic | 35.9% | 50.1% | Grok 4.7 |
| SREBench (Vals AI) | 9.2% | 3.8% | GLM 5.3 |
| Finance Agent (Vals AI) | 55.8% | 52.3% | GLM 5.3 |
| Tax Agent Bench (Vals AI) | 39.7% | 34.2% | GLM 5.3 |
| Legal Research Bench (Vals AI) | 49.0% | 47.1% | GLM 5.3 |
| Harvey's Legal Agent Benchmark (Vals AI) | 14.6% | 18.3% | Grok 4.7 |
| Excel Modeling Benchmark (Vals AI) | 56.3% | 67.0% | Grok 4.7 |
| BioMysteryBench (Vals AI) | Not measured | 69.3% | Only Grok 4.7 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | 10.0% | Grok 4.7 |
| 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 |
| APEX-Agents | 56.6% | 54.6% | GLM 5.3 |
| Vending-Bench 2 | $8,164 | $10,537 | Grok 4.7 |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index54
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| GPQA Diamond | 88.1% | Not measured | Only GLM 5.3 measured |
| LiveBench reasoning | 85.8% | 82.7% | GLM 5.3 |
| MysteryMechanism (Vals AI) | 23.0% | 25.2% | Grok 4.7 |
| GPQA Diamond (Artificial Analysis run) | 91.7% | Not measured | Only GLM 5.3 measured |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 43.1% | Grok 4.7 |
| GPQA Diamond (Epoch AI run) | 90.9% | 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 | 37.0% | 41.0% | Grok 4.7 |
| Mystery game puzzles | 33.0% | 29.0% | GLM 5.3 |
| LMArena Text: hard prompts | 1490 | 1415 | GLM 5.3 |
| LMArena Text: expert | 1514 | 1439 | GLM 5.3 |
| LMArena Text: hard prompts in English | 1496 | 1427 | GLM 5.3 |
| LMArena Vision: diagrams | Not measured | 1254 | Only Grok 4.7 measured |
| LMArena Vision: homework | Not measured | 1309 | Only Grok 4.7 measured |
| Neither model has a result on the other 7 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| OTIS Mock AIME | 91.1% | 98.1% | Grok 4.7 |
| FrontierMath, tiers 1 to 3 | 68.8% | 53.0% | GLM 5.3 |
| FrontierMath, tier 4 | 29.3% | 17.1% | GLM 5.3 |
| ProofBench | 49.0% | 26.0% | GLM 5.3 |
| LMArena Text: math | 1495 | 1414 | GLM 5.3 |
| LMArena Text: mathematical work | 1497 | 1435 | GLM 5.3 |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index52
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| MMLU Pro | 86.8% | Not measured | Only GLM 5.3 measured |
| LegalBench (Vals AI) | 84.8% | 84.4% | GLM 5.3 |
| TaxEval (Vals AI) | 72.4% | Not measured | Only GLM 5.3 measured |
| MedCode (Vals AI) | 42.9% | 49.5% | Grok 4.7 |
| SimpleQA Verified | 41.0% | 56.0% | Grok 4.7 |
| LMArena Text: science | 1498 | 1419 | GLM 5.3 |
| LMArena Text: medicine and healthcare | 1481 | 1395 | GLM 5.3 |
| LMArena Text: legal and government | 1473 | 1423 | GLM 5.3 |
| LMArena Text: business and finance | 1459 | 1389 | GLM 5.3 |
| Neither model has a result on the other 9 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index52
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| Design Arena: websites | 1295 | 1255 | GLM 5.3 |
| Design Arena: UI components | 1314 | 1275 | GLM 5.3 |
| Design Arena: game dev | 1311 | 1314 | Grok 4.7 |
| Design Arena: data viz | 1260 | 1238 | GLM 5.3 |
| Design Arena: 3D | 1332 | 1274 | GLM 5.3 |
| Design Arena: all code categories | 1304 | 1273 | GLM 5.3 |
| Design Arena: SVG | 1294 | Not measured | Only GLM 5.3 measured |
| Design Arena: ASCII art | 1208 | Not measured | Only GLM 5.3 measured |
| LiveBench design | 77.3% | 78.0% | Grok 4.7 |
GeneralLike-for-likePublic boards, shown as published, kept out of the index204
| Benchmark | GLM 5.3 | Grok 4.7 | Leader |
|---|---|---|---|
| Vals Index | 59.7% | 58.6% | GLM 5.3 |
| LiveBench data analysis | 70.2% | 76.9% | Grok 4.7 |
| Public Benefits Bench (Vals AI) | 68.5% | 65.6% | GLM 5.3 |
| SAGE (Vals AI) | Not measured | 40.8% | Only Grok 4.7 measured |
| MedScribe (Vals AI) | 88.8% | 89.4% | Grok 4.7 |
| Long context reasoning (AA-LCR) | 79.7% | 80.0% | Grok 4.7 |
| DTBench | 87.7% | 96.0% | Grok 4.7 |
| LMCA | 55.5% | 49.4% | GLM 5.3 |
| Furniture assembly | Not measured | 20.8% | Only Grok 4.7 measured |
| LMArena Text | 1474 | 1399 | GLM 5.3 |
| LMArena Text: instruction following | 1479 | 1406 | GLM 5.3 |
| LMArena Text: creative writing | 1458 | 1381 | GLM 5.3 |
| LMArena Vision | Not measured | 1231 | Only Grok 4.7 measured |
| LMArena Text: English | 1482 | 1411 | GLM 5.3 |
| LMArena Text: non-English | 1459 | 1386 | GLM 5.3 |
| LMArena Text: Chinese | 1532 | 1449 | GLM 5.3 |
| LMArena Text: German | 1488 | 1366 | GLM 5.3 |
| LMArena Text: Japanese | 1460 | 1359 | GLM 5.3 |
| LMArena Text: Korean | 1460 | 1383 | GLM 5.3 |
| LMArena Text: French | 1503 | 1431 | GLM 5.3 |
| LMArena Text: Spanish | 1462 | 1406 | GLM 5.3 |
| LMArena Text: Russian | 1469 | 1399 | GLM 5.3 |
| LMArena Text: Polish | 1466 | 1420 | GLM 5.3 |
| LMArena Text: multi-turn | 1472 | 1394 | GLM 5.3 |
| LMArena Text: longer queries | 1483 | 1416 | GLM 5.3 |
| LMArena Text: writing and language | 1469 | 1394 | GLM 5.3 |
| LMArena Text: entertainment and media | 1447 | 1376 | GLM 5.3 |
| LMArena Vision: English | Not measured | 1229 | Only Grok 4.7 measured |
| LMArena Vision: Chinese | Not measured | 1250 | Only Grok 4.7 measured |
| LMArena Vision: reading text | Not measured | 1241 | Only Grok 4.7 measured |
| LMArena Vision: creative writing | Not measured | 1217 | 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 | GLM 5.3 | 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
GLM 5.3 costs less
Repository review
50K input + 3K output tokens
GLM 5.3 costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 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.3 | SpaceXAI Grok 4.7 |
|---|---|---|
| Maker | Z.ai | xAI |
| Weights | Open weights | No public weights listed |
| Released | August 18, 2026 | September 21, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $1.40 | $2.00 |
| Output $/Mtok | $4.40 | $6.00 |
| Coding index | 70.6 | 66.7 |
| Independent measurements behind it | 6 | 5 |
| Cost per solved task | $0.36 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.3 better than Grok 4.7 for coding?
Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 66.7 for Grok 4.7. Pick Grok 4.7 for work measured by LiveBench coding or LMArena WebDev, where it leads.
Which is cheaper, GLM 5.3 or Grok 4.7?
GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GLM 5.3 only.
Which has the bigger context window, GLM 5.3 or Grok 4.7?
GLM 5.3, with 1.05M tokens against 500K.
How many benchmarks is the GLM 5.3 vs Grok 4.7 comparison based on?
83 benchmarks have a result for both models as of October 22, 2026. GLM 5.3's coding index rests on 6 independent benchmarks and Grok 4.7's on 5. Where only one model has a result, the page says so instead of naming a winner.