LLMCost
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?

WorkloadRequests/moAvg tokens (in/out)Est. monthly cost
Light chatbot10,000800 / 400$0.00
Coding agent5,0008,000 / 2,000$0.00
RAG pipeline30,0004,000 / 500$0.00
Doc summarizer2,00020,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,...

Compare Z.ai: GLM 5.2 (free) with