GLM 5.2
Large-scale reasoning model from Z.ai with a 1M-token context window, aimed at long-horizon agent workflows and project-level software engineering.
Pricing
Input$0.259 / 1M checked Jul 19, 2026
Output$0.814 / 1M checked Jul 19, 2026
Converted pricing as listed on OpenRouter; billing-currency rounding may vary slightly.
Cost bandUltra-budget
Free tierNo free API tier documented.
Limits
Context window1M checked Jul 19, 2026
DeploymentZ.ai API
OpenAI-compatible APIYes
ModalitiesText
Where it fits
Best forBudget agents and long-context engineering work.
Business fitFrontier-adjacent capability at under a dollar per 1M output tokens.
Capabilities
ReasoningFunction callingStructured outputs
Change history
USD per 1M tokens. Steps mark recorded repricings; dots link to the events below.
- Jul 19, 2026Price cutGLM 5.2 output price cut
$0.823 / 1Mto $0.814 / 1M OpenRouter directory - Jul 19, 2026Price cutGLM 5.2 input price cut
$0.262 / 1Mto $0.259 / 1M OpenRouter directory - Jun 16, 2026New modelGLM 5.2 added to the index $0.26 in / $0.82 out per 1M, 1M context. OpenRouter listing
Data
Last checkedJul 19, 2026
Cross-checked againstopenrouter.ai/z-ai/glm-5.2
Verify with provider documentation before committing spend. Report an error and it gets fixed with a logged correction.