GLM-5.2
Z.ai's flagship long-horizon reasoning and coding model with a 1M-token context window.
- Input price
- $0.66–$1.54list $1.1040% off
- Output price
- $2.3106–$4.84list $3.85140% off
- Context
- 1M
- Max output
- 128K
- Capability
- 153 (#49 of 82)
- Human preference
- 1470
- 30-day uptime
- —
- Released
- 2026-06-17
- Knowledge cutoff
- 2025-04
InputTextOutputText
Providers
Providers that serve this model. With Auto, each request goes to the best available provider. Prices in USD per 1M tokens; stats cover the last 30 days.
Pricing
Prices vary by provider. Showing Alibaba Cloud (Model Studio Intl), the lowest. Pick a provider above to see its prices.
- Input
- $0.66list $1.1040% off
- per 1M tokens
- Output
- $2.3106list $3.85140% off
- per 1M tokens
- Cache read
- $0.165list $0.27540% off
- per 1M tokens
Estimated cost of common use (500 output tokens each)
- One chat message
- $0.00314
- 3K input tokens
- Agent first turn
- $0.0672
- 100K tokens of context, none cached
- Each later agent turn
- $0.019
- context read from cache, plus 2K new tokens
- 20-turn agent task
- $0.428
- first turn plus 19 more
Try it
Runs on your balance and is billed like any API request.
Similar models
Other models with the same output types at a similar price.
Human preference ratings are from the LMArena Text Arena (CC BY 4.0, as of 2026-11-18): Elo ratings from blind votes, on a different scale from capability scores. lmarena.ai/leaderboard/text