GLM 5.2 API Pricing 2026

Compare pricing, benchmarks, and providers for GLM 5.2. 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.2 was released on June 16, 2026. Pricing starts at $0.0070 per million input tokens and $0.950 per million output tokens. The model supports a context window of up to 1.0M tokens. API access is available through Z-ai.

Context Window
1.0M
tokens
Pricing
Input$0.0070
Output$0.950
Cached$0.0060
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
ToolsCaching

GLM 5.2 is priced at $0.007 per million input tokens and $0.950 per million output tokens. It has a context window of 1,048,576 tokens. It is available from 24 providers, with Wafer the cheapest at $0.007 per million input tokens (input prices range from $0.007 to $2.31). Over the past ~90 days its cheapest input price has fallen 97.9%, from $0.336 to $0.007 per million tokens.

Pricing Comparison

Compare GLM 5.2 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.007
$0.950
—
—
—
1,048,576
Try
$0.000
$0.000
—
—
—
-
Try
$0.000
$0.000
—
—
—
128,000
Try
$0.000
$0.000
—
—
—
202,752
Try
$0.000
$0.000
—
—
—
-
Try
$0.000
$0.000
—
—
—
-
Try
$0.000
$0.000
—
—
—
-
Try
$0.000
$0.000
—
—
—
128,000
Try
$0.000
$0.000
—
—
—
204,800
Try
$0.000
$0.000
—
—
—
262,144
Try
$0.000
$0.000
—
—
—
256,000
Try

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

Compare Providers

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

24
Providers
$0.007
Cheapest Input/M
$0.950
Cheapest Output/M
Wafer
Best Price

Provider Pricing

24 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
W
Wafer
Best Price
$0.007
$6.800
$0.006
-
100.0%
S
StreamLake
$0.302
$0.950
$0.056
-
100.0%
R
Relace
$0.310
$2.400
$0.075
-
100.0%
A
Ambient
$0.600
$2.000
$0.150
-
100.0%
$0.600
$2.000
$0.090
-
-
C
CoreWeave
$0.620
$2.420
$0.140
-
100.0%
$0.620
$2.420
$0.140
-
-
Morph
Morph
$0.643
$1.978
$0.217
-
100.0%
$0.651
$2.046
$0.130
-
100.0%
D
DigitalOcean
$0.700
$2.200
$0.105
-
100.0%
$0.750
$2.400
-
-
-
$0.770
$2.420
$0.143
-
100.0%
A
AtlasCloud
$0.938
$2.948
$0.174
-
-
$1.400
$4.400
$0.260
-
100.0%
Z
Z.AI
$1.400
$4.400
$0.260
-
100.0%
F
Friendli
$1.400
$4.400
$0.260
-
100.0%
$1.400
$4.400
-
-
-
V
Venice
$1.400
$4.400
$0.260
-
100.0%
$1.400
$4.400
$0.140
-
100.0%
$1.400
$4.400
$0.140
-
-
$1.400
$4.400
$0.260
-
-
Mistral
Mistral
$1.540
$4.840
$0.154
-
100.0%
Baidu
Baidu
$2.250
$7.880
$0.560
-
100.0%
A
Alibaba
$2.310
$7.260
$0.462
-
100.0%
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

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

Cost vs. Quality

Compare GLM 5.2's benchmark performance against all models.

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

Try GLM 5.2

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GLM 5.2 directly in your browser.

Open Playground

Frequently Asked Questions

GLM 5.2 costs $0.000007 per 1,000 input tokens and $0.000950 per 1,000 output tokens.
GLM 5.2 is available from 24 providers. Wafer offers the best price.
Wafer offers GLM 5.2 at $0.007 per million input tokens, the lowest of 24 providers (input prices range from $0.007 to $2.31 per million tokens).
Yes. Over the past ~90 days, the cheapest input price for GLM 5.2 has dropped 97.9%, from $0.336 to $0.007 per million tokens.
We compare GLM 5.2 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 →