One agent session
1M input tokens and 100K output tokens, no caching.
- Input1M x $1 = $1.00
- Output0.1M x $3.20 = $0.32
$1.32per session
Z.ai - Open weights
GLM-5 is an open-weights model from Z.ai that costs $1 per 1M input tokens and $3.20 per 1M output tokens on the first-party API, with a 200K-token context window.
Last verified from docs.z.ai. All sources
| Item | Price / 1M tokens |
|---|---|
| Input | $1 |
| Output | $3.20 |
| Cache read | $0.20 |
Note: Previous generation, still priced. 744B total / 40B active parameters per the model page. Text-only input. Cached input storage is limited-time free.
glm-5zai/glm-5Z.ai structured output is JSON mode (response_format json_object) without schema enforcement. Not stated means the provider's docs do not say either way. It is not the same as No. Checked against provider docs on . Compare capabilities across models.
Worked 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.32per session
10,000 requests a day at 2K input and 500 output tokens each.
$36.00per day
$1,080.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.60per session
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GLM-5 (this page) | $1 | $3.20 |
| Amazon Nova ProAmazon | $0.80 | $3.20 |
| Qwen3.5-122B-A10BAlibaba Cloud (Qwen) | $0.40 | $3.20 |
| ERNIE 5.0Baidu | $0.84 | $3.38 |
| Gemini 3 Flash PreviewGoogle | $0.50 | $3 |
| GLM-4.5Z.ai | $0.60 | $2.20 |
| GLM-4.6Z.ai | $0.60 | $2.20 |
| GLM-4.7Z.ai | $0.60 | $2.20 |
| GLM-5.1Z.ai | $1.40 | $4.40 |
| GLM-5.2Z.ai | $1.40 | $4.40 |
| GLM-5.3Z.ai | $1.40 | $4.40 |
GLM-5 costs $1 per 1M input tokens and $3.20 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.20.
GLM-5 has a 200,000-token context window and returns up to 128,000 output tokens per response.
Yes. GLM-5's weights are published at https://huggingface.co/zai-org/GLM-5 under the MIT.
Z.ai released GLM-5 on February 12, 2026.
Last verified from docs.z.ai.
Newsletter
One email per week. New model releases, price cuts and what they mean for your bill.