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: August 19, 2026 at 08:38 AM

Overview

GLM 5.2 was released on June 16, 2026. Pricing starts at $0.734 per million input tokens and $2.31 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.734
Output$2.31
Cached$0.136
per 1M tokens
Speed
Output139 tok/s
TTFT1.58s
median latency
Capabilities
ToolsCaching

GLM 5.2 is priced at $0.734 per million input tokens and $2.31 per million output tokens. It has a context window of 1,048,576 tokens. It is available from 20 providers, with StreamLake the cheapest at $0.734 per million input tokens (input prices range from $0.734 to $2.10). It runs at roughly 139 tokens per second with a 1.58s time to first token. On benchmarks, GLM 5.2 scores Intelligence 34.8 (86th percentile), Coding 46.5 (67th percentile), GPQA 68.6 (55th percentile). Over the past ~90 days its cheapest input price has fallen 47.6%, from $1.40 to $0.734 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.734
$2.306
68.6
1,048,576
Try
$0.650
$0.750
131,072
Try
$0.650
$3.250
1,000,000
Try
$0.650
$0.650
38.4
16.7
8,192
Try
$0.660
$0.800
29.5
63.5
41.7
32,768
Try
$0.680
$3.400
89.6
262,144
Try
$0.694
$1.389
71.7
1,048,576
Try
$0.700
$1.400
131,072
Try
$0.700
$1.400
131,072
Try
$0.700
$0.700
18.8
57.1
40.1
65,536
Try
$0.720
$0.720
131,072
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.

20
Providers
$0.734
Cheapest Input/M
$2.306
Cheapest Output/M
StreamLake
Best Price

Provider Pricing

20 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
S
StreamLake
Best Price
$0.734
$2.306
$0.136
-
99.9%
$0.741
$2.328
$0.138
-
99.9%
$0.742
$2.332
$0.138
-
99.4%
$0.750
$2.400
-
-
-
A
Alibaba
$0.966
$3.036
$0.193
-
98.9%
OpenRouter
OpenRouter
$0.966
$3.036
$0.193
-
-
Morph
Morph
$1.100
$4.100
$0.220
-
100.0%
$1.190
$3.740
$0.221
-
99.9%
P
Phala
$1.260
$3.000
$0.220
-
99.9%
A
AtlasCloud
$1.260
$3.960
$0.234
-
99.9%
W
WandB
$1.390
$4.400
$0.260
-
99.8%
$1.400
$4.400
$0.260
-
100.0%
Z
Z.AI
$1.400
$4.400
$0.260
-
99.0%
F
Friendli
$1.400
$4.400
$0.260
-
99.9%
$1.400
$4.400
-
-
-
V
Venice
$1.400
$4.400
$0.260
-
98.2%
C
Crusoe
$1.400
$4.400
$0.260
-
99.9%
$1.400
$4.400
$0.140
-
100.0%
$1.400
$4.400
$0.140
-
97.4%
$2.100
$6.600
$0.210
-
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

Detailed Benchmark Scores

Intelligence
34.8 (86th pct)
Coding
46.5 (67th pct)
Math
-
MMLU Pro
-
GPQA
68.6 (55th pct)
LiveCodeBench
-
AIME
-
Aider
-
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

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.000734 per 1,000 input tokens and $0.002306 per 1,000 output tokens.
GLM 5.2 is available from 20 providers. StreamLake offers the best price.
StreamLake offers GLM 5.2 at $0.734 per million input tokens, the lowest of 20 providers (input prices range from $0.734 to $2.10 per million tokens).
GLM 5.2 scores Intelligence 34.8 (86th percentile), Coding 46.5 (67th percentile), GPQA 68.6 (55th percentile). Only benchmarks with published data for this model are shown.
Yes. Over the past ~90 days, the cheapest input price for GLM 5.2 has dropped 47.6%, from $1.40 to $0.734 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 →