Z.ai, released Feb 11, 2026
GLM 5
GLM 5 is Z.ai's older flagship open-weights model, released on February 11, 2026, before the GLM 5.2 and GLM 5.3 releases came out. It's built for heavy coding, software architecture, and multi-step agents that need to keep track of a lot of moving parts. Right now it sits in a slightly awkward spot in Z.ai's lineup - pricier than almost all of the newer 5.2 and 5.3 models, and only cheaper than GLM 5.3 Prime.
Already paying for ChatGPT or Claude?
GLM 5 costs $3.20 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
GLM 5 pricing and specs
- Input
- $1per 1M tokens
- Output
- $3.20per 1M tokens
- Cached input
- $0.20per 1M tokens
- Context window
- 203K202,752 tokens
- Max output
- 131K131,072 tokens
- Released
- Feb 11, 2026
- Accepts
- Text
- Features
- Tool callingReasoningStructured outputsOpen weights
What GLM 5 is good at
- Multi-step agent loops that call external tools and need structured JSON back. It handles tool calling, JSON output, and reasoning out of the box.
- Big coding tasks where you want long files or large rewrites generated in a single pass, backed by a big context window and a very large output limit.
- Prototyping on an API with the option to self-host later - the weights are open under zai-org/GLM-5.
- Working through tricky architecture decisions where you want the model thinking things through before it answers.
Good to know
- It's text-only. If you need to pass in images or anything besides text, you'll have to pick another model.
- Reasoning is on by default, though you can dial it down when you don't need it on simpler prompts.
- Newer Z.ai releases like GLM 5.2, GLM 5.3, GLM 5.3 Flash, and GLM 5.3 FlashX are all cheaper than GLM 5 now, so unless you specifically want this exact model (maybe to stay in sync with a self-hosted copy), it's worth checking those first.
GLM 5 vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| GLM 5 | $1 | $3.20 | Not available | 203K |
| GLM 5.4 | $1.40 | $4.40 | Not available | 1M |
| GLM 5.3 FlashX Legal | $0.37 | $1.25 | Not available | 1M |
| GLM 5.3 Prime | $1.68 | $5.28 | Not available | 1M |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0 on Gemini | 1M |
| Nova Pro 1.0 | $0.80 | $3.20 | Not available | 300K |
GLM 5 cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $3.60 |
| Production app25M in, 5M out | $41.00 |
| Agents at scale250M in, 50M out | $410 |
FAQ
How much does the GLM 5 API cost?
GLM 5 costs $1 per 1M input tokens and $3.20 per 1M output tokens, and cached input costs $0.20 per 1M.
What is the GLM 5 context window?
GLM 5 takes 202,752 tokens of context, with up to 131,072 output tokens per request.
When was GLM 5 released?
Z.ai released GLM 5 on Feb 11, 2026.
Can I use GLM 5 with my subscription?
Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.
Can I turn down the reasoning on GLM 5?
Yes. Reasoning is enabled by default, but you can turn it down if you're using it for lighter tasks and don't want it doing all that extra thinking.
Can I self-host GLM 5 instead of using the API?
You can. Z.ai published it as an open-weights model under zai-org/GLM-5, so you aren't locked into API access if you want to run it yourself later.
More Z.ai models
Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.
- Free: 1 subscription, no daily cap, no card
- Pro: $12 a month