Z.ai, released Dec 2, 2026
GLM 5.4
GLM 5.4 is Z.ai's latest flagship model, and it's the first one at the top of their lineup that takes images and video right alongside text. It sits above the 5.3 Flash and FlashX models on price while coming in a good bit cheaper than GLM 5.3 Prime, which makes it an easy middle ground in their catalog if you want flagship coding and reasoning without paying Prime rates. You're looking at it for coding, reasoning-heavy work, and long-context jobs where you also need tool calling or structured JSON output.
Already paying for ChatGPT or Claude?
GLM 5.4 costs $4.40 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.
Updated
GLM 5.4 pricing and specs
- Input
- $1.40per 1M tokens
- Output
- $4.40per 1M tokens
- Cached input
- $0.26per 1M tokens
- Context window
- 1M1,048,576 tokens
- Max output
- 944K943,718 tokens
- Released
- Dec 2, 2026
- Accepts
- TextImagesVideo
- Features
- Tool callingReasoningStructured outputsOpen weights
What GLM 5.4 is good at
- Coding tasks where you're feeding in a huge amount of context and want a very long reply back without getting cut off halfway.
- Mixed-media work. Since it takes text, images and video directly, you don't have to wire up a separate vision step.
- Tool-calling workflows that also need structured JSON output and step-by-step reasoning, especially if GLM 5.3 Prime is pricier than you want to go.
- Teams that want an open-weights model they can run themselves later (the weights are out as zai-org/GLM-5.4).
Good to know
- Reasoning is always on. You can't turn it off for quick, simple prompts, so if you're doing basic high-volume text work you're probably better off dropping down to GLM 5.3 Flash or GLM 5.3 FlashX.
- Input is cheap compared to output, which is a lot pricier. Because reasoning runs on every call and the output ceiling is huge, your output tokens are what you'll want to keep an eye on.
- It's built on Z.ai's first Loop Transformer architecture rather than the same design as the 5.3 models.
GLM 5.4 vs similar models
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| 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 |
| GLM 5.3 FlashX | $0.37 | $1.25 | Not available | 1M |
| Gemini 3.8 Flash | $0.825 | $4.125 | $0 on Gemini | 1M |
| Qwen3.7 Max | $1.475 | $4.425 | Not available | 1M |
GLM 5.4 cost per month
| Workload | API price |
|---|---|
| Side project2M in, 500K out | $5.00 |
| Production app25M in, 5M out | $57.00 |
| Agents at scale250M in, 50M out | $570 |
FAQ
How much does the GLM 5.4 API cost?
GLM 5.4 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens, and cached input costs $0.26 per 1M.
What is the GLM 5.4 context window?
GLM 5.4 takes 1,048,576 tokens of context, with up to 943,718 output tokens per request.
When was GLM 5.4 released?
Z.ai released GLM 5.4 on Dec 2, 2026.
Can I use GLM 5.4 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.
Is GLM 5.4 open weights?
Yes, Z.ai published the weights as zai-org/GLM-5.4. So if you start on an API and decide to host it yourself later, that's on the table.
What inputs does GLM 5.4 take?
Text, images and video. It's Z.ai's first flagship with built-in vision, so you can pass visual inputs straight into the same call as your text and tools.
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