Z.ai GLM 5.1 API Pricing

Z.ai GLM 5.1 API pricing: $1.40 per 1M tokens for input and $4.40 per 1M tokens for output, from OpenRouter. Published Last checked · Source (data) · Methodology

OpenRouter: Amount worked out from the source page: $1.40 per 1M tokens, in USD · as shown in the United States on 9 Nov 2026 · the page does not say whether tax is included; we do not assume it is excluded · last price change seen on 21 Oct 2026.

Data as of9 Nov 2026Prices checked 9 Nov 2026 · test requests to 8 Nov 2026Data & API
Task receipt: OpenRouter: $0.236; Warm cache: $0.075 Calculated · Document analysis Assumption: 3 steps; initial input 50,500 tokens; growth 2,500 tokens/step; visible output 1,000 tokens/step. Month: 14,600 tasks. No hidden reasoning or retries. Warm-cache saving: $0.161 per task. Dashed outline: the no-cache bill.
Task receipt.Calculated · Document analysis Assumption: 3 steps; initial input 50,500 tokens; growth 2,500 tokens/step; visible output 1,000 tokens/step. Month: 14,600 tasks. No hidden reasoning or retries. Warm-cache saving: $0.161 per task. Dashed outline: the no-cache bill. Open image · Explore the chart · Measured Lab · CC BY 4.0

Prices USD per 1M tokens, as listed

  • $1.40Input per 1M tokens, through OpenRouter Published
  • $4.40Output per 1M tokens, through OpenRouter Published
All prices by channel
Price per 1M tokensProvider directThrough OpenRouterPrevious prices by channel
Input—$1.40 PublishedOpenRouter: $0.966 until 21 Oct 2026
Output—$4.40 PublishedOpenRouter: $3.036 until 21 Oct 2026
Cached input · read—$0.26 Published—

Input price through OpenRouter, 16 Oct 2026 – 9 Nov 2026

16 Oct 2026$0.966 → $1.40 → $0.966 → $1.409 Nov 2026

Context window204,800tokens Published
Max output131,072tokens Published

OpenRouter providers who serves this model through OpenRouter, at what price

OpenRouter sends a call without a pinned provider to one of these endpoints, and each endpoint has its own price. Prices are USD per 1M tokens, input / output.

Pinned min: $0.90 / $2.90 · Chutes (chutes/fp8)

Unpinned range: input $0.90–$1.4014, output $2.90–$4.4044 across 13 providers (listing shows $1.40 / $4.40).

Price moves of 20% or more since the reading of 8 Nov 2026:

  • Baidu (baidu/fp8): $0.8988 / $2.8248 → $1.40 / $4.40 (input +56%, output +56%).
  • Lowest-priced endpoint for the workload: Chutes (chutes/fp8) at $8.02 per 1,000 tasks, before Baidu (baidu/fp8) at $7.97.

Models with the widest provider price spread on OpenRouter

Request fragment that pins Chutes (chutes/fp8):

{"provider": {"order": ["chutes/fp8"], "allow_fallbacks": false}}

With fallbacks turned off, OpenRouter does not move the call to another provider. A full endpoint tag pins that endpoint; the provider name alone covers all of its endpoints (OpenRouter provider routing).

All endpoints (13), by input price
ProviderEndpoint tagPrecisionInputOutputContext, tokens
Chuteschutes/fp8fp8$0.90$2.90202,752
StreamLakestreamlake/fp8fp8$0.966$3.036200,000
SiliconFlowsiliconflow/fp8fp8$1.19$3.74204,800
PhalaphalaNot stated$1.21$4.20202,752
AtlasCloudatlas-cloud/fp8fp8$1.26$3.96202,752
Alibabaalibaba/fp8fp8$1.33$4.18202,745
Novitanovita/fp8fp8$1.38$4.40204,800
Baidubaidu/fp8fp8$1.40$4.40202,752
FriendlifriendliNot stated$1.40$4.40202,752
GMICloudgmicloud/fp8fp8$1.40$4.40202,752
Nebiusnebius/fp8fp8$1.40$4.40202,752
Z.AIz-ai/fp8fp8$1.40$4.40202,752
Venicevenice/fp8fp8$1.4014$4.4044200,000

Sorted by input price, then output price. Precision is the quantization field of the endpoints list.

How we got this number

  • What we read: the published price on openrouter.ai/api/v1/models
  • Checked: ; tracked since 16 Oct 2026
  • Shown in: the United States
  • Checks so far: 25 checks since 16 Oct 2026
  • What changed: the price last changed on ; every change is listed under History
  • Page updated:

Other measured facts

QuestionAnswerCheckedStatus
How much does Z.ai GLM 5.1 cost per 1M cache-read tokens (cache hits) on OpenRouter?$0.26 per 1M tokensPublished
How much does Z.ai GLM 5.1 cost per 1M output tokens on OpenRouter?$4.40 per 1M tokensPublished
What is the context window of Z.ai GLM 5.1 on OpenRouter, in tokens?204,800 tokensPublished
What is the maximum output length of Z.ai GLM 5.1 on OpenRouter, in tokens?131,072 tokensPublished

History

  1. — $3.04 per 1M tokens → $4.40 per 1M tokens (How much does Z.ai GLM 5.1 cost per 1M output tokens on OpenRouter?) Confirmed by the check on 22 Oct 2026. What this means for you: If you buy or renew this plan now, you pay the new price; the old price is shown for comparison.
  2. — 128,000 tokens → 131,072 tokens (What is the maximum output length of Z.ai GLM 5.1 on OpenRouter, in tokens?) Confirmed by the check on 22 Oct 2026. What this means for you: The figure you would rely on has moved; check the evidence before relying on the old one.
  3. — $0.97 per 1M tokens → $1.40 per 1M tokens Confirmed by the check on 22 Oct 2026. What this means for you: If you buy or renew this plan now, you pay the new price; the old price is shown for comparison.
  4. — First check: $0.97 per 1M tokens
  5. Short-lived or unconfirmed moves are not shown as changes.

The source record lists $0.0000014 per token ($1.40 per 1M tokens), fetched on 9 Nov 2026.

The source record, as published
"prompt":"0.0000014"
What the source says · openrouter.ai

Briefings on this model each price change recalculated as a task cost

  1. Z.ai GLM 5.1: price rise input $0.966 → $1.40 per 1M tokens (+45 %), output $3.04 → $4.40 per 1M tokens (+45 %)
  2. DeepSeek V4 Pro 0813: price rise input $0.115 → $0.111 per 1M tokens (-3 %), output $4.00 → $4.44 per 1M tokens (+11 %)
  3. DeepSeek V4.1 Flash 1017: price cut input $0.300 → $0.0060 per 1M tokens (-98 %), output $1.20 → $0.500 per 1M tokens (-58 %)

All briefings

Record history — 113 records for 5 questions
Last record
Shown in
the United States
How much does Z.ai GLM 5.1 cost per 1M input tokens on OpenRouter?
TimeValueStatus
9 Nov 2026$1.40 per 1M tokensPublished
8 Nov 2026$1.40 per 1M tokensPublished
7 Nov 2026$1.40 per 1M tokensPublished
6 Nov 2026$1.40 per 1M tokensPublished
5 Nov 2026$1.40 per 1M tokensPublished
4 Nov 2026$1.40 per 1M tokensPublished
3 Nov 2026$1.40 per 1M tokensPublished
2 Nov 2026$1.40 per 1M tokensPublished
1 Nov 2026$1.40 per 1M tokensPublished
31 Oct 2026$1.40 per 1M tokensPublished
30 Oct 2026$1.40 per 1M tokensPublished
29 Oct 2026$1.40 per 1M tokensPublished
How much does Z.ai GLM 5.1 cost per 1M cache-read tokens (cache hits) on OpenRouter?
TimeValueStatus
9 Nov 2026$0.26 per 1M tokensPublished
8 Nov 2026$0.26 per 1M tokensPublished
7 Nov 2026$0.26 per 1M tokensPublished
6 Nov 2026$0.26 per 1M tokensPublished
5 Nov 2026$0.26 per 1M tokensPublished
4 Nov 2026$0.26 per 1M tokensPublished
3 Nov 2026$0.26 per 1M tokensPublished
2 Nov 2026$0.26 per 1M tokensPublished
1 Nov 2026$0.26 per 1M tokensPublished
31 Oct 2026$0.26 per 1M tokensPublished
30 Oct 2026$0.26 per 1M tokensPublished
29 Oct 2026$0.26 per 1M tokensPublished
How much does Z.ai GLM 5.1 cost per 1M output tokens on OpenRouter?
TimeValueStatus
9 Nov 2026$4.40 per 1M tokensPublished
8 Nov 2026$4.40 per 1M tokensPublished
7 Nov 2026$4.40 per 1M tokensPublished
6 Nov 2026$4.40 per 1M tokensPublished
5 Nov 2026$4.40 per 1M tokensPublished
4 Nov 2026$4.40 per 1M tokensPublished
3 Nov 2026$4.40 per 1M tokensPublished
2 Nov 2026$4.40 per 1M tokensPublished
1 Nov 2026$4.40 per 1M tokensPublished
31 Oct 2026$4.40 per 1M tokensPublished
30 Oct 2026$4.40 per 1M tokensPublished
29 Oct 2026$4.40 per 1M tokensPublished
What is the context window of Z.ai GLM 5.1 on OpenRouter, in tokens?
TimeValueStatus
9 Nov 2026204,800 tokensPublished
8 Nov 2026204,800 tokensPublished
7 Nov 2026204,800 tokensPublished
6 Nov 2026204,800 tokensPublished
5 Nov 2026204,800 tokensPublished
4 Nov 2026204,800 tokensPublished
3 Nov 2026204,800 tokensPublished
2 Nov 2026204,800 tokensPublished
1 Nov 2026204,800 tokensPublished
31 Oct 2026204,800 tokensPublished
30 Oct 2026204,800 tokensPublished
29 Oct 2026204,800 tokensPublished
What is the maximum output length of Z.ai GLM 5.1 on OpenRouter, in tokens?
TimeValueStatus
9 Nov 2026131,072 tokensPublished
8 Nov 2026131,072 tokensPublished
7 Nov 2026131,072 tokensPublished
6 Nov 2026131,072 tokensPublished
5 Nov 2026131,072 tokensPublished
4 Nov 2026131,072 tokensPublished
3 Nov 2026131,072 tokensPublished
2 Nov 2026131,072 tokensPublished
1 Nov 2026131,072 tokensPublished
31 Oct 2026131,072 tokensPublished
30 Oct 2026131,072 tokensPublished
29 Oct 2026131,072 tokensPublished

Showing the latest 60 of 113 records; the full history is in data.json and data.csv.

Explore the numbers

GLM 5.1

OpenRouter$0.236Warm cache$0.075$0.00$0.10$0.20$0.30OpenRouter$0.236Warm cache$0.075$0.00$0.10$0.20$0.30
OpenRouter$3,442.68Warm cache$1,089.63$0$1,000$2,000$3,000$4,000OpenRouter$3,442.68Warm cache$1,089.63$0$1,000$2,000$3,000$4,000

Calculated · Document analysis

Assumption: 3 steps; initial input 50,500 tokens; growth 2,500 tokens/step; visible output 1,000 tokens/step. Month: 14,600 tasks. No hidden reasoning or retries.

Warm-cache saving: $0.161 per task. Dashed outline: the no-cache bill.

Assumption: first-step cache fraction 75%; earlier context is read again and new context is written. All calls stay within the cache lifetime.

Formula: sum of input, output, cache reads and cache writes × their published rates / 1M. Each step uses its own context tier. Missing cache or batch prices are Unknown.

Fresh input · Visible output · Cache read · Cache write

Sources: this page; published model prices (data (JSON)); task assumptions (data (JSON)). Published prices · Observed responses · Calculated scenarios · Assumptions stated with each chart.