Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GLM 5

GLM 5 leads GLM 4.6 on coding, 41.7 to 8.8 on the Vibe Coding Index, and GLM 4.6 costs 1.5x less per output token ($2.20 vs $3.20 per million). Updated October 22, 2026; 61 benchmarks have a result for both.

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
5
GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
56
vs boards won of 61 shared

GLM 4.6 or GLM 5: which to pick

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

Pick GLM 4.6 for output tokens 1.5x cheaper ($2.20 vs $3.20 per million) and work measured by Design Arena: agents building Godot games or AIME, where it leads.

Shared results
61
GLM 4.6 only
8
GLM 5 only
15
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 4.6 8.8 from 2 benchmarks, GLM 5 41.7 from 3 benchmarks.
Widest category
Coding, 11.5 points apart on average over 10 shared benchmarks.
Widest single gap
Kagi LLM Benchmark: GLM 4.6 45.7% against GLM 5 75.0%, 29.3 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GLM 5 $3.20 per million output tokens, 1.5x 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 4.6BarsGLM 5Ties
Coding010
Intelligence01
Agentic work14
Reasoning07
Math12
Knowledge09
Web design07
General316
All shared boards556
CodingLike-for-likeSix of these boards feed the Vibe Coding Index010
Coding benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
SWE-bench Verified68.2%72.8%GLM 5
SWE-bench MultilingualNot measured69.7%Only GLM 5 measured
LMArena WebDev13411435GLM 5
AA Coding Index45.8Not measuredOnly GLM 4.6 measured
LiveCodeBench (Vals AI)81.0%81.9%GLM 5
SWE-bench Verified (Vals AI)Not measured71.4%Only GLM 5 measured
Vibe Code Bench (Vals AI)3.1%23.4%GLM 5
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly GLM 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)28.8%43.2%GLM 5
Terminal-Bench24.5%52.4%GLM 5
WeirdMLNot measured48.2%Only GLM 5 measured
ALE-Bench340.8765.6GLM 5
LMArena Text: coding14491461GLM 5
LMArena Text: software and IT14551460GLM 5
LMArena WebDev: ReactNot measured1424Only GLM 5 measured
LMArena WebDev: HTML13501450GLM 5
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
AA Intelligence Index18.527.9GLM 5
Epoch Capabilities IndexNot measured145.8Only GLM 5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index14
Agentic work benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
Design Arena: agents building full-stack apps10291123GLM 5
Design Arena: agents building mobile apps10961136GLM 5
Design Arena: agents building Android apps10841147GLM 5
Design Arena: agents building Godot games11801144GLM 4.6
Design Arena: HTML slidesNot measured1098Only GLM 5 measured
τ²-Bench Telecom76.9%98.2%GLM 5
Vending-Bench 2Not measured$4,432Only GLM 5 measured
Berkeley Function Calling Leaderboard (BFCL)72.4%Not measuredOnly GLM 4.6 measured
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
Reasoning benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
GPQA Diamond74.5%83.3%GLM 5
GPQA Diamond (Artificial Analysis run)78.0%82.0%GLM 5
Humanity's Last Exam (Artificial Analysis run)14.5%29.3%GLM 5
GPQA Diamond (Epoch AI run)Not measured87.8%Only GLM 5 measured
ARC-AGINot measured44.7%Only GLM 5 measured
ARC-AGI-2Not measured4.9%Only GLM 5 measured
SimpleBenchNot measured53.2%Only GLM 5 measured
LMArena Text: hard prompts14401452GLM 5
LMArena Text: expert14321454GLM 5
LMArena Text: hard prompts in English14451460GLM 5
Kagi LLM Benchmark45.7%75.0%GLM 5
Neither model has a result on the other 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index12
Math benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
AIME92.7%91.7%GLM 4.6
MGSM (Vals AI)89.8%Not measuredOnly GLM 4.6 measured
AA Math Index86.0Not measuredOnly GLM 4.6 measured
AIME 2025 (Artificial Analysis run)86.0%Not measuredOnly GLM 4.6 measured
OTIS Mock AIMENot measured80.0%Only GLM 5 measured
LMArena Text: math14321440GLM 5
LMArena Text: mathematical work14471451GLM 5
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index09
Knowledge benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
MMLU Pro82.2%86.0%GLM 5
LegalBench (Vals AI)79.6%84.1%GLM 5
CaseLaw (Vals AI)Not measured52.5%Only GLM 5 measured
CorpFin (Vals AI)56.8%62.9%GLM 5
TaxEval (Vals AI)66.2%70.0%GLM 5
MedQA (Vals AI)92.2%94.3%GLM 5
MMLU Pro (Artificial Analysis run)82.9%Not measuredOnly GLM 4.6 measured
LMArena Text: science14561460GLM 5
LMArena Text: medicine and healthcare14551455GLM 5
LMArena Text: legal and government14481453GLM 5
LMArena Text: business and finance14161430GLM 5
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
Design Arena: websites11741247GLM 5
Design Arena: UI components11451227GLM 5
Design Arena: game dev11501234GLM 5
Design Arena: data viz11611228GLM 5
Design Arena: 3D11281228GLM 5
Design Arena: all code categories11651246GLM 5
Design Arena: SVG11081168GLM 5
Design Arena: ASCII artNot measured1147Only GLM 5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index316
General benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 5Leader
IFBench43.4%72.3%GLM 5
Long context reasoning (AA-LCR)54.0%75.7%GLM 5
CL-benchNot measured18.7%Only GLM 5 measured
LMArena Text14401446GLM 5
LMArena Text: instruction following14101428GLM 5
LMArena Text: creative writing14121438GLM 5
LMArena Text: English14491458GLM 5
LMArena Text: non-English14261430GLM 5
LMArena Text: Chinese14991511GLM 5
LMArena Text: German14471447GLM 4.6
LMArena Text: Japanese13931416GLM 5
LMArena Text: Korean14001423GLM 5
LMArena Text: French14591456GLM 4.6
LMArena Text: Spanish14361454GLM 5
LMArena Text: Russian14181436GLM 5
LMArena Text: Polish14471434GLM 4.6
LMArena Text: multi-turn14271456GLM 5
LMArena Text: longer queries14221446GLM 5
LMArena Text: writing and language14151437GLM 5
LMArena Text: entertainment and media14091426GLM 5
Neither model has a result on the other 26 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.6 and GLM 5
BenchmarkGLM 4.6GLM 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 4.6$0.0017Fits in one request
GLM 5$0.0026Fits in one request

GLM 4.6 costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GLM 5$0.060Fits in one request

GLM 4.6 costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds the context window
GLM 5$0.232Exceeds the context window

GLM 4.6 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.6 and GLM 5
SpecificationZ.ai GLM 4.6Z.ai GLM 5
MakerZ.aiZ.ai
WeightsOpen weightsOpen weights
ReleasedSeptember 30, 2025February 11, 2026
Context window205K205K
Input $/Mtok$0.60$1.00
Output $/Mtok$2.20$3.20
Coding index8.841.7
Independent measurements behind it23
Cost per solved taskNot computable$0.63
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6 better than GLM 5 for coding?

Pick GLM 5 for coding: it scores 41.7 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for output tokens 1.5x cheaper ($2.20 vs $3.20 per million) and work measured by Design Arena: agents building Godot games or AIME, where it leads.

Which is cheaper, GLM 4.6 or GLM 5?

GLM 4.6 costs $0.60 per million input tokens and $2.20 per million output tokens; GLM 5 costs $1.00 and $3.20. Cost per solved task is known for GLM 5 only.

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

Neither: both take 205K tokens.

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

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