Model registry / Z.ai (Zhipu, GLM) / GLM / GLM-5.2
GLM-5.2
Open flagship GLM for long-horizon coding agents and million-token context work
Line
GLM
Weights
Open
Released
2026-06-13
Context
1M
Input
$0.30 / 1M
Output
$1.05 / 1M
Max output
131K
Coverage
1 signal
Overview
GLM-5.2 is an open flagship model from Z.ai (Zhipu) for long-horizon coding agents and million-token context work. It is the latest in the GLM line, succeeding GLM-5.1. It has a 1,000,000 token context window and a 131,072 token output limit. Weights are open. It supports reasoning mode and tool calling. It accepts and returns text. Pricing starts at $0.30 per million input tokens and $1.05 per million output tokens, with cached input at $0.05 per million tokens. It is served by 74 hosts.
Specs
Pricing
Against GLM-5.1: window 200K to 1M, input $0.45 to $0.30, output $2.15 to $1.05, cached input $0.08 to $0.05.
Range across the hosts that serve it: up to $2.80 per 1M input tokens.
Strengths
- 1M token context window
- 131K token max output
- Open weights
- Reasoning mode and tool calling
- From $0.30 per M input tokens
Best for
- Reach for it for long-horizon coding agents
- Reach for it for million-token context work
- Reach for it for tasks needing tool calling
- Reach for it for reasoning-heavy text generation
How to access
74 hosts serve this model at the price above · the maker's documentation
What the digest said
1 signal of the archive mention this model, each scored against the published bar. This list is rebuilt from the archive at every build, so it cannot go stale.
GLM: every version
The registry keeps the six most recent versions of a line. Older ones stay in the file and can be surfaced without a rebuild.
FAQ
- What is the context window of GLM-5.2?
- The context window is 1,000,000 tokens, and the maximum output is 131,072 tokens.
- Are the weights open?
- Yes, GLM-5.2 has open weights. It also supports reasoning mode and tool calling.
- What is the pricing?
- Input starts at $0.30 per million tokens, output at $1.05 per million tokens. Cached input is $0.05 per million tokens.