One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $1.40 = $1.40
- Output0.1M x $4.40 = $0.44
$1.84per session
Z.ai - Open weights
GLM-5.2 is an open-weights model from Z.ai that costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on the first-party API, with a 1M-token context window.
Last verified from docs.z.ai. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $1.40 |
| Output | $4.40 |
| Cache read | $0.26 |
Note: Same price as GLM-5.3, and GLM-5.3 uses the same base model. Text-only input. Cached input storage is limited-time free, so no cache write price is billed.
glm-5.2zai/glm-5.2Worked from the standard list rates above, with the math shown so you can swap in your own token counts.
1M input tokens and 100K output tokens, no caching.
$1.84per session
10,000 requests a day at 2K input and 500 output tokens each.
$50.00per day
$1,500.00 per 30-day month
90% of the input is read from the prompt cache. The one-time cache write premium is not included.
$0.814per session
Side-by-side pages with both models' prices, specs, cost examples and like-for-like benchmark rows.
GLM-5.2 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens on Z.ai's first-party API, per docs.z.ai on October 17, 2026. Per 1M tokens, cache reads cost $0.26.
GLM-5.2 has a 1,000,000-token context window and returns up to 128,000 output tokens per response.
Yes. GLM-5.2's weights are published at https://huggingface.co/zai-org/GLM-5.2 under the MIT.
Z.ai released GLM-5.2 on June 16, 2026.
Last verified from docs.z.ai.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.