Enter opens the highlighted result. Esc closes.

GLM 5 vs Grok 4.5

Updated October 21, 2026. 65 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GLM 5Z.ai
Coding
59.7
Overall
27.9
Output $/M
$3.20
9
Grok 4.5xAI
Coding
75.5
Overall
38.8
Output $/M
$6.00
56
vs boards won of 65 shared

Decision reading

Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 59.7 for GLM 5.

Pick GLM 5 when output tokens cost 1.9x less, or when what matters is WeirdML or Vending-Bench 2, where it leads.

Shared results
65
GLM 5 only
10
Grok 4.5 only
55
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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 59.7 from 2 benchmarks, Grok 4.5 75.5 from 2 benchmarks.
Widest category
Reasoning, 15.1 points apart on average over 10 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5 4.9% against Grok 4.5 52.6%, 47.8 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against Grok 4.5 $6.00 per million output tokens, 1.9x apart.
Context window
GLM 5 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 5BarsGrok 4.5Ties
Coding19
Intelligence02
Agentic work15
Reasoning010
Math03
Knowledge17
Web design08
General612
All shared boards956
CodingLike-for-likeFour of these boards feed the Vibe Coding Index19
Coding benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDev14351553Grok 4.5
AA Coding IndexNot measured72.4Only Grok 4.5 measured
LiveCodeBench (Vals AI)81.9%87.3%Grok 4.5
SWE-bench Verified (Vals AI)71.4%86.6%Grok 4.5
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)23.4%69.0%Grok 4.5
Code migration (Vals AI)Not measured36.6%Only Grok 4.5 measured
ProgramBench (Vals AI)Not measured0.0%Only Grok 4.5 measured
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only Grok 4.5 measured
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
SciCodeNot measured55.0%Only Grok 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5 measured
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
WeirdML48.2%46.4%GLM 5
ALE-Bench765.61309.3Grok 4.5
LMArena Text: coding14611474Grok 4.5
LMArena Text: software and IT14601471Grok 4.5
LMArena WebDev: React14241556Grok 4.5
LMArena WebDev: HTML14501567Grok 4.5
LMArena WebDev: from an imageNot measured1562Only Grok 4.5 measured
Neither model has a result on the other 12 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
AA Intelligence Index27.938.8Grok 4.5
Epoch Capabilities Index145.8154.1Grok 4.5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index15
Agentic work benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
AA Agentic IndexNot measured41.2Only Grok 4.5 measured
Design Arena: agents building web appsNot measured1217Only Grok 4.5 measured
Design Arena: agents building full-stack apps11231249Grok 4.5
Design Arena: agents building mobile apps11361221Grok 4.5
Design Arena: agents building Android apps11521242Grok 4.5
Design Arena: agents building Godot games11441229Grok 4.5
Design Arena: agents building gamesNot measured1235Only Grok 4.5 measured
Design Arena: HTML slides11481204Grok 4.5
Design Arena: PowerPoint slidesNot measured1232Only Grok 4.5 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)Not measured48.4%Only Grok 4.5 measured
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)Not measured38.0%Only Grok 4.5 measured
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 Telecom98.2%Not measuredOnly GLM 5 measured
APEX-AgentsNot measured56.2%Only Grok 4.5 measured
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
Vending-Bench 2$4,432$3,887GLM 5
LMArena SearchNot measured1216Only Grok 4.5 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index010
Reasoning benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
GPQA Diamond83.3%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)82.0%93.1%Grok 4.5
Humanity's Last Exam (Artificial Analysis run)29.3%42.7%Grok 4.5
GPQA Diamond (Epoch AI run)87.8%93.4%Grok 4.5
ARC-AGI44.7%87.2%Grok 4.5
ARC-AGI-24.9%52.6%Grok 4.5
SimpleBench53.2%70.0%Grok 4.5
Chess puzzlesNot measured35.0%Only Grok 4.5 measured
LMArena Text: hard prompts14521462Grok 4.5
LMArena Text: expert14541465Grok 4.5
LMArena Text: hard prompts in English14601464Grok 4.5
LMArena Vision: diagramsNot measured1304Only Grok 4.5 measured
LMArena Vision: homeworkNot measured1295Only 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 index03
Math benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%97.8%Grok 4.5
FrontierMath, tiers 1 to 3Not measured57.2%Only Grok 4.5 measured
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBenchNot measured31.0%Only Grok 4.5 measured
LMArena Text: math14401460Grok 4.5
LMArena Text: mathematical work14511482Grok 4.5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index17
Knowledge benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
MMLU Pro86.0%89.2%Grok 4.5
LegalBench (Vals AI)84.1%86.0%Grok 4.5
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%67.4%Grok 4.5
TaxEval (Vals AI)70.0%71.7%Grok 4.5
MortgageTax (Vals AI)Not measured61.8%Only Grok 4.5 measured
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
MedCode (Vals AI)Not measured43.3%Only Grok 4.5 measured
SimpleQA VerifiedNot measured48.3%Only Grok 4.5 measured
LMArena Text: science14601464Grok 4.5
LMArena Text: medicine and healthcare14551440GLM 5
LMArena Text: legal and government14531463Grok 4.5
LMArena Text: business and finance14301441Grok 4.5
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
Design Arena: websites12471281Grok 4.5
Design Arena: UI components12301279Grok 4.5
Design Arena: game dev12341263Grok 4.5
Design Arena: data viz12281267Grok 4.5
Design Arena: 3D12291257Grok 4.5
Design Arena: all code categories12461276Grok 4.5
Design Arena: SVG11681215Grok 4.5
Design Arena: ASCII art11461257Grok 4.5
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index612
General benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)Not measured35.0%Only Grok 4.5 measured
MedScribe (Vals AI)Not measured86.9%Only Grok 4.5 measured
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench72.3%Not measuredOnly GLM 5 measured
Long context reasoning (AA-LCR)75.7%79.3%Grok 4.5
DTBenchNot measured96.5%Only Grok 4.5 measured
LMCANot measured45.2%Only Grok 4.5 measured
CL-bench18.7%Not measuredOnly GLM 5 measured
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
LMArena Text14461448Grok 4.5
LMArena Text: instruction following14281445Grok 4.5
LMArena Text: creative writing14381442Grok 4.5
LMArena VisionNot measured1287Only Grok 4.5 measured
LMArena Text: English14581453GLM 5
LMArena Text: non-English14301440Grok 4.5
LMArena Text: Chinese15111495GLM 5
LMArena Text: German14471448Grok 4.5
LMArena Text: Japanese14161430Grok 4.5
LMArena Text: Korean14231406GLM 5
LMArena Text: French14561457Grok 4.5
LMArena Text: Spanish14541451GLM 5
LMArena Text: Russian14361449Grok 4.5
LMArena Text: Polish14341432GLM 5
LMArena Text: multi-turn14561456GLM 5
LMArena Text: longer queries14461462Grok 4.5
LMArena Text: writing and language14371445Grok 4.5
LMArena Text: entertainment and media14261434Grok 4.5
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 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and Grok 4.5
BenchmarkGLM 5Grok 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$0.0026Fits in one request
Grok 4.5$0.0050Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
Grok 4.5$0.118Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
Grok 4.5$0.460Fits in one request

GLM 5 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 and Grok 4.5
SpecificationZ.ai GLM 5SpaceXAI Grok 4.5
MakerZ.aixAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026July 8, 2026
Context window205K500K
Input $/Mtok$1.00$2.00
Output $/Mtok$3.20$6.00
Coding index59.775.5
Independent measurements behind it22
Cost per solved task$0.63$0.62
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than Grok 4.5 for coding?

Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 59.7 for GLM 5. Pick GLM 5 when output tokens cost 1.9x less, or when what matters is WeirdML or Vending-Bench 2, where it leads.

Which is cheaper, GLM 5 or Grok 4.5?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and Grok 4.5 $0.62.

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

Grok 4.5, with 500K tokens against 205K.

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

65 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 2 independent benchmarks and Grok 4.5'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-vs-grok-4-5" title="GLM 5 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-vs-grok-4-5">LLMBenchmark.ai, GLM 5 vs Grok 4.5</a></p>