Provider pricing
Z.AI AI API pricing
Z.AI (Beijing) builds the GLM family of open-weight LLMs, including the new GLM-5.2 — a 744B-parameter model with a 1M-token context window under a permissive MIT license, available on Hugging Face at $1.40 per million input tokens. GLM-5.2 ranks #1 on Design Arena, #1 open on Agent Arena, and #2 overall on Arena.ai Code Frontend, often matching closed flagships like Claude Opus 4.8 on coding and agent workloads. Pricing is tracked alongside hundreds of other providers in the TokenCost directory so teams can compare cost, capabilities, and tradeoffs in one place.
Founded2019
HeadquartersBeijing, China
Tracked models1
Best for
Teams that want open-weight, permissively-licensed coding and agent models that can swap in for closed frontier models.
Strengths
- GLM-5.2: 744B params, 1M context, MIT license
- #1 open model on Agent Arena and Design Arena (Code Frontend #1 open)
- Hosted API from $1.40 / 1M input tokens — open weights on Hugging Face
- Listed in the TokenCost AI providers directory
Tracked Z.AI models
| Model | Input $/M | Output $/M | Context | Tier | Best for |
|---|---|---|---|---|---|
| GLM-5.2 | $1.40 | $4.20 | 1,000,000 | Flagship | Z.ai 744B open flagship — #1 open on coding & agent benchmarks, MIT license, 1M context |