GLM 5.2 via the Tokenator API
What the model is for
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, and complex multi-step automation.
Specification
| Full name | GLM 5.2 |
| API ID | glm-5.2 |
| Model vendor | Z-AI |
| Type | Text model (chat / completions) |
| Context window | 1M tokens |
| Max output | 128K tokens |
| Image input | no |
| Tokenator usage multiplier | 2× – 3× |
| Input modalities | text |
| Aliases | cursor-glm-5.2 |
| Supported API formats | /v1/chat/completions /v1/responses /v1/messages |
| Upstream providers | 3 |
| Current status | available |
| Data updated | 2026-08-04 |
Benchmarks
| Intelligence index | 51.1 |
| Coding index | 68.8 |
| Agentic index | 43.1 |
Artificial Analysis data loaded into the catalog for this model.
Upstream providers
| Provider | Multiplier |
|---|---|
| Z.AI Partner #1 | 3× |
| Z.AI Partner #2 | 2.2× |
| AiPartners Ltd | 2× |
A request goes to the first available provider by priority; if it fails, Tokenator switches to the next one.
Example request
curl https://api.tokenator.top/v1/chat/completions \ -H "Authorization: Bearer sk-your-tokenator-key" \ -H "Content-Type: application/json" \ -d '{ "model": "glm-5.2", "messages": [{"role": "user", "content": "Hello"}] }'
Compatible tools
The model can be used in any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code, OpenClaw.
See also
Comparisons involving this model: Deepseek V4 Flash vs GLM 5.2.
FAQ about GLM 5.2
What is the API ID of GLM 5.2?
glm-5.2 — put this into the model field of your request.
What context window does GLM 5.2 have?
1M tokens; max output is 128K tokens.
How many tokens will a request cost?
(input + output) × 2× – 3×. See the documentation for details.
Which tools support this model?
Any tool that accepts a custom base URL: Claude Code, Codex CLI, OpenCode, Cursor, Cline, Kilo Code. Setup guides are in the integrations section.