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

Z.ai: GLM 4.7 API Pricing

Z.ai: GLM 4.7 is an API model from z-ai. It costs $0.54 per 1M input tokens and $1.98 per 1M output tokens, with cached input at $0.099. Its context window is 204,800 tokens with up to 131,072 output tokens. A workload of 10M input + 2M output tokens costs about $9.36 per month.
Input
$0.54
per 1M tokens
Output
$1.98
per 1M tokens
Cached input
$0.099
per 1M tokens
Context window
204K
204,800 tokens
Blended (80/20)
$0.828
per 1M tokens

GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...

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

At 10M input + 2M output tokens per month, Z.ai: GLM 4.7 costs about $9.36 ($5.4 input + $3.96 output). Try your own volumes in the cost calculator.

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

Compare Z.ai: GLM 4.7 with other models

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

Frequently asked questions

How much does Z.ai: GLM 4.7 cost?

Z.ai: GLM 4.7 costs $0.54 per 1M input tokens and $1.98 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $9.36.

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

Z.ai: GLM 4.7 has a context window of 204,800 tokens and can return up to 131,072 output tokens per response.

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

Cheaper models include Z.ai: GLM 5.3 (batch) ($0.45 in / $2 out), Qwen: Qwen3.5-27B ($0.27 in / $2.16 out), AionLabs: Aion-2.0 ($0.8 in / $1.6 out). See the full list on this page.

Is Z.ai: GLM 4.7 free to use?

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

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