GLM 5.4 is a large language model made by Z.ai, added to the catalog on 2 Dec 2026. It has a context window of 1,048,576 tokens and costs $2.10 per 1M input tokens and $6.60 per 1M output tokens. It accepts text, images and video and produces text. Typical uses: analysing long text collections, answering questions about supplied images and summarising video content in text.
Prices and specs updated
What GLM 5.4 is
Z.ai: GLM 5.4 is a multimodal model for tasks involving language and visual inputs. It can receive text, images, and video, while its responses are produced as text. This supports interactions based only on written prompts as well as requests that include image or video material. Prompts can combine text with submitted visual content and ask for a text response. Its listed capabilities cover reasoning and tool use, alongside structured outputs and response-format controls. An application can provide tools for a task or specify constraints on how returned information is organized. The catalog does not identify individual tools or output schemas.
The context window holds up to 1,048,576 tokens, and a response can contain as many as 131,072 tokens. These limits suit tasks involving extensive source material or a long generated response, though results depend on how an application sets up the task. Possible work includes examining a large body of text, answering questions that refer to supplied images or video, and producing written explanations. Reasoning and coding are listed capabilities, making the model relevant to multi-step problem solving, code drafting, and review of supplied code. Structured output support may fit workflows that consume machine-readable responses. The model’s listed output modality is text; image and video are accepted as inputs, not generated outputs.
Key features
- Accepts text, image, and video inputs
- Generates text responses
- Supports reasoning and tools
- Offers structured outputs and response-format controls
- Context length of 1,048,576 tokens; maximum output of 131,072 tokens
Typical uses
- Analysing long text collections
- Answering questions about supplied images
- Summarising video content in text
- Multi-step reasoning tasks
- Drafting and reviewing code
GLM 5.4 pricing
About 7.5 credits a message on Upend. A credit is a tenth of a cent. The list below is the price on Upend in US dollars.
| Item | Standard |
|---|---|
| Input, per 1M tokens | $2.10 |
| Output, per 1M tokens | $6.60 |
| Cached input read, per 1M tokens | $0.39 |
The price last changed on 2 Dec 2026. One price change has been recorded since GLM 5.4 was added.
| Date | Input /1M | Output /1M | Change |
|---|---|---|---|
| $2.10 | $6.60 | Price raised | |
| $0.60 | $3.696 | Added at this price |
| What a task costs | Cost |
|---|---|
| Answer a short question500 in / 300 out | 3 credits |
| Summarise a 50-page PDF25,000 in / 800 out | 58 credits |
| Review a 2,000-line source file30,000 in / 2,000 out | 76 credits |
| Read a 300-page contract set150,000 in / 1,500 out | 325 credits |
GLM 5.4 specifications
| Model id | z-ai/glm-5.4 |
|---|---|
| Version | glm-5.4-20261202 |
| Context window | 1,048,576 tokensAbout 786,432 English words |
| Max output | 943,718 tokens |
| Knowledge cutoff | Not published |
| Added to catalog | 2 Dec 2026 |
| Input types | text, image, video |
|---|---|
| Output types | text |
| Tool calling | Yes |
| Structured outputs | Yes |
| Reasoning effort control | Yes |
| Content moderation | Not applied by provider |
Sample outputs
The same prompts are given to every model, and the unedited output is shown with the date it was produced. Upend does not publish leaderboard scores it did not run.
No output has been recorded for GLM 5.4 yet.
Compare GLM 5.4
Side by side with other models: prices, context window, what each accepts and supports, and the same four tasks priced on both.