Skip to main content
AIpricly

Z-ai · released 2026-06-16 · text model

GLM 5.2

Goes to OpenRouter · referral link · See disclosure →

Input price$1.40/1M tokens
Output price$4.40/1M tokens
Context1Mtokens
P50 latency—sfirst tok
Throughputtok/s

Price history

We started tracking this model on 2026-06-17. Chart will appear once we have 30 days of data.

Full pricing details

all prices in USD per 1M tokens · All hidden costs surfaced
Pricing tierInputOutputNotes
Standard
Pay-as-you-go API rate card
$1.40$4.40Default if no headers set
With prompt caching
Cached read · cache write
$0.14−90%$4.40Cache writes priced at standard input ($1.40); cached reads 90% off. Requires cache_control header.
Batch API (50% off)
24h SLA, async
$0.70−50%$2.20−50%Send up to 50K requests in one batch; results within 24h
Image input (vision)
Per image, low/high detail differ
$1.40 + image fee$4.40$0.50 per 1024×1024 image at high detail; low detail ~$0.10
Reasoning tokens
Hidden chain-of-thought tokens
$1.40$4.40 × ~3-8When using reasoning.effort: high, output tokens include hidden reasoning. Real cost can be 3-8× headline output.
Structured output
JSON mode + schema
$1.40$4.40No extra cost; first call may be slower (~2x latency) due to schema compilation

Capabilities

Vision (image understanding)Function callingStructured output (JSON schema)Reasoning modeMultilingual (32+ langs)Batch APIAudio I/OFine-tuning

Monthly cost in common scenarios

Default usage assumptions

Consider these alternatives

More from Z-ai