Z

GLM API Pricing (Z-ai) (Updated 2026)

Compare pricing for all 21 Z-ai GLM models. Prices shown per 1M tokens with historical trends.

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

Overview

21
Total Models
$0.01
Cheapest Input (per 1M)
1049K
Max Context Length

Model Release Timeline

15 releases
Jul 2025
$0.13 / $0.85
Jul 2025
$0.60 / $2.20
Aug 2025
$0.60 / $1.80
Sep 2025
$0.43 / $1.75
Dec 2025
$0.30 / $0.90
Dec 2025
$0.32 / $1.40
Jan 2026
$0.06 / $0.40
Feb 2026
$0.60 / $1.92
Mar 2026
$1.20 / $4.00
Apr 2026
$1.20 / $4.00
Apr 2026
$0.90 / $2.82
Jun 2026
$0.01 / $0.95
Aug 2026
$0.07 / $1.40
Aug 2026
$0.04 / $0.08
Sep 2026
$0.37 / $1.25
Spacing represents time between releases
Jul 2025→Sep 2026

All Z-ai Models

Compare pricing for all 21 Z-ai models.

View Provider Pricing
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
Model
Context
Input
Output
Cached Input
Cache Write
MMLU
GPQA
Actions
203K
$0.000
$0.000
-
-
—
—
Try
203K
$0.000
$0.000
-
-
—
—
Try
1.0M
$0.007
$0.950
$0.006
-
—
—
Try
33K
$0.028
$0.110
-
-
—
—
Try
1.0M
$0.040
$0.078
$0.012
-
—
91.2
Try
203K
$0.060
$0.400
$0.01
-
—
—
Try
1.0M
$0.070
$1.400
$0.0689
$2.1
—
91.7
Try
128K
$0.100
$0.100
-
-
—
—
Try
131K
$0.130
$0.850
$0.021
-
—
—
Try
131K
$0.300
$0.900
$0.05
-
—
—
Try
203K
$0.320
$1.400
$0.064
-
—
—
Try
1.0M
$0.370
$1.250
$0.075
-
—
—
Try
-
$0.370
$1.250
$0.075
-
—
—
Try
205K
$0.430
$1.750
$0.08
-
—
—
Try
203K
$0.600
$1.920
$0.12
-
—
—
Try
66K
$0.600
$1.800
$0.11
-
—
—
Try
131K
$0.600
$2.200
$0.11
-
—
—
Try
203K
$0.899
$2.825
$0.09
-
—
—
Try
203K
$1.200
$4.000
$0.24
-
—
—
Try
203K
$1.200
$4.000
$0.24
-
—
—
Try
-
$1.680
$5.280
$0.336
-
—
—
Try

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

Showing lowest price across all providers. Benchmarks from Artificial Analysis and HuggingFace Open LLM Leaderboard.

Cost vs. Quality

Compare Z-ai models by benchmark performance and cost.

X-axis:
Y-axis:

No benchmark data available for comparison

Benchmark scores are sourced from Artificial Analysis

Z-ai Models

Community Ratings

Rate how well Z-ai models perform across popular AI coding tools.

Historical Pricing Trends

Price Changes Over Time

No historical pricing data available for this provider.

Try Z-ai Models

Cost Calculator

Estimate your costs for any Z-ai model based on expected token usage.

Open Cost Calculator

Try in Playground

Test Z-ai models directly in your browser.

Open Playground

Frequently Asked Questions

Currently, GLM-5.2 is the most affordable at $0.01 per 1M input tokens.
Count your input tokens (prompt) and expected output tokens (response). Use the formula: (input_tokens/1M × input_price) + (output_tokens/1M × output_price). Our pricing calculator can help automate this.
Z-ai pricing varies by model. Input costs range from $0.01 to $1.68 per 1M tokens. See the table above for specific model pricing.