GLM 5.1 API Pricing 2026

Compare pricing, benchmarks, and providers for GLM 5.1. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

GLM 5.1 was released on April 7, 2026. Pricing starts at $0.899 per million input tokens and $2.82 per million output tokens. The model supports a context window of up to 203K tokens. API access is available through Z-ai.

Context Window
203K
tokens
Pricing
Input$0.899
Output$2.82
Cached$0.090
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
ToolsCaching

GLM 5.1 is priced at $0.899 per million input tokens and $2.82 per million output tokens. It has a context window of 202,752 tokens. It is available from 13 providers, with Baidu the cheapest at $0.899 per million input tokens (input prices range from $0.899 to $1.40). Over the past ~90 days its cheapest input price has risen 0.3%, from $0.896 to $0.899 per million tokens.

Pricing Comparison

Compare GLM 5.1 with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.899
$2.825
—
—
—
202,752
Try
$0.800
$1.600
—
—
—
131,072
Try
$0.800
$0.800
—
—
—
4,096
Try
$0.800
$0.800
—
—
—
4,096
Try
$0.834
$2.501
—
—
—
1,048,576
Try
$0.850
$1.250
—
—
—
256,000
Try
$0.850
$3.400
—
—
—
131,072
Try
$0.850
$0.850
—
—
—
32,768
Try
$0.875
$7.000
—
—
—
128,000
Try
$0.880
$0.880
—
—
—
131,072
Try
$0.880
$0.880
—
—
—
131,072
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GLM 5.1 is available from multiple providers with different pricing and availability.

13
Providers
$0.899
Cheapest Input/M
$2.825
Cheapest Output/M
Baidu
Best Price

Provider Pricing

13 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
Baidu
Baidu
Best Price
$0.899
$2.825
$0.167
-
100.0%
C
Chutes
$0.900
$2.900
$0.090
-
-
S
StreamLake
$0.966
$3.036
$0.179
-
100.0%
$1.190
$3.740
$0.600
-
100.0%
$1.190
$3.740
$0.600
-
-
P
Phala
$1.210
$4.200
$0.600
-
100.0%
A
AtlasCloud
$1.260
$3.960
$0.234
-
100.0%
A
Alibaba
$1.330
$4.180
$0.247
-
-
$1.380
$4.400
$0.260
-
-
Z
Z.AI
$1.400
$4.400
$0.260
-
100.0%
$1.400
$4.400
-
-
-
$1.400
$4.400
$0.260
-
-
V
Venice
$1.401
$4.404
$0.260
-
100.0%
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does GLM 5.1 perform? Vote based on your experience.

Cost vs. Quality

Compare GLM 5.1's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try GLM 5.1

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GLM 5.1 directly in your browser.

Open Playground

Frequently Asked Questions

GLM 5.1 costs $0.000899 per 1,000 input tokens and $0.002825 per 1,000 output tokens.
GLM 5.1 is available from 13 providers. Baidu offers the best price.
Baidu offers GLM 5.1 at $0.899 per million input tokens, the lowest of 13 providers (input prices range from $0.899 to $1.40 per million tokens).
Yes. Over the past ~90 days, the cheapest input price for GLM 5.1 has increased 0.3%, from $0.896 to $0.899 per million tokens.
We compare GLM 5.1 with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Z-ai Models

See pricing for all Z-ai models.

View all Z-ai models →