The Orchestrator › Models › Z.ai
Z.ai: GLM 5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Specifications
| Provider | Z.ai |
| Model ID | z-ai/glm-5.2 |
| Context window | 1.0M tokens (1,048,576) |
| Modalities | text → text |
| Tokenizer | Other |
| Router sources | OpenRouter, TrustedRouter, Vercel AI Gateway, Cloudflare |
| Released | 2026-06-16 |
| Tracked since | 2026-11-14 |
| Popularity | #25 by usage · peak 5.8% spend share in an OpenRouter category |
| Reasoning | On by default |
Pricing (per million tokens)
| Variant | Source | API ID | Input | Output | Context |
|---|---|---|---|---|---|
| standard | OpenRouter | z-ai/glm-5.2 | $0.007 | $6.80 | 1.0M |
| batch | OpenRouter | z-ai/glm-5.2:batch | $0.322 | $0.989 | 1.0M |
| standard | TrustedRouter | z-ai/glm-5.2 | $0.359 | $1.58 | 1.0M |
| standard | Vercel AI Gateway | z-ai/glm-5.2 | $1.40 | $4.40 | 1M |
| standard | Cloudflare | z-ai/glm-5.2 | $1.40 | $4.40 | — |
Recorded price history
| Date | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| 2026-11-14 | $1.40 | $4.40 | — |
| 2026-11-14 | $1.40 | $4.40 | 1M |
| 2026-11-14 | $0.359 | $1.58 | 1.0M |
| 2026-11-14 | $0.007 | $6.80 | 1.0M |
Capabilities
Agentic tool useStructured outputsReasoning mode1M+ context windowControllable reasoningNo content storage (attested)Zero data retention
Trust flags come from TrustedRouter's per-provider attestations.
Supported parameters
frequency_penalty, include_reasoning, logit_bias, logprobs, max_tokens, min_p, parallel_tool_calls, presence_penalty, reasoning, reasoning_effort, repetition_penalty, response_format, seed, stop, structured_outputs, temperature, tool_choice, tools, top_k, top_logprobs, top_p