z ai
Z.ai: GLM 5.2 (free) API Pricing
Z.ai: GLM 5.2 (free) costs Free per 1M input tokens and Free per 1M output tokens. Context window: 256K. Prices verified 2026-08-23 · source
Input / 1M tokens
Free
Output / 1M tokens
Free
Context window
256K
Max output
256K
What would Z.ai: GLM 5.2 (free) cost you per month?
| Workload | Requests/mo | Avg tokens (in/out) | Est. monthly cost |
|---|---|---|---|
| Light chatbot | 10,000 | 800 / 400 | $0.00 |
| Coding agent | 5,000 | 8,000 / 2,000 | $0.00 |
| RAG pipeline | 30,000 | 4,000 / 500 | $0.00 |
| Doc summarizer | 2,000 | 20,000 / 1,000 | $0.00 |
Estimates use list prices without prompt caching. Caching can cut input cost by up to 90% on repeated context.
About Z.ai: GLM 5.2 (free)
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...