What this model supports
ReasoningYes
Tool callingYes
Structured outputYes
AttachmentsNo
Temperature controlYes
Open weightsYes
- Creator
- Zhipu AI
- Family
- glm
- Modalities
- Text
- License
- Not documented
- Release date
- 2026-06-13
- Model ID
zhipuai/glm-5.2
zhipuai/glm-5.2Open flagship GLM for long-horizon coding agents and million-token context work
zhipuai/glm-5.2| Provider | Provider model ID | Context | Input / 1M | Output / 1M | Cached / 1M | Features | All pricing |
|---|---|---|---|---|---|---|---|
glm-5.2 | 1M | — | — | — | R T S | View{} | |
glm-5.2 | 1M | $0 | $0 | $0 | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
glm-5.2:free | 1M | $0 | $0 | — | R T S | View{
"input": 0,
"output": 0
} | |
glm-5.2 | 1M | $0 | $0 | $0 | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
glm-5.2 | 1M | $0 | $0 | $0 | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
z-ai/glm-5.2 | 1M | $0 | $0 | — | R T S | View{
"input": 0,
"output": 0
} | |
glm-5-2 | 1M | $0 | $0 | — | R T S | View{
"input": 0,
"output": 0
} | |
glm-5.2 | 976K | — | — | — | R T S | View{} | |
glm-5.2 | 1M | $0 | $0 | $0 | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
z-ai/glm-5.2 | 1.04858M | $0.42 | $1.32 | $0.078 | R T S | View{
"cache_read": 0.078,
"input": 0.42,
"output": 1.32
} | |
glm-5.2 | 1M | $0.5 | $2.2 | $0.08 | R T S | View{
"cache_read": 0.08,
"input": 0.5,
"output": 2.2
} | |
glm-5.2 | 200K | $0.8 | $2.4 | — | R T S | View{
"input": 0.8,
"output": 2.4
} | |
zai-org/GLM-5.2-FP8 | 393.216K | $0.85 | $3.1 | — | R T S | View{
"input": 0.85,
"output": 3.1
} | |
zai-org/GLM-5.2 | 1.04858M | $0.93 | $3 | $0.18 | R T S | View{
"cache_read": 0.18,
"input": 0.93,
"output": 3
} | |
zai-org/GLM-5.2-FP8 | 1M | $0.979 | $3.08 | $0.182 | R T S | View{
"cache_read": 0.182,
"input": 0.979,
"output": 3.08
} | |
glm-5.2 | 1M | $1.05 | $4.4 | $0.21 | R T S | View{
"cache_read": 0.21,
"input": 1.05,
"output": 4.4
} | |
glm-5.2 | 1M | $1.1 | $3.851 | $0.275 | R T S | View{
"cache_read": 0.275,
"cache_write": 0,
"input": 1.1,
"output": 3.851
} | |
glm-5.2 | 1M | $1.127 | $3.944 | $0.282 | R T S | View{
"cache_read": 0.2817,
"input": 1.1268,
"output": 3.9438
} | |
z-ai/glm-5.2 | 1M | $1.2 | $4.4 | $0.3 | R T S | View{
"cache_read": 0.3,
"cache_write": 1.2,
"input": 1.2,
"output": 4.4
} | |
glm-5.2 | 1M | $1.2 | $4.2 | $0.3 | R T S | View{
"cache_read": 0.3,
"input": 1.2,
"output": 4.2
} | |
GLM-5.2 | 1.04858M | $1.2 | $4.1 | $0.2 | R T S | View{
"cache_read": 0.2,
"cache_write": 0,
"input": 1.2,
"output": 4.1
} | |
zai-org/GLM-5.2-FP8 | 202.752K | $1.2 | $4.2 | $0.26 | R T S | View{
"cache_read": 0.26,
"cache_write": 0,
"input": 1.2,
"output": 4.2
} | |
glm-5.2 | 1.024M | $1.26 | $3.96 | $0.234 | R T S | View{
"cache_read": 0.234,
"cache_write": 0,
"input": 1.26,
"output": 3.96
} | |
zai-org/GLM-5.2 | 1.049M | $1.4 | $4.4 | — | R T S | View{
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 432K | $1.4 | $4.4 | — | R T S | View{
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1.049M | $1.4 | $4.4 | — | R T S | View{
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 262.144K | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
subconscious/glm-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
databricks-glm-5-2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai/glm-5.2 | 1M | $1.4 | $4.4 | — | R T S | View{
"input": 1.4,
"output": 4.4
} | |
hf:zai-org/GLM-5.2 | 524.288K | $1.4 | $4.4 | $1.4 | R T S | View{
"cache_read": 1.4,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/glm-5.2 | 1.04858M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1.04858M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"cache_write": 1.4,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1.04858M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/glm-5.2 | 1.04858M | $1.4 | $4.4 | $0.26 | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 262.144K | $1.4 | $4.4 | — | R T S | View{
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.44 | $4.53 | $0.39 | R T S | View{
"cache_read": 0.39,
"input": 1.44,
"output": 4.53
} | |
glm-5-2 | 384K | $1.5 | $5.25 | — | R T S | View{
"input": 1.5,
"output": 5.25
} | |
zai-org/GLM-5.2 | 524.288K | $1.54 | $4.84 | — | R T S | View{
"input": 1.54,
"output": 4.84
} | |
glm-5.2 | 1M | $1.6 | $5.029 | — | R T S | View{
"input": 1.6001,
"output": 5.0288
} | |
glm-5.2 | 256K | $1.8 | $5.5 | — | R T S | View{
"input": 1.8,
"output": 5.5
} |