Ratesper 1M tokens
| Input | $1.40 |
| Output | $4.40 |
| Cache Read | $0.26 |
Estimate Your Monthly Cost
A request with input and output tokens, requests / month at a % cache hit rate $166.00/mo
Compare all models at this workload →Excludes cache writes and batch discounts.
Route Comparisonper 1M tokens
| Route | Input | Output | Cache Read |
|---|---|---|---|
| Direct — Z.aiverified 2026-07-07 | $1.40 | $4.40 | $0.26 |
| via OpenRouterverified 2026-07-07 | $0.93 | $3.00 | $0.18 |
OpenRouter adds a 5.5% platform fee on pay-as-you-go credits (verified 2026-07-08).
Same Model, Other Providersper 1M tokens
| Provider | Input / 1M | Output / 1M | Cache Read / 1M | Cache Write / 1M | vs This Page |
|---|---|---|---|---|---|
| Z.aiThis page | $1.40 | $4.40 | $0.26 | — | — |
| Together AI | $1.40 | $4.40 | $0.26 | — | same |
Specifications
| API Model ID | glm-5.2 |
| Context Window | 1M tokens |
| Max Output | 128K tokens |
Modalitiestext
Capabilitiescode · reasoning · tool-use
More Z.ai Text / Chat Models
GLM-5.1 · GLM-5 · GLM-5-Turbo · GLM-4.7 · GLM-4.7-FlashX · GLM-4.7-Flash · GLM-4.6 · GLM-4.5 · GLM-4.5-X · GLM-4.5-Air · GLM-4.5-AirX · GLM-4-32B-0414-128K · GLM-4.5-Flash · GLM-5V-Turbo · GLM-4.6V · GLM-4.6V-FlashX · GLM-4.6V-Flash · GLM-4.5V · GLM-OCR ·