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.
input · usd / 1m tok
$1.40
output · usd / 1m tok
$4.40
context window
1mtokens
modalities · in → out
takes text and image in, gives text out
pricing
base api ratesusd per 1m tokens
- input
- $1.40
- output
- $4.40
- cache read
- $0.26
providers
Z.AI hosts GLM-5.4. Impossibl routes your request intelligently and handles failover automatically when a provider is down.
- Z.AI
specifications
takes text and image in, gives text outzai/glm-5.4
- creatorZ.AI
- model typeText generation
- context window1,000,000 tokens
- maximum outputnot published
- input
takes text and image in, gives text out
- outputtext
- tool callingnot verified
- zero data retentionnot available
- trains on your datanot verified
- releaseddec 2, 2026
- endpoint
/v1/chat/completions
unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.
try it · your prompt, this model, live
# responses API
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["IMPOSSIBL_API_KEY"],
base_url="https://api.impossibl.com/v1",
)
resp = client.responses.create(
model="zai/glm-5.4",
input="",
)
print(resp.output_text)
edit the prompt, then run
benchmarks
benchmark results are not available for this model yet.
compare GLM-5.4 with other models
frontier labs and open weights, best-ranked firstusd / 1m tok · in / out
- anthropic/claude-fable-5-2$8.00 / $40.00compare →
- openai/gpt-6.2-astra$8.00 / $40.00compare →
- moonshotai/kimi-k3.1-pro$2.00 / $10.00compare →
- meta/muse-wonder$4.00 / $20.00compare →
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.
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.
this page describes GLM-5.4 as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.
view the source catalog ↗model as markdown ↗report a correction →