by Z.AI · Language Models
GLM-5.2 is Zhipu AI's (brand Z.AI) coding-focused flagship, launched June 13, 2026, a 744B-parameter mixture-of-experts model with about 40B active parameters per token. Its headline feature is a 1,000,000-token context window, a 5x jump over GLM-5.1, with maximum output around 131K tokens, suited to repo-scale diffs and long plan-then-execute traces. It ships with broad agent-tool compatibility (Claude Code, Cline, OpenClaw and others) and MIT-licensed open weights. Ideal for long-horizon coding and agentic engineering over very large codebases.
$1.813 in · $5.698 out / 1M
| Usage | Rate (USD) | Unit |
|---|---|---|
| Input tokens | $1.81 | per 1M tokens |
| Cached input (cache hit) | $0.34 | per 1M tokens |
| Output tokens | $5.7 | per 1M tokens |
TuneRouter live platform pricing · currency: USD · pre-deduction settled by actual usage
OpenAI-compatible · base URL https://api.tunerouter.com/v1/
curl https://api.tunerouter.com/v1/chat/completions \
-H "Authorization: Bearer $TUNEROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5.2", "messages": [{"role": "user", "content": "Hello!"}]}'Model ID: glm-5.2 · works with OpenAI SDKs — just point base_url at api.tunerouter.com