Enter opens the highlighted result. Esc closes.

GLM 5.1 vs Grok 4.5

Grok 4.5 leads GLM 5.1 on coding, 58.6 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; 81 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
35
Grok 4.5xAI
Coding
58.6
Overall
62.1
Output $/M
$6.00
45
vs boards won of 81 shared, 1 tied

GLM 5.1 or Grok 4.5: which to pick

Pick Grok 4.5 for coding: it scores 58.6 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.62).

Shared results
81
GLM 5.1 only
8
Grok 4.5 only
42
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.

At a glance

Coding index
GLM 5.1 49.2 from 3 benchmarks, Grok 4.5 58.6 from 6 benchmarks.
Widest category
Coding, 10.4 points apart on average over 15 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 5.1 31.5% against Grok 4.5 69.0%, 37.5 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against Grok 4.5 $6.00 per million output tokens, 1.4x apart.
Context window
GLM 5.1 takes 205K tokens, Grok 4.5 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.

Boards won, where both have a result
CategoryGLM 5.1BarsGrok 4.5Ties
Coding3111 tie
Intelligence02
Agentic work112
Reasoning36
Math14
Knowledge46
Web design62
General172
All shared boards35451 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index311
Coding benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDev15081553Grok 4.5
AA Coding Index55.872.4Grok 4.5
LiveCodeBench (Vals AI)81.4%87.3%Grok 4.5
SWE-bench Verified (Vals AI)76.4%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)31.5%69.0%Grok 4.5
Code migration (Vals AI)25.8%36.6%Grok 4.5
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)56.9%67.8%Grok 4.5
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCode44.8%55.0%Grok 4.5
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
WeirdML57.1%46.4%GLM 5.1
ALE-Bench887.11309.3Grok 4.5
LMArena Text: coding14851474GLM 5.1
LMArena Text: software and IT14841471GLM 5.1
LMArena WebDev: React15051556Grok 4.5
LMArena WebDev: HTML15081567Grok 4.5
LMArena WebDev: from an imageNot measured1562Only Grok 4.5 measured
SciCodeNot measured6.5%Only Grok 4.5 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
AA Intelligence Index26.138.8Grok 4.5
Epoch Capabilities Index149.8154.1Grok 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index112
Agentic work benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
AA Agentic Index23.941.2Grok 4.5
Design Arena: agents building web apps11751218Grok 4.5
Design Arena: agents building full-stack apps11671249Grok 4.5
Design Arena: agents building mobile apps11621221Grok 4.5
Design Arena: agents building Android apps11801242Grok 4.5
Design Arena: agents building Godot games10531229Grok 4.5
Design Arena: agents building games11641236Grok 4.5
Design Arena: HTML slides11701204Grok 4.5
Design Arena: PowerPoint slides11881233Grok 4.5
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
LiveBench researchNot measured85.9%Only Grok 4.5 measured
LiveBench browserNot measured44.0%Only Grok 4.5 measured
LiveBench long agenticNot measured27.9%Only Grok 4.5 measured
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)44.8%48.4%Grok 4.5
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)27.9%38.0%Grok 4.5
Excel Modeling Benchmark (Vals AI)Not measured52.9%Only Grok 4.5 measured
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
τ²-Bench Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%56.2%Grok 4.5
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
Vending-Bench 2$5,634$3,887GLM 5.1
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 17 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index36
Reasoning benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
GPQA Diamond84.5%92.9%Grok 4.5
LiveBench reasoningNot measured87.2%Only Grok 4.5 measured
MMMU Pro (Vals AI)Not measured61.8%Only Grok 4.5 measured
GPQA Diamond (Artificial Analysis run)86.8%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)30.1%42.7%Grok 4.5
GPQA Diamond (Epoch AI run)89.9%93.4%Grok 4.5
ARC-AGINot measured87.2%Only Grok 4.5 measured
ARC-AGI-2Not measured52.6%Only Grok 4.5 measured
SimpleBench55.1%70.0%Grok 4.5
Chess puzzles20.0%35.0%Grok 4.5
LMArena Text: hard prompts14731462GLM 5.1
LMArena Text: expert14781465GLM 5.1
LMArena Text: hard prompts in English14821464GLM 5.1
LMArena Vision: diagramsNot measured1304Only Grok 4.5 measured
LMArena Vision: homeworkNot measured1295Only Grok 4.5 measured
Kagi LLM BenchmarkNot measured83.5%Only Grok 4.5 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index14
Math benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%97.8%Grok 4.5
FrontierMath, tiers 1 to 336.8%57.2%Grok 4.5
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBench22.2%31.0%Grok 4.5
LMArena Text: math14731460GLM 5.1
LMArena Text: mathematical work14701482Grok 4.5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index46
Knowledge benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
MMLU Pro86.9%89.2%Grok 4.5
LegalBench (Vals AI)84.4%86.0%Grok 4.5
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%67.4%Grok 4.5
TaxEval (Vals AI)71.2%71.7%Grok 4.5
MortgageTax (Vals AI)Not measured61.8%Only Grok 4.5 measured
MedCode (Vals AI)41.6%43.3%Grok 4.5
SimpleQA Verified34.0%48.3%Grok 4.5
LMArena Text: science14781464GLM 5.1
LMArena Text: medicine and healthcare14741440GLM 5.1
LMArena Text: legal and government14651463GLM 5.1
LMArena Text: business and finance14521441GLM 5.1
FACTS Benchmark SuiteNot measured50.2%Only Grok 4.5 measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index62
Web design benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
Design Arena: websites12901281GLM 5.1
Design Arena: UI components12921279GLM 5.1
Design Arena: game dev12651263GLM 5.1
Design Arena: data viz13661266GLM 5.1
Design Arena: 3D13361257GLM 5.1
Design Arena: all code categories12681275Grok 4.5
Design Arena: SVG12181215GLM 5.1
Design Arena: ASCII art11421257Grok 4.5
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
SAGE (Vals AI)Not measured35.0%Only Grok 4.5 measured
MedScribe (Vals AI)72.3%86.9%Grok 4.5
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%79.3%Grok 4.5
DTBenchNot measured96.5%Only Grok 4.5 measured
LMCANot measured45.2%Only Grok 4.5 measured
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631448GLM 5.1
LMArena Text: instruction following14531445GLM 5.1
LMArena Text: creative writing14531442GLM 5.1
LMArena VisionNot measured1287Only Grok 4.5 measured
LMArena Text: English14761453GLM 5.1
LMArena Text: non-English14481440GLM 5.1
LMArena Text: Chinese15151495GLM 5.1
LMArena Text: German14671448GLM 5.1
LMArena Text: Japanese14351430GLM 5.1
LMArena Text: Korean14241406GLM 5.1
LMArena Text: French14701457GLM 5.1
LMArena Text: Spanish14681451GLM 5.1
LMArena Text: Russian14541449GLM 5.1
LMArena Text: Polish14491432GLM 5.1
LMArena Text: multi-turn14731456GLM 5.1
LMArena Text: longer queries14671462GLM 5.1
LMArena Text: writing and language14541445GLM 5.1
LMArena Text: entertainment and media14421434GLM 5.1
LMArena Vision: EnglishNot measured1285Only Grok 4.5 measured
LMArena Vision: ChineseNot measured1345Only Grok 4.5 measured
LMArena Vision: reading textNot measured1293Only Grok 4.5 measured
LMArena Vision: humorNot measured1276Only Grok 4.5 measured
LMArena Vision: creative writingNot measured1293Only Grok 4.5 measured
LMArena DocumentNot measured1452Only Grok 4.5 measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.1 and Grok 4.5
BenchmarkGLM 5.1Grok 4.5Leader
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$0.0036Fits in one request
Grok 4.5$0.0050Fits in one request

GLM 5.1 costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
Grok 4.5$0.118Fits in one request

GLM 5.1 costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
Grok 4.5$0.460Fits in one request

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.

Specifications of GLM 5.1 and Grok 4.5
SpecificationZ.ai GLM 5.1SpaceXAI Grok 4.5
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026July 8, 2026
Context window205K500K
Input $/Mtok$1.40$2.00
Output $/Mtok$4.40$6.00
Coding index49.258.6
Independent measurements behind it36
Cost per solved task$0.60$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than Grok 4.5 for coding?

Pick Grok 4.5 for coding: it scores 58.6 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.62).

Which is cheaper, GLM 5.1 or Grok 4.5?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and Grok 4.5 $0.62.

Which has the bigger context window, GLM 5.1 or Grok 4.5?

Grok 4.5, with 500K tokens against 205K.

How many benchmarks is the GLM 5.1 vs Grok 4.5 comparison based on?

81 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.5's on 6. 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-1-vs-grok-4-5" title="GLM 5.1 vs Grok 4.5, 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-1-vs-grok-4-5">LLMBenchmark.ai, GLM 5.1 vs Grok 4.5</a></p>