LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 4.5 vs GLM 5.2

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

GLM 4.5Z.ai
Coding
64.2
Overall
12.8
Output $/M
$2.20
0
GLM 5.2Z.ai
Coding
57.7
Overall
33.7
Output $/M
$7.00
50
vs boards won of 50 shared

Decision reading

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 57.7 for GLM 5.2.

Pick GLM 5.2 when the context window is larger, 1.05M against 131K tokens, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Shared results
50
GLM 4.5 only
10
GLM 5.2 only
47
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 4.5 64.2 from 1 benchmark, GLM 5.2 57.7 from 1 benchmark.
Widest category
Agentic work, 56.1 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 4.5 43.0% against GLM 5.2 99.1%, 56.1 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against GLM 5.2 $7.00 per million output tokens, 3.2x apart.
Context window
GLM 4.5 takes 131K tokens, GLM 5.2 1.05M.

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 4.5BarsGLM 5.2Ties
Coding06
Intelligence01
Agentic work01
Reasoning06
Math02
Knowledge08
Web design07
General019
All shared boards050
CodingLike-for-likeFour of these boards feed the Vibe Coding Index06
Coding benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
SWE-bench Verified64.2%Not measuredOnly GLM 4.5 measured
LMArena WebDevNot measured1604Only GLM 5.2 measured
AA Coding IndexNot measured68.8Only GLM 5.2 measured
LiveCodeBench (Vals AI)67.5%69.5%GLM 5.2
SWE-bench Verified (Vals AI)Not measured82.8%Only GLM 5.2 measured
Vibe Code Bench (Vals AI)Not measured64.0%Only GLM 5.2 measured
Code migration (Vals AI)Not measured37.9%Only GLM 5.2 measured
ProgramBench (Vals AI)Not measured0.5%Only GLM 5.2 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only GLM 5.2 measured
SkillsBench (Vals AI)Not measured45.1%Only GLM 5.2 measured
LiveCodeBench (Artificial Analysis run)73.8%Not measuredOnly GLM 4.5 measured
SciCodeNot measured51.2%Only GLM 5.2 measured
Terminal-Bench Hard (Artificial Analysis run)22.0%50.8%GLM 5.2
FrontierCodeNot measured24.5%Only GLM 5.2 measured
WeirdML40.6%70.1%GLM 5.2
ALE-Bench344.81047.0GLM 5.2
LMArena Text: coding14341487GLM 5.2
LMArena Text: software and IT14401486GLM 5.2
LMArena WebDev: ReactNot measured1617Only GLM 5.2 measured
LMArena WebDev: HTMLNot measured1565Only GLM 5.2 measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
AA Intelligence Index12.833.7GLM 5.2
Epoch Capabilities IndexNot measured151.9Only GLM 5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
AA Agentic IndexNot measured38.4Only GLM 5.2 measured
Design Arena: agents building web appsNot measured1222Only GLM 5.2 measured
Design Arena: agents building full-stack appsNot measured1241Only GLM 5.2 measured
Design Arena: agents building mobile appsNot measured1160Only GLM 5.2 measured
Design Arena: agents building Android appsNot measured1184Only GLM 5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GLM 5.2 measured
Design Arena: agents building gamesNot measured1206Only GLM 5.2 measured
Design Arena: HTML slidesNot measured1175Only GLM 5.2 measured
Design Arena: PowerPoint slidesNot measured1195Only GLM 5.2 measured
SREBench (Vals AI)Not measured0.0%Only GLM 5.2 measured
Finance Agent (Vals AI)Not measured49.7%Only GLM 5.2 measured
Legal Research Bench (Vals AI)Not measured31.3%Only GLM 5.2 measured
Excel Modeling Benchmark (Vals AI)Not measured61.5%Only GLM 5.2 measured
τ²-Bench Telecom43.0%99.1%GLM 5.2
APEX-AgentsNot measured45.2%Only GLM 5.2 measured
PostTrainBenchNot measured31.7%Only GLM 5.2 measured
Vending-Bench 2Not measured$8,314Only GLM 5.2 measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
GPQA Diamond72.2%85.6%GLM 5.2
GPQA Diamond (Artificial Analysis run)78.2%89.5%GLM 5.2
Humanity's Last Exam (Artificial Analysis run)13.0%41.1%GLM 5.2
GPQA Diamond (Epoch AI run)Not measured91.9%Only GLM 5.2 measured
ARC-AGINot measured77.0%Only GLM 5.2 measured
ARC-AGI-2Not measured22.8%Only GLM 5.2 measured
SimpleBenchNot measured58.8%Only GLM 5.2 measured
Chess puzzlesNot measured22.0%Only GLM 5.2 measured
Mystery game puzzlesNot measured19.0%Only GLM 5.2 measured
EBR-benchNot measured9.5%Only GLM 5.2 measured
LMArena Text: hard prompts14291481GLM 5.2
LMArena Text: expert14331487GLM 5.2
LMArena Text: hard prompts in English14291481GLM 5.2
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
AIME86.7%Not measuredOnly GLM 4.5 measured
MATH 500 (Vals AI)94.0%Not measuredOnly GLM 4.5 measured
MGSM (Vals AI)90.8%Not measuredOnly GLM 4.5 measured
AA Math Index73.7Not measuredOnly GLM 4.5 measured
AIME 2025 (Artificial Analysis run)73.7%Not measuredOnly GLM 4.5 measured
OTIS Mock AIMENot measured86.4%Only GLM 5.2 measured
FrontierMath, tiers 1 to 3Not measured59.2%Only GLM 5.2 measured
FrontierMath, tier 4Not measured29.3%Only GLM 5.2 measured
ProofBenchNot measured35.0%Only GLM 5.2 measured
LMArena Text: math14271483GLM 5.2
LMArena Text: mathematical work14301489GLM 5.2
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index08
Knowledge benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
MMLU Pro81.2%86.7%GLM 5.2
LegalBench (Vals AI)75.6%84.1%GLM 5.2
CorpFin (Vals AI)61.0%66.1%GLM 5.2
TaxEval (Vals AI)72.4%73.3%GLM 5.2
MedQA (Vals AI)90.0%Not measuredOnly GLM 4.5 measured
MedCode (Vals AI)Not measured40.8%Only GLM 5.2 measured
MMLU Pro (Artificial Analysis run)83.5%Not measuredOnly GLM 4.5 measured
SimpleQA VerifiedNot measured34.2%Only GLM 5.2 measured
LMArena Text: science14441489GLM 5.2
LMArena Text: medicine and healthcare14551475GLM 5.2
LMArena Text: legal and government14381486GLM 5.2
LMArena Text: business and finance14201451GLM 5.2
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
Design Arena: websites11701285GLM 5.2
Design Arena: UI components11441296GLM 5.2
Design Arena: game dev11451268GLM 5.2
Design Arena: data viz11591285GLM 5.2
Design Arena: 3D11701288GLM 5.2
Design Arena: all code categories11651288GLM 5.2
Design Arena: SVG10961214GLM 5.2
Design Arena: ASCII artNot measured1190Only GLM 5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index019
General benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
MedScribe (Vals AI)Not measured83.5%Only GLM 5.2 measured
IFBench44.1%73.3%GLM 5.2
Long context reasoning (AA-LCR)52.7%78.3%GLM 5.2
DTBenchNot measured93.6%Only GLM 5.2 measured
LMCANot measured45.8%Only GLM 5.2 measured
Creative writing (Lech Mazur)73.4%Not measuredOnly GLM 4.5 measured
Surface Evolver BenchNot measured55.6%Only GLM 5.2 measured
LMArena Text14301470GLM 5.2
LMArena Text: instruction following14041466GLM 5.2
LMArena Text: creative writing13951463GLM 5.2
LMArena Text: English14371475GLM 5.2
LMArena Text: non-English14171459GLM 5.2
LMArena Text: Chinese14651522GLM 5.2
LMArena Text: German14071470GLM 5.2
LMArena Text: Japanese14151450GLM 5.2
LMArena Text: Korean13801440GLM 5.2
LMArena Text: French14181479GLM 5.2
LMArena Text: Spanish14541478GLM 5.2
LMArena Text: Russian14131468GLM 5.2
LMArena Text: Polish14221456GLM 5.2
LMArena Text: multi-turn14151469GLM 5.2
LMArena Text: longer queries14121480GLM 5.2
LMArena Text: writing and language14031463GLM 5.2
LMArena Text: entertainment and media14041450GLM 5.2
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 and GLM 5.2
BenchmarkGLM 4.5GLM 5.2Leader
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 4.5$0.0017Fits in one request
GLM 5.2$0.0035Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
GLM 5.2$0.023Fits in one request

GLM 5.2 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
GLM 5.2$0.077Fits in one request

GLM 5.2 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 4.5 and GLM 5.2
SpecificationZ.ai GLM 4.5Z.ai GLM 5.2
MakerZ.aiZ.ai
WeightsOpen weightsOpen weights
ReleasedJuly 25, 2025June 16, 2026
Context window131K1.05M
Input $/Mtok$0.60$0.0341
Output $/Mtok$2.20$7.00
Coding index64.257.7
Independent measurements behind it11
Cost per solved taskNot computable$0.86
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than GLM 5.2 for coding?

Pick GLM 4.5 for coding: it scores 64.2 on the Vibe Coding Index against 57.7 for GLM 5.2. Pick GLM 5.2 when the context window is larger, 1.05M against 131K tokens, or when what matters is LiveCodeBench (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads.

Which is cheaper, GLM 4.5 or GLM 5.2?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; GLM 5.2 costs $0.0341 and $7.00. Cost per solved task is known for GLM 5.2 only.

Which has the bigger context window, GLM 4.5 or GLM 5.2?

GLM 5.2, with 1.05M tokens against 131K.

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

50 benchmarks have a result for both models as of October 21, 2026. GLM 4.5's coding index rests on 1 independent benchmark and GLM 5.2's on 1. Where only one model has a result, the page says so instead of naming a winner.

Compare next