Home › Providers › z-ai › Z.ai: GLM 5.2

Z.ai: GLM 5.2 API Pricing

Z.ai: GLM 5.2 is an API model from z-ai. It costs $0.0341 per 1M input tokens and $7 per 1M output tokens, with cached input at $0.033. Its context window is 1,048,576 tokens with up to 943,718 output tokens. A workload of 10M input + 2M output tokens costs about $14.34 per month.
Input
$0.0341
per 1M tokens
Output
$7
per 1M tokens
Cached input
$0.033
per 1M tokens
Context window
1.04858M
1,048,576 tokens
Blended (80/20)
$1.427
per 1M tokens

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

How much does Z.ai: GLM 5.2 cost for a real workload?

At 10M input + 2M output tokens per month, Z.ai: GLM 5.2 costs about $14.34 ($0.341 input + $14 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to Z.ai: GLM 5.2?

Compare Z.ai: GLM 5.2 with other models

Z.ai: GLM 5.2 vs Z.ai: GLM 5.3 FlashZ.ai: GLM 5.2 vs Z.ai: GLM 5.3 Flash (batch)Z.ai: GLM 5.2 vs Z.ai: GLM 4.7 FlashZ.ai: GLM 5.2 vs Z.ai: GLM 4.5 AirZ.ai: GLM 5.2 vs Z.ai: GLM 4.6VZ.ai: GLM 5.2 vs Z.ai: GLM 5.3

Frequently asked questions

How much does Z.ai: GLM 5.2 cost?

Z.ai: GLM 5.2 costs $0.0341 per 1M input tokens and $7 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $14.34.

What is the context window of Z.ai: GLM 5.2?

Z.ai: GLM 5.2 has a context window of 1,048,576 tokens and can return up to 943,718 output tokens per response.

What are cheaper alternatives to Z.ai: GLM 5.2?

Cheaper models include OpenAI: GPT-5.6 Terra Pro (batch) ($1 in / $6 out), OpenAI: GPT-5.6 Terra (batch) ($1 in / $6 out), Google: Gemini 3.1 Pro Preview (batch) ($1 in / $6 out). See the full list on this page.

Is Z.ai: GLM 5.2 free to use?

No. Z.ai: GLM 5.2 is a paid model at $0.0341 input / $7 output per 1M tokens. 20 free models are listed on the free models page.

Provider: z-ai · Model ID: z-ai/glm-5.2 · Modality: text->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices