Enter opens the highlighted result. Esc closes.

GLM 5.3 vs Grok 4.20

GLM 5.3 leads Grok 4.20 on coding, 70.6 to 33.3 on the Vibe Coding Index, and Grok 4.20 costs 1.8x less per output token ($2.50 vs $4.40 per million). Updated October 21, 2026; 34 benchmarks have a result for both.

GLM 5.3Z.ai
Coding
70.6
Overall
67.9
Output $/M
$4.40
30
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
4
vs boards won of 34 shared

GLM 5.3 or Grok 4.20: which to pick

Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 for output tokens 1.8x cheaper ($2.50 vs $4.40 per million) and a larger context window (2M against 1.05M tokens).

Shared results
34
GLM 5.3 only
66
Grok 4.20 only
21
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.

At a glance

Coding index
GLM 5.3 70.6 from 6 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Coding, 32.6 points apart on average over 6 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 5.3 78.1% against Grok 4.20 4.1%, 74.1 points apart on a 0 to 100 scale.
Output price
GLM 5.3 $4.40 against Grok 4.20 $2.50 per million output tokens, 1.8x apart.
Context window
GLM 5.3 takes 1.05M tokens, Grok 4.20 2M.

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.

Boards won, where both have a result
CategoryGLM 5.3BarsGrok 4.20Ties
Coding51
Intelligence20
Agentic work70
Reasoning21
Knowledge31
Web design80
General31
All shared boards304
CodingLike-for-likeSix of these boards feed the Vibe Coding Index51
Coding benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
LiveBench coding82.8%Not measuredOnly GLM 5.3 measured
LMArena WebDev1621Not measuredOnly GLM 5.3 measured
AA Coding Index74.8Not measuredOnly GLM 5.3 measured
LiveCodeBench (Vals AI)80.5%84.3%Grok 4.20
SWE-bench Verified (Vals AI)95.4%72.2%GLM 5.3
Terminal-Bench 4 (Vals AI)38.9%Not measuredOnly GLM 5.3 measured
Vibe Code Bench (Vals AI)78.1%4.1%GLM 5.3
Code migration (Vals AI)44.2%0.3%GLM 5.3
ProgramBench (Vals AI)1.5%Not measuredOnly GLM 5.3 measured
IOI (Vals AI)68.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 2.1 (Vals AI)71.5%44.2%GLM 5.3
Vibe Code Bench 1-100 (Vals AI)20.0%Not measuredOnly GLM 5.3 measured
SkillsBench (Vals AI)47.5%Not measuredOnly GLM 5.3 measured
CyberBench (Vals AI)72.1%Not measuredOnly GLM 5.3 measured
SciCode59.0%Not measuredOnly GLM 5.3 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only Grok 4.20 measured
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
FrontierCode40.1%Not measuredOnly GLM 5.3 measured
FrontierSWE30.2%Not measuredOnly GLM 5.3 measured
WeirdML75.4%52.3%GLM 5.3
ALE-Bench1317.4Not measuredOnly GLM 5.3 measured
LMArena Text: coding1497Not measuredOnly GLM 5.3 measured
LMArena Text: software and IT1493Not measuredOnly GLM 5.3 measured
LMArena WebDev: React1641Not measuredOnly GLM 5.3 measured
LMArena WebDev: HTML1595Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
AA Intelligence Index44.825.7GLM 5.3
Epoch Capabilities Index156.0152.1GLM 5.3
Agentic workLike-for-likePublic boards, shown as published, kept out of the index70
Agentic work benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
AA Agentic Index53.1Not measuredOnly GLM 5.3 measured
Design Arena: agents building web appsNot measured1144Only Grok 4.20 measured
Design Arena: agents building full-stack appsNot measured1054Only Grok 4.20 measured
Design Arena: agents building mobile apps11941090GLM 5.3
Design Arena: agents building Android appsNot measured1052Only Grok 4.20 measured
Design Arena: agents building Godot gamesNot measured1089Only Grok 4.20 measured
Design Arena: HTML slides11891180GLM 5.3
Design Arena: PowerPoint slides1254Not measuredOnly GLM 5.3 measured
LiveBench research73.2%Not measuredOnly GLM 5.3 measured
LiveBench browser0.0%Not measuredOnly GLM 5.3 measured
LiveBench long agentic35.9%Not measuredOnly GLM 5.3 measured
SREBench (Vals AI)9.2%Not measuredOnly GLM 5.3 measured
Finance Agent (Vals AI)55.8%28.5%GLM 5.3
Tax Agent Bench (Vals AI)39.7%7.0%GLM 5.3
Legal Research Bench (Vals AI)49.0%13.9%GLM 5.3
Harvey's Legal Agent Benchmark (Vals AI)14.6%Not measuredOnly GLM 5.3 measured
Excel Modeling Benchmark (Vals AI)56.3%11.7%GLM 5.3
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly GLM 5.3 measured
τ²-Bench TelecomNot measured93.0%Only Grok 4.20 measured
APEX-Agents56.6%Not measuredOnly GLM 5.3 measured
Vending-Bench 2$8,164$4,663GLM 5.3
Neither model has a result on the other 20 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index21
Reasoning benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
GPQA Diamond88.1%88.6%Grok 4.20
LiveBench reasoning85.8%Not measuredOnly GLM 5.3 measured
MysteryMechanism (Vals AI)23.0%Not measuredOnly GLM 5.3 measured
MMMU Pro (Vals AI)Not measured83.5%Only Grok 4.20 measured
GPQA Diamond (Artificial Analysis run)91.7%91.1%GLM 5.3
Humanity's Last Exam (Artificial Analysis run)42.3%34.5%GLM 5.3
GPQA Diamond (Epoch AI run)90.9%Not measuredOnly GLM 5.3 measured
ARC-AGINot measured89.5%Only Grok 4.20 measured
ARC-AGI-2Not measured65.1%Only Grok 4.20 measured
Chess puzzles37.0%Not measuredOnly GLM 5.3 measured
Mystery game puzzles33.0%Not measuredOnly GLM 5.3 measured
LMArena Text: hard prompts1490Not measuredOnly GLM 5.3 measured
LMArena Text: expert1514Not measuredOnly GLM 5.3 measured
LMArena Text: hard prompts in English1496Not measuredOnly GLM 5.3 measured
Kagi LLM BenchmarkNot measured75.0%Only Grok 4.20 measured
Neither model has a result on the other 7 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
AIMENot measured96.5%Only Grok 4.20 measured
OTIS Mock AIME91.1%Not measuredOnly GLM 5.3 measured
FrontierMath, tiers 1 to 368.8%Not measuredOnly GLM 5.3 measured
FrontierMath, tier 429.3%Not measuredOnly GLM 5.3 measured
ProofBench49.0%Not measuredOnly GLM 5.3 measured
LMArena Text: math1495Not measuredOnly GLM 5.3 measured
LMArena Text: mathematical work1497Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
MMLU Pro86.8%86.3%GLM 5.3
LegalBench (Vals AI)84.8%77.7%GLM 5.3
CaseLaw (Vals AI)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)Not measured63.7%Only Grok 4.20 measured
TaxEval (Vals AI)72.4%74.1%Grok 4.20
MortgageTax (Vals AI)Not measured45.4%Only Grok 4.20 measured
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)42.9%32.2%GLM 5.3
SimpleQA Verified41.0%Not measuredOnly GLM 5.3 measured
LMArena Text: science1498Not measuredOnly GLM 5.3 measured
LMArena Text: medicine and healthcare1481Not measuredOnly GLM 5.3 measured
LMArena Text: legal and government1473Not measuredOnly GLM 5.3 measured
LMArena Text: business and finance1459Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
Design Arena: websites12951229GLM 5.3
Design Arena: UI components13141199GLM 5.3
Design Arena: game dev13111192GLM 5.3
Design Arena: data viz12591217GLM 5.3
Design Arena: 3D13321193GLM 5.3
Design Arena: all code categories13041221GLM 5.3
Design Arena: SVG12931164GLM 5.3
Design Arena: ASCII art12131174GLM 5.3
LiveBench design77.3%Not measuredOnly GLM 5.3 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index31
General benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
Vals Index59.7%Not measuredOnly GLM 5.3 measured
LiveBench data analysis70.2%Not measuredOnly GLM 5.3 measured
Public Benefits Bench (Vals AI)68.5%Not measuredOnly GLM 5.3 measured
SAGE (Vals AI)Not measured38.2%Only Grok 4.20 measured
MedScribe (Vals AI)88.8%63.4%GLM 5.3
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBenchNot measured81.2%Only Grok 4.20 measured
Long context reasoning (AA-LCR)79.7%69.0%GLM 5.3
DTBench87.7%90.1%Grok 4.20
LMCA55.5%38.7%GLM 5.3
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1474Not measuredOnly GLM 5.3 measured
LMArena Text: instruction following1479Not measuredOnly GLM 5.3 measured
LMArena Text: creative writing1458Not measuredOnly GLM 5.3 measured
LMArena Text: English1482Not measuredOnly GLM 5.3 measured
LMArena Text: non-English1459Not measuredOnly GLM 5.3 measured
LMArena Text: Chinese1532Not measuredOnly GLM 5.3 measured
LMArena Text: German1488Not measuredOnly GLM 5.3 measured
LMArena Text: Japanese1460Not measuredOnly GLM 5.3 measured
LMArena Text: Korean1460Not measuredOnly GLM 5.3 measured
LMArena Text: French1503Not measuredOnly GLM 5.3 measured
LMArena Text: Spanish1462Not measuredOnly GLM 5.3 measured
LMArena Text: Russian1469Not measuredOnly GLM 5.3 measured
LMArena Text: Polish1466Not measuredOnly GLM 5.3 measured
LMArena Text: multi-turn1472Not measuredOnly GLM 5.3 measured
LMArena Text: longer queries1483Not measuredOnly GLM 5.3 measured
LMArena Text: writing and language1469Not measuredOnly GLM 5.3 measured
LMArena Text: entertainment and media1447Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 17 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.3 and Grok 4.20
BenchmarkGLM 5.3Grok 4.20Leader
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$0.0036Fits in one request
Grok 4.20$0.0025Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

GLM 5.3$0.083Fits in one request
Grok 4.20$0.070Fits in one request

Grok 4.20 costs less

Agent loop

200K input + 10K output tokens

GLM 5.3$0.324Fits in one request
Grok 4.20$0.275Fits in one request

Grok 4.20 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.

Specifications of GLM 5.3 and Grok 4.20
SpecificationZ.ai GLM 5.3SpaceXAI Grok 4.20
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedAugust 18, 2026March 31, 2026
Context window1.05M2M
Input $/Mtok$1.40$1.25
Output $/Mtok$4.40$2.50
Coding index70.633.3
Independent measurements behind it62
Cost per solved task$0.36$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.3 better than Grok 4.20 for coding?

Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for output tokens 1.8x cheaper ($2.50 vs $4.40 per million) and a larger context window (2M against 1.05M tokens).

Which is cheaper, GLM 5.3 or Grok 4.20?

GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GLM 5.3 costs $0.36 and Grok 4.20 $0.72.

Which has the bigger context window, GLM 5.3 or Grok 4.20?

Grok 4.20, with 2M tokens against 1.05M.

How many benchmarks is the GLM 5.3 vs Grok 4.20 comparison based on?

34 benchmarks have a result for both models as of October 21, 2026. GLM 5.3's coding index rests on 6 independent benchmarks and Grok 4.20's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/glm-5-3-vs-grok-4-20" title="GLM 5.3 vs Grok 4.20, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/glm-5-3-vs-grok-4-20">LLMBenchmark.ai, GLM 5.3 vs Grok 4.20</a></p>