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 $0.600 per 1M input tokens and $1.92 per 1M output tokens. Cached input is $0.120 per 1M. Context window 204,800 tokens.

API id z-ai/glm-5 · OpenRouter · source · updated 2026-09-25 · general-purpose

$0.600
Input / 1M tokens
$1.92
Output / 1M tokens
$0.120
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
128K tokens
Currency
USD
Price source
Provider API
Last checked
2026-09-25

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
OpenRouterHostCheapestviewing
$0.600$0.120$1.92$2.52−40%
$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.0016
Document summary50,0002,000$0.03
1M tokens in, 200K out1,000,000200,000$0.98

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

Common questions

How much does Z.ai: GLM 5 cost per 1M tokens?
Z.ai: GLM 5 costs $0.600 per 1M input tokens and $1.92 per 1M output tokens on the standard tier. Cached input is $0.120 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 128,000 output tokens.
Is there a cheaper OpenRouter model than Z.ai: GLM 5?
Yes. OpenAI: GPT-3.5 Turbo is $0.500 per 1M input tokens versus $0.600 for Z.ai: GLM 5, with a 16,385 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 →