GLM 4.6 vs GLM-5.2

GLM 4.6 (Zhipu AI, September 2025) and GLM-5.2 (Z.ai Zhipu AI, June 2026), compared on price, context window, access and specs. GLM 4.6 is the cheaper API at $0.43 in and $1.75 out per million tokens, about 15% less than GLM-5.2 on a typical 3:1 input-to-output mix. GLM-5.2 reads more at once: a 1M-token context window against 203K.

Updated 5 December 2026 · read each row across; the best value in a row is marked

GLM-5.2

Z.ai Zhipu AI

At a glance

Released
30 September 2025
16 June 2026
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
China
China

Price and API

Input, per 1M tokens
$0.43on Hugging Face
$0.007on OpenRouterLowest
Output, per 1M tokens
$1.75on Hugging FaceLowest
$1.80on DeepInfra
Official API id
zai/glm-4.6
alibaba/glm-5.2
Context window
203K tokens
1M tokensLargest
Max output
131K tokens
131K tokens
Takes
Text
Text
Returns
Text
Text
Knowledge cutoff
April 2025
Not listed
Supports
ReasoningTool callingOpen weights
ReasoningTool callingStructured outputOpen weights

Scale and training

Parameters
357B357,000,000,000
744B744,000,000,000Largest
Training compute
4.4 × 10²⁴ FLOP
Not listed
Training time
2,880 hours
Not listed
Training code
Unreleased
Not listed
Confidence
Likely
Confident

Notes

Parameters
Similarly to GLM 4.5: 355 billion total parameters (reported) with 32 billion active parameters (assumed)
40 billion active
Training compute
6 FLOP/parameter/token * 32000000000 active parameters [very likely assumption - everything else is reported to be same as at GLM 4.5] * 23000000000000 tokens = 4.42e24 FLOP
Not listed
Dataset size
23T tokens (from Jaime's correspondence with the GLM team)
Not listed
Access
MIT license https://huggingface.co/zai-org/GLM-4.6
Not listed

In their own words

Abstract
Today, we are releasing the latest version of our flagship model: GLM-4.6. Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability. More capable agents: GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks. Refined writing: Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios. We evaluated GLM-4.6 across eight public benchmarks covering agents, reasoning, and coding. Results show clear gains over GLM-4.5, with GLM-4.6 also holding competitive advantages over leading domestic and international models such as DeepSeek-V3.2-Exp and Claude Sonnet 4, but still lags behind Claude Sonnet 4.5 in coding ability.Read all
We're introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on a solid 1M-token context. GLM-5.2's new capabilities include: Solid 1M Context: A solid 1M-token context that stably sustains long-horizon work Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency Improved Architecture: We propose IndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20% Pure Open: An MIT open-source license — no regional limits, technical access without bordersRead all

Which should you pick?

High-volume or budget workloads
GLM 4.6 · Lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
GLM-5.2 · 1M tokens of context, 4.9× more than GLM 4.6.

Questions people ask

Is GLM 4.6 better than GLM-5.2?

It depends on the job. For high-volume or budget workloads, GLM 4.6 has the edge: lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM-5.2 has the edge: 1M tokens of context, 4.9× more than GLM 4.6. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: GLM 4.6 or GLM-5.2?

GLM 4.6: $0.43 in and $1.75 out per million tokens at Hugging Face. GLM-5.2 starts at $0.56 in and $1.80 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

GLM-5.2, with 1M tokens; GLM 4.6 takes 203K. A larger window lets one request hold longer documents or conversations.

Where can I use GLM 4.6 and GLM-5.2 through one API?

Hugging Face, DeepInfra, OpenRouter and Novita AI serve all of them, so you can switch models without opening another account.

When were they released?

GLM 4.6 in September 2025 and GLM-5.2 in June 2026.

Other comparisons