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

$1.4/M

input tokens

$4.4/M

output tokens

$0.26/M

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

workloadcost
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

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.

  1. Mistral Large 4 $2.065/M
  2. GLM-5.3 $2.15/M
  3. GLM-5.4 $2.15/M
  4. Qwen4 Max $2.25/M
  5. 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.

run it
octomind login
octomind run -m octohub:glm-5.4
switch mid-session
/model octohub:glm-5.4
make it the default — config.toml
[model]
name = "octohub:glm-5.4"

07

compare GLM-5.4

all model comparisons →

08

similar models

nearest live models by listed input price.

view all models →

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.