Zhipu AI language model
GLM-5.4
GLM-5.4 is Z.ai's flagship and its first model built on a Loop Transformer, which runs 28 layers of the GLM-5 base twice. it reads video, images, text and files across a 1M-token context.
01
price
input tokens
output tokens
cached input
per 1M tokens. octomind bills the listed provider price, with no markup, on every plan, including the free one (pay as you go from credits).
- Z.ai has published no per-token price; the rate shown is a placeholder at GLM-5.3's rates (cache hits $0.26 per 1M) until it does.
02
what real work costs
| workload | cost |
|---|---|
| one chat reply 3,000 tokens in, 500 out | $0.0064 |
| summarise a 100-page report 50,000 tokens in, 1,500 out, one request | $0.08 |
| 1,000 classification calls 500 tokens in, 20 out, per call | $0.79 |
| coding-agent session 2M tokens in across ~60 turns, 60,000 out, no cache | $3.06 |
| same session, cached 85% of input read from the prompt cache, the rest written to it | $1.13 |
at the listed rate. token counts are typical sizes, not measurements.
03
specs
- provider
- Zhipu AI
- context window
- 1M tokens — ≈ 1,500 pages of prose or 100,000 lines of code
- max output
- 128k tokens
- input
- text, images, video
- output
- text
- structured output
- yes — JSON schema
- reasoning mode
- yes
- prompt caching
- yes — cache hits at $0.26/M
- weights
- closed
- released
- November 23, 2026
- status
- live
- model id
glm-5.4
integration notes
- Z.ai serves it only on the GLM Coding Plan; its per-token API opens after a security assessment, so the pay-as-you-go endpoint does not serve it yet.
04
when to pick it
pick it if
- you want Z.ai's newest flagship with image and video input on a 1M window
- you already use GLM-5.3 and want its successor at the same listed rate
- you need JSON structured output from a reasoning model
skip it if
- you need open weights; GLM-5.3 publishes them, GLM-5.4 has none yet
- you need short, predictable latency; Z.ai says it can get caught in long thinking loops
05
where it sits on price
blended price $2.15/M at 3 input tokens per output token: 31 live language models cost less, 16 cost more.
- Mistral Large 4 $2.065/M
- GLM-5.3 $2.15/M
- GLM-5.4 $2.15/M
- Qwen4 Max $2.25/M
- Grok 4.7 $3/M
06
use GLM-5.4 in octomind
one octohub login reaches every model in the catalog. pick this one per run, per session, or as your default.
octomind login
octomind run -m octohub:glm-5.4/model octohub:glm-5.4[model]
name = "octohub:glm-5.4"07
compare GLM-5.4
- GLM-5.4 vs GLM-5.3
- GLM-5.4 vs Muse Spark 1.3
- GLM-5.4 vs DeepSeek V4 Pro
- GLM-5.4 vs Mistral Large 4
- GLM-5.4 vs Qwen4 Max
- GLM-5.4 vs GPT-6.1 Terra
- GLM-5.4 vs Kimi K3.1 Pro
- GLM-5.4 vs Beam
- GLM-5.4 vs MiniMax M3
- GLM-5.4 vs MiMo V2.6 Pro
- GLM-5.4 vs Claude Sonnet 5.5
- GLM-5.4 vs Claude Opus 5.5
- GLM-5.4 vs GPT-6.2 Sol
- GLM-5.4 vs Gemini 4 Argon
- GLM-5.3 Flash vs GLM-5.4
08
similar models
nearest live models by listed input price.
- GLM-5.3 $1.4/M input
- Mistral Large 4 $1.36/M input
- DeepSeek V4 Pro $1.32/M input
- Qwen4 Max $1.5/M input
09
earlier versions
retired models retained for historical reference.
10
GLM-5.4 faq
how much does GLM-5.4 cost?
GLM-5.4 lists at $1.4/M input, $4.4/M output, $0.26/M cached input per 1M tokens. a typical coding-agent session (2M tokens in, 60,000 out) comes to $3.06, or $1.13 when 85% of the input is read from the prompt cache. octomind bills the listed provider price, with no markup, on every plan, including the free one (pay as you go from credits).
what is the context window of GLM-5.4?
1M tokens, ≈ 1,500 pages of prose or 100,000 lines of code. a single reply can run to 128k tokens.
does GLM-5.4 accept images?
yes. it takes text, images and video as input and returns text.
is GLM-5.4 open source?
no. GLM-5.4 is a closed-weights model, available only through Zhipu AI's api and hosted gateways such as octohub.
when was GLM-5.4 released?
November 23, 2026, by Zhipu AI.
is GLM-5.4 free?
no. GLM-5.4 bills per token at $1.4/M input, $4.4/M output, $0.26/M cached input per 1M. octomind's free plan reaches it pay as you go from credits, so you pay only for the tokens you use, at the provider price. credits carry a 3% top-up fee.
how do i use GLM-5.4 in octomind?
run octomind login once, then octomind run -m octohub:glm-5.4. inside a running session, /model octohub:glm-5.4 switches to it without losing context.
use GLM-5.4 in octomind
choose a model when you start, then switch mid-session when the work changes.