Z.ai (Zhipu)GLM-5.2
z-ai/glm-5.2
reasoningcoding
Z.ai GLM-5.2: GLM flagship chat and reasoning model with strong coding and agent performance.
Pricing
USD per 1M tokens, billed per token. Cached input applies where the provider caches prompts.
- Input
- $1.18
- Output
- $4.13
- Cached input
- $0.295
Specifications
- Context length
- 1M
- Max output tokens
- —
- Input
- text
- Output
- text
- Endpoints
- openai, anthropic
- Released
- Jun 16, 2026
- Alias accepted
- GLM-5.2
Example request
curl https://api.nxioai.com/api/v1/chat/completions \
-H "Authorization: Bearer $NXIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"z-ai/glm-5.2","messages":[{"role":"user","content":"Hello"}]}'Price history
Every price change opens a new version. Past requests are billed with the version in effect at the time.
| Effective | Until | Input | Output | Cached input | Source |
|---|---|---|---|---|---|
| Oct 6, 2026 | current | $1.18 | $4.13 | $0.295 | sync |