glm-5.2
On this page
Z.ai model glm-5.2. Prices are in US dollars per million tokens.
Current price, since 2026-06-22: input $1.40, output $4.40, cached input $0.26, cache write $0.00.
Matches Z.ai's pricing page, checked 2026-10-22 21:28 UTC.
Price a request with this model.
Standard price history#
| From | Input | Cached input | Cache write | Output | Longer prompts | Dated by | Source |
|---|---|---|---|---|---|---|---|
| 2026-06-22 | $1.40 | $0.26 | $0.00 | $4.40 | models.dev commit | link | |
| 2026-06-13, first record | $0.00 | $0.00 | $0.00 | $0.00 | models.dev commit | link |
A blank cache price is charged at the input price. Longer prompts list the prices for requests whose whole prompt exceeds the size given.
import model_prices
model_prices.rates("glm-5.2", provider="zai")