Z AiTool use

GLM 5.2 pricing

GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow... This page tracks 17 listings in total. Highlighted lows are $0.034 per million input and $1.98 per million output (see table for which seller matches each).

1.0M context·17 providers·save up to 98% vs native via Openrouter·verified Oct 22, 2026
Best input$0.034per 1M tokens · Openrouter
Best output$1.98per 1M tokens · Scx Ai

Pricing across providers

Every row is a seller of GLM 5.2 with token pricing we track. The cheapest input in this snapshot is from Openrouter. The bar chart shows the same input and output dollars per million for a quick scan.

AC
Alibaba Cloud
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.280
B
Baseten
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.140
C
Cloudflare
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260
D
DeepInfra
Input / 1M
$0.750
Output / 1M
$2.40
Cached in: $0.140
F
Friendliai
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260
N
Nebius
Input / 1M
$1.40
Output / 1M
$4.40
N
Novita
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260
O
Openrouter
Input / 1M
$0.034
Output / 1M
$7.00
QA
Qwen Ai Platform
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.280
Q
Qwencloud
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.280
S
Scaleway
Input / 1M
$1.80
Output / 1M
$5.50
SA
Scx Ai
Input / 1M
$0.610
Output / 1M
$1.98
Cached in: $0.220
T
Tencent
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260
TA
Together AI
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260
W
Wandb
Input / 1M
$0.760
Output / 1M
$2.42
Cached in: $0.140
MA
Mistral AInative
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.140
ZA
Z Ainative
Input / 1M
$1.40
Output / 1M
$4.40
Cached in: $0.260

Input vs output · per provider

Cost calculator

The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how GLM 5.2 cost scales with traffic.

Provider

In: $1.40/M·Out: $4.40/M·Cache: $0.280/M

0.140000¢ / req

0.220000¢ / req

Daily
$36
Monthly
$1.1K
Annual
$13.1K

Model specifications

Context length, caps, and capability flags for GLM 5.2. Values follow the main provider (Z Ai) record in our index.

Context window
1,048,576 tokens
Max output
131,072 tokens
Vision (images)
No
Tool / function calling
Yes
Streaming
Yes
Released
Jun 2026
Primary provider
Z Ai
Model family
N/A

Compare GLM 5.2

Open a pair page to see GLM 5.2 next to another model with a shared provider matrix. 6 shortcuts below.

Locked

Compare with

Pick a model on both sides.

Popular GLM 5.2 comparisons

Frequently asked questions

Read these after the table if you want plain language around GLM 5.2 rates. The short model note from our index: GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow...

GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens via the native API. Prompt caching reduces input costs to $0.14/M tokens.

Related models

Models close to GLM 5.2 by family, provider, and context window — each with live pricing in our catalog.