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 | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{} | |
glm-5.2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
glm-5.2:free | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 0,
"output": 0
} | |
glm-5.2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
glm-5.2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
z-ai/glm-5.2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 0,
"output": 0
} | |
glm-5-2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 0,
"output": 0
} | |
glm-5.2 | 976K | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{} | |
glm-5.2 | 1M | $0 if offer.cost.input is defined else '—'}} | $0 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0,
"cache_write": 0,
"input": 0,
"output": 0
} | |
z-ai/glm-5.2 | 1.04858M | $0.42 if offer.cost.input is defined else '—'}} | $1.32 if offer.cost.output is defined else '—'}} | $0.078 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.078,
"input": 0.42,
"output": 1.32
} | |
glm-5.2 | 1M | $0.5 if offer.cost.input is defined else '—'}} | $2.2 if offer.cost.output is defined else '—'}} | $0.08 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.08,
"input": 0.5,
"output": 2.2
} | |
glm-5.2 | 200K | $0.8 if offer.cost.input is defined else '—'}} | $2.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 0.8,
"output": 2.4
} | |
zai-org/GLM-5.2-FP8 | 393.216K | $0.85 if offer.cost.input is defined else '—'}} | $3.1 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 0.85,
"output": 3.1
} | |
zai-org/GLM-5.2 | 1.04858M | $0.93 if offer.cost.input is defined else '—'}} | $3 if offer.cost.output is defined else '—'}} | $0.18 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.18,
"input": 0.93,
"output": 3
} | |
zai-org/GLM-5.2-FP8 | 1M | $0.979 if offer.cost.input is defined else '—'}} | $3.08 if offer.cost.output is defined else '—'}} | $0.182 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.182,
"input": 0.979,
"output": 3.08
} | |
glm-5.2 | 1M | $1.05 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.21 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.21,
"input": 1.05,
"output": 4.4
} | |
glm-5.2 | 1M | $1.1 if offer.cost.input is defined else '—'}} | $3.851 if offer.cost.output is defined else '—'}} | $0.275 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.275,
"cache_write": 0,
"input": 1.1,
"output": 3.851
} | |
glm-5.2 | 1M | $1.127 if offer.cost.input is defined else '—'}} | $3.944 if offer.cost.output is defined else '—'}} | $0.282 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.2817,
"input": 1.1268,
"output": 3.9438
} | |
z-ai/glm-5.2 | 1M | $1.2 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.3 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.3,
"cache_write": 1.2,
"input": 1.2,
"output": 4.4
} | |
glm-5.2 | 1M | $1.2 if offer.cost.input is defined else '—'}} | $4.2 if offer.cost.output is defined else '—'}} | $0.3 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.3,
"input": 1.2,
"output": 4.2
} | |
GLM-5.2 | 1.04858M | $1.2 if offer.cost.input is defined else '—'}} | $4.1 if offer.cost.output is defined else '—'}} | $0.2 if offer.cost.cache_read is defined else '—'}} | 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 if offer.cost.input is defined else '—'}} | $4.2 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"cache_write": 0,
"input": 1.2,
"output": 4.2
} | |
glm-5.2 | 1.024M | $1.26 if offer.cost.input is defined else '—'}} | $3.96 if offer.cost.output is defined else '—'}} | $0.234 if offer.cost.cache_read is defined else '—'}} | 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 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 432K | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1.049M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_write": 0,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 262.144K | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
subconscious/glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
databricks-glm-5-2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai/glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.4,
"output": 4.4
} | |
hf:zai-org/GLM-5.2 | 524.288K | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $1.4 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 1.4,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | 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 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 1.04858M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | 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 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | 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 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0.26 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.26,
"input": 1.4,
"output": 4.4
} | |
zai-org/GLM-5.2 | 262.144K | $1.4 if offer.cost.input is defined else '—'}} | $4.4 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.4,
"output": 4.4
} | |
glm-5.2 | 1M | $1.44 if offer.cost.input is defined else '—'}} | $4.53 if offer.cost.output is defined else '—'}} | $0.39 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"cache_read": 0.39,
"input": 1.44,
"output": 4.53
} | |
glm-5-2 | 384K | $1.5 if offer.cost.input is defined else '—'}} | $5.25 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.5,
"output": 5.25
} | |
zai-org/GLM-5.2 | 524.288K | $1.54 if offer.cost.input is defined else '—'}} | $4.84 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.54,
"output": 4.84
} | |
glm-5.2 | 1M | $1.6 if offer.cost.input is defined else '—'}} | $5.029 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.6001,
"output": 5.0288
} | |
glm-5.2 | 256K | $1.8 if offer.cost.input is defined else '—'}} | $5.5 if offer.cost.output is defined else '—'}} | $0 if offer.cost.cache_read is defined else '—'}} | R T S | View{
"input": 1.8,
"output": 5.5
} |