Z.ai: GLM 5.4
GLM 5.4 is a Z.ai model that accepts text, image, and video input and returns text. It offers a context window of 1,048,576 tokens and allows completions of up to 943,718 tokens, so very long documents, large codebases, or lengthy video-derived inputs can fit in a single request with room for extended output. It supports tool calling and reasoning. Structured output support is not specified, so teams that depend on strict schema adherence should test it before committing. At $1.40 per million input tokens and $4.40 per million output tokens, it suits teams that need multimodal input and a million-token context and want predictable per-token costs for long-context workloads. The main caveat is evidence. There is no independent benchmark coverage yet, so its quality relative to alternatives is unproven. Shortlist it for a trial on your own tasks, and rely on your evaluation results rather than on published scores.
- Model ID
- z-ai/glm-5.4
- Vendor
- z-ai
- Released
- December 2026
- Tokenizer
- Other
- Input Modalities
- text, image, video
- Output Modalities
- text
- Max Output
- 943,718 tokens
- Tool Calling
- ✓ supported
- Structured Output
- ✓ supported
- Reasoning Mode
- ✓ supported
- Vision
- ✓ accepts images
- Audio
- no
- Moderated
- no
What it costs in practice
Computed from the current $1.40/M input and $4.40/M output rates. Run your own numbers →
| Job | Tokens | Cost |
|---|---|---|
| Summarize a 50-page report | 30k in / 1.5k out | $0.05 |
| Classify 1,000 customer emails | 500k in / 50k out | $0.92 |
| A month of a busy support chatbot | 5M in / 2M out | $15.80 |
Category rankings
Where Z.ai: GLM 5.4 places across the 1 category it ranks in. How we rank →
| # | Category | Score |
|---|---|---|
| #25 | Video SummarizationVideo · of 25 ranked | 139 |
Similar models
Z.ai: GLM 5.3 FlashX Legal
Z.ai: GLM 5.3 FlashX
Z.ai: GLM 5.3 Flash
Z.ai: GLM 5.3 Flash (batch)
Z.ai: GLM 5.3 Flash (TEE)
Z.ai: GLM 5V Turbo
Quick answers
- How much does Z.ai: GLM 5.4 cost?
- $1.40 per million input tokens and $4.40 per million output tokens.
- What is Z.ai: GLM 5.4's context window?
- 1,048,576 tokens, roughly 1,572 pages of text in a single request.
- Does Z.ai: GLM 5.4 support tool calling?
- It supports tool calling, structured output, a reasoning mode.
- Can Z.ai: GLM 5.4 process images?
- Yes, it accepts image input.