Z.ai

GLM-5.2

Z.ai's latest flagship GLM model for agentic coding and reasoning, available first-party and across inference gateways.

ActiveAvailable from 28 providers
Tool callingCan invoke external tools and APIs (function calling) mid-response.Structured outputCan return JSON or schema-constrained responses instead of free text.ReasoningUses extended thinking / chain-of-thought for harder multi-step problems.Effort controlLets you dial thinking depth (low / medium / high) to trade cost for quality.Fine-tuningSupports training a custom variant on your own data.

Source: Z.ai GLM API pricing, Z.ai GLM models

Price per 1M tokens via StreamLake (OpenRouter)
$0.546 in / $1.72 out
Context window204,800
Max output131,072
Cache read$0.1014 / M
ModalitiesText → Text
Priced across28 providers

Pricing

Every billing leg from the live catalog, in USD per 1M tokens.

Billing legRate
Input$0.546 / M
Output$1.72 / M
Cache read$0.1014 / M

Cost calculator

Billing-grade math over the rate card above, including the thinking tokens most estimates miss.

Hidden reasoning tokens bill as output. 1.0x = thinking off. Medium-effort reasoning typically lands near 3x; heavy reasoning runs 6x to 8x. Set it to match your workload.

Estimated monthly cost
$212
at current list prices
Fresh input$109
Cached input$0.00
Output incl. thinking$103
Track this automatically →

Compare providers

The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.

PlatformInput / MOutput / MCache read / MBatchAccess
StreamLakeLowest
$0.546$1.72$0.1014via OpenRouter
Novita
$0.63$1.98$0.117via OpenRouter
DeepInfra
$0.93$3$0.18via OpenRouter
Inceptron
$0.86$3.08$0.18via OpenRouter
Baidu
$0.97$3.07$0.181via OpenRouter
GMICloud
$0.98$3.08$0.182via OpenRouter
Morph
$1.1$4.1via OpenRouter
AtlasCloud
$1.26$3.96$0.234via OpenRouter
SiliconFlow
$1.3$4.09$0.26via OpenRouter
Decart
$1.2$4.2$0.2via OpenRouter
DigitalOcean
$1.05$4.4$0.21via OpenRouter
Alibaba
$1.32$4.14$0.26376via OpenRouter
Akashml
$1.3$4.4via OpenRouter
Wandb
$1.39$4.4$0.26via OpenRouter
Together AI
$1.4$4.4$0.26Direct
Cursor
$1.4$4.4$0.26Direct
Fireworks AI
$1.4$4.4$0.14Direct
Ambient
$1.4$4.4$0.26via OpenRouter
Cloudflare
$1.4$4.4$0.26via OpenRouter
Friendli
$1.4$4.4$0.26via OpenRouter
Parasail
$1.4$4.4$0.26via OpenRouter
Phala
$1.4$4.4$0.7via OpenRouter
Together AI
$1.4$4.4$0.26via OpenRouter
Venice
$1.4$4.4$0.26via OpenRouter
Z.ai
$1.4$4.4$0.26via OpenRouter
Io-net
$1.6$4.99$0.7986via OpenRouter
Fireworks AI
$2.1$6.6$0.21via OpenRouter
Wafer
$3$10.25$0.5via OpenRouter

Price history

Has this model gotten cheaper or more expensive?

No changePriced at $0.546 / $1.72 per 1M since July 10, 2026.

More from Z.ai

Other models from the same provider.

Stop estimating. Track it.

SuperPenguin meters every GLM-5.2 call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.

Get started free

Rates are generated from SuperPenguin's live pricing catalog.