Skip to content
NINJA

GLM 5

Released by Z.ai on 11 Feb 2026.

API id z-ai/glm-5

Input price
$1.00 / 1M tokens
Output price
$3.20 / 1M tokens
Context window
205K tokens
Longest reply
131K tokens

About this model

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

Description from the model’s public catalogue listing.

Capabilities

Reads
Text
Writes
Text
Reasoning mode
Yes
Tool calling
Yes
Open weights
Yes
Cached input
$0.20 / 1M tokens

What it would cost

At list price, without caching or batch discounts.

1,000 chat replies2K tokens in, 500 out each
$3.60
Summarise 100 long reports50K tokens in, 1K out each
$5.32
A coding agent’s working day20M tokens in, 1M out
$23.20
Price your own workload on every model

Price history

Per 1M tokens, input then output. Tracked since 30 Sept 2026.

20 Oct 2026
$0.60 → $1.00+67%$1.92 → $3.20+67%
20 Oct 2026
$1.00 → $0.60-40%$3.20 → $1.92-40%
15 Oct 2026
$0.60 → $1.00+67%$1.92 → $3.20+67%

Alternatives at a similar price

From other labs, priced within about 40% of GLM 5, with a comparable context window.

More from Z.ai

See all