Fresh paint, wet floors — we're rebuilding CostOfToken into a cross-provider price comparison. Some corners are still under construction; the full version is coming up soon.

Z.ai: GLM 5 pricing

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Z.ai: GLM 5 from OpenRouter costs $1.00 per 1M input tokens and $3.20 per 1M output tokens. Cached input is $0.200 per 1M. Context window 204,800 tokens.

API id z-ai/glm-5 · OpenRouter · source · updated 2026-11-10 · general-purpose

$1.00
Input / 1M tokens
$3.20
Output / 1M tokens
$0.200
Cached input / 1M
205K
Context window

Z.ai: GLM 5 specifications

Provider
OpenRouter
API id
z-ai/glm-5
Model type
general-purpose
Context window
205K tokens
Max output
131K tokens
Currency
USD
Price source
Provider API
Last checked
2026-11-10

GLM-5 across providers

The same model, priced by every seller we track. Ranked by the cost of 1M input + 1M output tokens, standard tier; savings measured against buying from the vendor directly.

ProviderInput /1MCached /1MOutput /1M1M in + 1M outvs vendor
Zhipu AI (GLM)VendorCheapest
$1.00$0.200$3.20$4.20—
OpenRouterHostviewing
$1.00$0.200$3.20$4.20—

What Z.ai: GLM 5 costs in practice

Estimated cost at common usage volumes
WorkloadInput tokensOutput tokensEstimated cost
Short chat turn1,000500$0.0026
Document summary50,0002,000$0.06
1M tokens in, 200K out1,000,000200,000$1.64

Estimates use the standard tier and ignore caching discounts, so real bills with repeated prompt prefixes are typically lower.

Z.ai: GLM 5 price history

RecordedInput /1MOutput /1M
2026-10-21$1.00$3.20
2026-10-20$0.600$1.92
2026-10-15$1.00$3.20
2026-08-27$0.600$1.92

Common questions

How much does Z.ai: GLM 5 cost per 1M tokens?
Z.ai: GLM 5 costs $1.00 per 1M input tokens and $3.20 per 1M output tokens on the standard tier. Cached input is $0.200 per 1M.
What is Z.ai: GLM 5's context window?
Z.ai: GLM 5 accepts up to 204,800 tokens in a single request, and can return up to 131,072 output tokens.
Is there a cheaper OpenRouter model than Z.ai: GLM 5?
Yes. Free Models Router is free per 1M input tokens versus $1.00 for Z.ai: GLM 5, with a 200,000 token context window.
Where does this Z.ai: GLM 5 price come from?
From the OpenRouter catalogue, because OpenRouter does not publish machine-readable pricing. OpenRouter is a reseller, so its rate can differ from OpenRouter's own — verify before committing spend.

Head-to-head comparisons

Other OpenRouter models

See all OpenRouter pricing →