GLM 5.2

Z.ai · GLM 5 · budget · released Jun 16, 2026 · 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

$0.00$0.315$0.631$0.946Jun 2026Jun 2026Jul 2026Jul 19, 2026: $0.823 / 1M to $0.814 / 1Moutput $0.814Jul 19, 2026: $0.262 / 1M to $0.259 / 1Minput $0.259

USD per 1M tokens. Steps mark recorded repricings; dots link to the events below.

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.

Open in the comparison table JSON API