LLMCost
z ai

Z.ai: GLM 5.2 API Pricing

Z.ai: GLM 5.2 costs $0.966 per 1M input tokens and $3.04 per 1M output tokens (cache reads: $0.193). Context window: 1.0M. Prices verified 2026-08-23 · source

Input / 1M tokens
$0.966
Output / 1M tokens
$3.04
Context window
1.0M
Max output
131K

What would Z.ai: GLM 5.2 cost you per month?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$19.87
Coding agent5,0008,000 / 2,000$69.00
RAG pipeline30,0004,000 / 500$161.46
Doc summarizer2,00020,000 / 1,000$44.71

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

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,...

Compare Z.ai: GLM 5.2 with