# GLM-5.4

GLM-5.4 is Z.ai's first flagship model with native vision, built on its first Loop Transformer architecture for stronger reasoning and general coding. It reads text and images over a context of about one million tokens, writes up to 128K tokens, always reasons at a selectable effort (low, high or max), and supports tool calling and structured output. Its published context window is 1,000,000 tokens. The advertised input rate is $1.40 per million input tokens. The advertised output rate is $4.40 per million output tokens.

- Model identifier: ` zai/glm-5.4 `
- Creator: Z.AI
- Providers: Z.AI
- Model type: Text generation
- Canonical model page: [GLM-5.4](<https://impossibl.com/zai/glm-5.4>)
- API availability: Listed as serving through Impossibl.
- Creator release date: 2026-12-02

## Providers

Z.AI hosts GLM-5.4. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

| Provider | Endpoint location | Routes | Verified context window | Tool calling |
| --- | --- | --- | --- | --- |
| Z.AI | Not specified | 1 | Not verified | Not verified |

The model price applies whichever provider serves the request. Endpoint locations do not guarantee inference residency.

## Specs and Capabilities

- Context window: 1,000,000 tokens
- Maximum output tokens: Not published in the public catalog; this is separate from the context window.
- Inputs: text, image
- Outputs: text
- Tool calling: Not published
- Zero data retention: Not available
- Trains on your data: Not verified

## API access

Use ` zai/glm-5.4 ` as the model identifier through the Impossibl API.

Published API endpoints:

- ` /v1/chat/completions `

[API quickstart](<https://impossibl.com/docs/agent-quickstart>) · [Models and billing documentation](<https://impossibl.com/docs/models>)

## Published API prices

All rates are in USD. An unpublished rate is unknown, not zero. Workspace-specific pricing, taxes, balance-purchase fees, billing adjustments, and tool charges can affect the amount paid.

| Usage | Published base rate | Billing unit |
| --- | --- | --- |
| Input | $1.40 | per million input tokens |
| Output | $4.40 | per million output tokens |
| Cache read | $0.26 | per million cached input tokens |
| Cache write (default retention) | Not published | per million tokens |
| Cache write (one-hour retention) | Not published | per million tokens |
| Audio input | Not published | per million audio input tokens |

## Availability and retirement

The model is listed as serving. No retirement is announced in the current public catalog.

## Frequently asked questions

### What is GLM-5.4?

GLM-5.4 is Z.ai's first flagship model with native vision, built on its first Loop Transformer architecture for stronger reasoning and general coding. It reads text and images over a context of about one million tokens, writes up to 128K tokens, always reasons at a selectable effort (low, high or max), and supports tool calling and structured output.

Sources: [Z.ai GLM-5.4 model guide](<https://docs.z.ai/guides/llm/glm-5.4>); [OpenRouter model listing](<https://openrouter.ai/z-ai/glm-5.4>)

### How much does GLM-5.4 cost?

GLM-5.4 costs $1.40 per million input tokens and $4.40 per million output tokens through the Impossibl API. Cache reads cost $0.26 per million tokens. All rates are in USD.

### What is the context length of GLM-5.4?

GLM-5.4 has a 1,000,000-token context window through the Impossibl API.

### What inputs and outputs does GLM-5.4 support?

GLM-5.4 accepts text and image as input. GLM-5.4 returns text.

### How do I use GLM-5.4 through an API?

GLM-5.4 is available through the Impossibl API. Use zai/glm-5.4 as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

### When was GLM-5.4 released?

Z.AI released GLM-5.4 on December 2, 2026.

Sources: [Creator release announcement](<https://docs.z.ai/guides/llm/glm-5.4>)

## Sources and related links

Prices, limits, capabilities, endpoints, and availability come from the public Impossibl catalog. Creator documentation supplies descriptions and release dates where available; it does not override the published API offering.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [GLM-5.4: model details and pricing](<https://impossibl.com/zai/glm-5.4>)
- [Model directory](<https://impossibl.com/models>)
- [Z.ai GLM-5.4 model guide](<https://docs.z.ai/guides/llm/glm-5.4>)
- [OpenRouter model listing](<https://openrouter.ai/z-ai/glm-5.4>)
