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.1 pricing

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Z.ai: GLM 5.1 from OpenRouter costs $0.965 per 1M input tokens and $3.03 per 1M output tokens. Cached input is $0.179 per 1M. Context window 204,800 tokens.

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

$0.965
Input / 1M tokens
$3.03
Output / 1M tokens
$0.179
Cached input / 1M
205K
Context window

Z.ai: GLM 5.1 specifications

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

GLM-5.1 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.965$0.179$3.03$4.00−31%
$1.40$0.260$4.40$5.80—

What Z.ai: GLM 5.1 costs in practice

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

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

Z.ai: GLM 5.1 price history

RecordedInput /1MOutput /1M
2026-09-25$0.965$3.03
2026-08-30$0.966$3.04
2026-08-27$1.26$3.96

Common questions

How much does Z.ai: GLM 5.1 cost per 1M tokens?
Z.ai: GLM 5.1 costs $0.965 per 1M input tokens and $3.03 per 1M output tokens on the standard tier. Cached input is $0.179 per 1M.
What is Z.ai: GLM 5.1's context window?
Z.ai: GLM 5.1 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.1?
Yes. OpenAI: GPT-3.5 Turbo is $0.500 per 1M input tokens versus $0.965 for Z.ai: GLM 5.1, with a 16,385 token context window.
Where does this Z.ai: GLM 5.1 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 →