GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.
Model specifications
Input
text
Output
text
Context
202,752 tokens
Max output
202,752 tokens
Input price
$0.95 / 1M tokens
Output price
$2.55 / 1M tokens
Released
2026-02-14
Capabilities
Playground
Provider pricing, discounts and data privacy
Compare effective provider prices, published discounts, regions, retention policies, training use, compliance, and privacy links by service tier.
Standard service tier
9 available providers · tier input average $0.811444 / 1M tokens · tier output average $2.744444 / 1M tokens
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.
How much does Z.AI: GLM 5 cost?
Input costs start at $0.95 / 1M tokens and output costs start at $2.55 / 1M tokens. Provider-level prices vary by service tier.
What is the context length of Z.AI: GLM 5?
Z.AI: GLM 5 supports a 202,752 token context window and up to 202,752 output tokens.
What capabilities does Z.AI: GLM 5 support?
Z.AI: GLM 5 supports Playground.
Which providers offer Z.AI: GLM 5?
Z.AI: GLM 5 is available from Alibaba Cloud Int.(CN), DeepInfra, GMICloud, BigModel, AtlasCloud, Chutes, Novita, Parasail, Z.ai.
How do providers handle data privacy for Z.AI: GLM 5?
9 of 9 providers report that customer data is not used for training, and 4 offer zero-data-retention routing. Retention, compliance, and privacy-policy links are listed per provider.