Z.ai

GLM 5.2

$0.034 per 1M input tokens and $7.00 per 1M output tokens · 1.05M context · tools, reasoning, JSON, open weights.

Prices checked Oct 21, 2026 · tracked by LLM Cost Index since Oct 21, 2026

$0.034
input / 1M tokens
$7.00
output / 1M tokens
$0.033
cached input / 1M
1.05M
context window
944K
max output
33.7
Artificial Analysis intelligence index

What GLM 5.2 costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$600
Document Q&A (RAG)
500 questions a day over retrieved documents
$55.56
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$180
Content generation
30 long articles a day
$15.84
Classification / extraction
100,000 short items a day
$346

Price history

We started tracking GLM 5.2 on Oct 21, 2026; the chart appears as soon as there is a second data point. See all recent price changes.

Where to run GLM 5.2: 34 providers

Wafer is the cheapest at $0.034 input / $7.00 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
Wafer$0.034$7.001.05M99.4% fp4
Cloudflare$0.19$8.00262K100% —
Wafer$0.19$8.001.05M99.2% fp4
Morph$0.228$4.401.05M98.3% fp8
Relace$0.40$4.001.05M— —
DeepInfra$0.45$1.441.05M98.7% flex tier, fp4
DeepInfra$0.563$1.801.05M99.9% fp4
StreamLake$0.613$1.931.02M98.6% fp8
CoreWeave$0.62$2.421.05M99.7% fp4
Novita$0.65$2.041.05M99.5% fp8
Inceptron$0.69$2.521.05M99.3% fp4
DigitalOcean$0.70$2.201.05M99% —
SiliconFlow$0.70$2.201.05M99.6% fp8
AtlasCloud$0.938$2.951.05M98.4% fp8
Alibaba$0.966$3.041M100% fp8
Alibaba$1.12$3.521M100% fp8
Decart$1.20$8.001.05M100% priority tier, fp4
Phala$1.26$3.001.05M0% fp8
Baidu$1.40$4.401.05M99.8% fp8
BaseTen$1.40$4.401.05M99.6% fp8
BaseTen$1.40$4.401.05M99.5% fp8
Friendli$1.40$4.401.05M99% —
GMICloud$1.40$4.401.05M100% fp8
Mistral$1.40$4.401.05M100% nvfp4
Nebius$1.40$4.401.05M94.7% fp4
Parasail$1.40$4.40262K91.2% fp4
Together$1.40$4.401.05M92.7% —
Venice$1.40$4.401M99.9% fp8
Z.AI$1.40$4.401.05M100% fp8
Mistral$1.54$4.841.05M100% —
BaseTen$2.10$6.601.05M100% priority tier, fp8
BaseTen$2.10$6.601.05M99.4% priority tier, fp8
Baidu$2.25$7.881.05M100% priority tier, fp4
Alibaba$2.31$7.261M96.8% priority tier, fp8

Cheaper alternatives to GLM 5.2

Models with the same tool calling, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to GLM 5.2
Model Input / 1M Output / 1M Context Capabilities
MiMo-V2.6-Pro
Xiaomi
$0.435 $0.87 1.05M visionaudiotoolsreasoningJSONopen weights
GLM 5.3
Z.ai
$0.079 $1.40 1.05M toolsreasoningJSONopen weights
Claude Haiku 5.5
Anthropic
$0.10 $0.50 1M visiontoolsreasoningJSON
GLM 5.3 Flash
Z.ai
$0.041 $0.12 1.05M visiontoolsreasoningJSONopen weights
Ling 3.1 Flash
inclusionAI
$0.075 $0.225 262K toolsreasoningJSON

How to pay less for GLM 5.2

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $600 a month at list price without caching:

OptionPer monthYou save
Move to MiMo-V2.6-Pro (similar capabilities)$136$464 (77%)
Route to DeepInfra (flex tier)$283$317 (53%)

Other workloads: cut-your-bill tool for GLM 5.2.

Specifications

Model IDz-ai/glm-5.2
Inputtext
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeYes
Open weightsYes — zai-org/GLM-5.2
ReleasedJun 16, 2026

FAQ

How much does GLM 5.2 cost?
$0.034 per million input tokens and $7.00 per million output tokens; cached input costs $0.033 per million. Prices as of Oct 21, 2026.
What is the context window of GLM 5.2?
1.05M tokens, with up to 944K output tokens per response.
Does GLM 5.2 support images, tools and structured output?
Images as input: no. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
What are cheaper alternatives to GLM 5.2?
Models with the same key capabilities for at least 20% less include MiMo-V2.6-Pro ($0.435 / $0.87), GLM 5.3 ($0.079 / $1.40), Claude Haiku 5.5 ($0.10 / $0.50).

More from Z.ai: all Z.ai models · how we collect prices