Enter opens the highlighted result. Esc closes.

GLM 5 vs GLM 5.1

GLM 5.1 leads GLM 5 on coding, 49.2 to 41.7 on the Vibe Coding Index, and GLM 5 costs 1.4x less per output token ($3.20 vs $4.40 per million). Updated October 21, 2026; 68 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
7
GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
60
vs boards won of 68 shared, 1 tied

GLM 5 or GLM 5.1: which to pick

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 41.7 for GLM 5.

Pick GLM 5 for output tokens 1.4x cheaper ($3.20 vs $4.40 per million) and work measured by LiveCodeBench (Vals AI) or AA Intelligence Index, where it leads.

Shared results
68
GLM 5 only
8
GLM 5.1 only
21
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 41.7 from 3 benchmarks, GLM 5.1 49.2 from 3 benchmarks.
Widest category
Web design, 7.2 points apart on average over 8 shared benchmarks.
Widest single gap
Design Arena: data viz: GLM 5 1228 against GLM 5.1 1366, 17.3 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GLM 5.1 $4.40 per million output tokens, 1.4x apart.
Context window
Both take 205K tokens.

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 5BarsGLM 5.1Ties
Coding191 tie
Intelligence11
Agentic work25
Reasoning08
Math04
Knowledge18
Web design17
General118
All shared boards7601 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index19
Coding benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LMArena WebDev14351508GLM 5.1
AA Coding IndexNot measured55.8Only GLM 5.1 measured
LiveCodeBench (Vals AI)81.9%81.4%GLM 5
SWE-bench Verified (Vals AI)71.4%76.4%GLM 5.1
Vibe Code Bench (Vals AI)23.4%31.5%GLM 5.1
Code migration (Vals AI)Not measured25.8%Only GLM 5.1 measured
ProgramBench (Vals AI)Not measured0.0%Only GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)Not measured56.9%Only GLM 5.1 measured
SciCodeNot measured44.8%Only GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%43.2%Tie
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%57.1%GLM 5.1
ALE-Bench765.6887.1GLM 5.1
LMArena Text: coding14611485GLM 5.1
LMArena Text: software and IT14601484GLM 5.1
LMArena WebDev: React14241505GLM 5.1
LMArena WebDev: HTML14501508GLM 5.1
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index11
Intelligence benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
AA Intelligence Index27.926.1GLM 5
Epoch Capabilities Index145.8149.8GLM 5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index25
Agentic work benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
AA Agentic IndexNot measured23.9Only GLM 5.1 measured
Design Arena: agents building web appsNot measured1175Only GLM 5.1 measured
Design Arena: agents building full-stack apps11231167GLM 5.1
Design Arena: agents building mobile apps11361162GLM 5.1
Design Arena: agents building Android apps11461180GLM 5.1
Design Arena: agents building Godot games11441053GLM 5
Design Arena: agents building gamesNot measured1164Only GLM 5.1 measured
Design Arena: HTML slides11481170GLM 5.1
Design Arena: PowerPoint slidesNot measured1188Only GLM 5.1 measured
Design Arena: spreadsheetsNot measured1315Only GLM 5.1 measured
Finance Agent (Vals AI)Not measured44.8%Only GLM 5.1 measured
Legal Research Bench (Vals AI)Not measured27.9%Only GLM 5.1 measured
τ²-Bench Telecom98.2%97.7%GLM 5
APEX-AgentsNot measured40.9%Only GLM 5.1 measured
Vending-Bench 2$4,432$5,634GLM 5.1
Neither model has a result on the other 26 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
Reasoning benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
GPQA Diamond83.3%84.5%GLM 5.1
GPQA Diamond (Artificial Analysis run)82.0%86.8%GLM 5.1
Humanity's Last Exam (Artificial Analysis run)29.3%30.1%GLM 5.1
GPQA Diamond (Epoch AI run)87.8%89.9%GLM 5.1
ARC-AGI44.7%Not measuredOnly GLM 5 measured
ARC-AGI-24.9%Not measuredOnly GLM 5 measured
SimpleBench53.2%55.1%GLM 5.1
Chess puzzlesNot measured20.0%Only GLM 5.1 measured
LMArena Text: hard prompts14521473GLM 5.1
LMArena Text: expert14541478GLM 5.1
LMArena Text: hard prompts in English14601482GLM 5.1
Kagi LLM Benchmark75.0%Not measuredOnly GLM 5 measured
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
AIME91.7%91.9%GLM 5.1
OTIS Mock AIME80.0%93.3%GLM 5.1
FrontierMath, tiers 1 to 3Not measured36.8%Only GLM 5.1 measured
ProofBenchNot measured22.2%Only GLM 5.1 measured
LMArena Text: math14401473GLM 5.1
LMArena Text: mathematical work14511470GLM 5.1
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index18
Knowledge benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
MMLU Pro86.0%86.9%GLM 5.1
LegalBench (Vals AI)84.1%84.4%GLM 5.1
CaseLaw (Vals AI)52.5%51.5%GLM 5
CorpFin (Vals AI)62.9%64.5%GLM 5.1
TaxEval (Vals AI)70.0%71.2%GLM 5.1
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
MedCode (Vals AI)Not measured41.6%Only GLM 5.1 measured
SimpleQA VerifiedNot measured34.0%Only GLM 5.1 measured
LMArena Text: science14601478GLM 5.1
LMArena Text: medicine and healthcare14551474GLM 5.1
LMArena Text: legal and government14531465GLM 5.1
LMArena Text: business and finance14301452GLM 5.1
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index17
Web design benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
Design Arena: websites12471290GLM 5.1
Design Arena: UI components12301292GLM 5.1
Design Arena: game dev12341265GLM 5.1
Design Arena: data viz12281366GLM 5.1
Design Arena: 3D12291336GLM 5.1
Design Arena: all code categories12461268GLM 5.1
Design Arena: SVG11681218GLM 5.1
Design Arena: ASCII art11471142GLM 5
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index118
General benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
Public Benefits Bench (Vals AI)Not measured61.8%Only GLM 5.1 measured
MedScribe (Vals AI)Not measured72.3%Only GLM 5.1 measured
IFBench72.3%76.3%GLM 5.1
Long context reasoning (AA-LCR)75.7%73.7%GLM 5
CL-bench18.7%Not measuredOnly GLM 5 measured
ExploitBenchNot measured18.1%Only GLM 5.1 measured
LMArena Text14461463GLM 5.1
LMArena Text: instruction following14281453GLM 5.1
LMArena Text: creative writing14381453GLM 5.1
LMArena Text: English14581476GLM 5.1
LMArena Text: non-English14301448GLM 5.1
LMArena Text: Chinese15111515GLM 5.1
LMArena Text: German14471467GLM 5.1
LMArena Text: Japanese14161435GLM 5.1
LMArena Text: Korean14231424GLM 5.1
LMArena Text: French14561470GLM 5.1
LMArena Text: Spanish14541468GLM 5.1
LMArena Text: Russian14361454GLM 5.1
LMArena Text: Polish14341449GLM 5.1
LMArena Text: multi-turn14561473GLM 5.1
LMArena Text: longer queries14461467GLM 5.1
LMArena Text: writing and language14371454GLM 5.1
LMArena Text: entertainment and media14261442GLM 5.1
Neither model has a result on the other 23 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and GLM 5.1
BenchmarkGLM 5GLM 5.1Leader
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
GLM 5.1$0.0036Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
GLM 5.1$0.083Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
GLM 5.1$0.324Exceeds the context window

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 GLM 5.1
SpecificationZ.ai GLM 5Z.ai GLM 5.1
MakerZ.aiZ.ai
WeightsOpen weightsOpen weights
ReleasedFebruary 11, 2026April 7, 2026
Context window205K205K
Input $/Mtok$1.00$1.40
Output $/Mtok$3.20$4.40
Coding index41.749.2
Independent measurements behind it33
Cost per solved task$0.63$0.60
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than GLM 5.1 for coding?

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for output tokens 1.4x cheaper ($3.20 vs $4.40 per million) and work measured by LiveCodeBench (Vals AI) or AA Intelligence Index, where it leads.

Which is cheaper, GLM 5 or GLM 5.1?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GLM 5.1 costs $1.40 and $4.40. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and GLM 5.1 $0.60.

Which has the bigger context window, GLM 5 or GLM 5.1?

Neither: both take 205K tokens.

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

68 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and GLM 5.1's on 3. 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-glm-5-1" title="GLM 5 vs GLM 5.1, 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-glm-5-1">LLMBenchmark.ai, GLM 5 vs GLM 5.1</a></p>