by Z.ai

GLM-5.4 pricing, limits and verdict

Z.ai's newest flagship, reachable through the GLM Coding Plan while its API and open weights are still to come.

Best for
Long-horizon coding
Not for
Production API use
  • Preview
  • Proprietary

Should you use GLM-5.4?

Z.ai's documentation, read on 2 December 2026, says GLM-5.4 matches 2T to 3T parameter models from a 750B base and quotes up to 200 tokens per second off-peak. It is on the GLM Coding Plan only, with the API and open weights promised, so teams that need either today should use GLM-5.3.

Best for

  • Long-horizon coding It is available to all Coding Plan users now, with a 1.5 times weekly quota against GLM-5.3 on weekly-quota plans.
  • Tasks that mix code with video, images and files Z.ai lists video, image, text and file input in a 1M-token window.

Not for

  • Production API use No Model API is live yet.
  • Self-hosting or fine-tuning The weights are planned but not released.
  • Latency-sensitive answers Z.ai says the model tends to fall into very long thinking loops, and reports 70 to 80 tokens per second at peak load.

Can you use GLM-5.4?

  • GLM Coding Plan: yes (GLM Coding Plan (Personal and Team); weekly-quota plans get 1.5 times the GLM-5.3 quota). Used through coding tools such as Claude Code, Codex, OpenCode and Cursor.
  • Z.ai Model API: no (Listed as coming soon). Made available upon completion of a security assessment.
  • Free plan: no.
  • Open weights: promised.

GLM-5.4 pricing

Pricing model
subscription (GLM Coding Plan); no per-token API price published
Free tier
No

Z.ai had published no per-token price for GLM-5.4 on 2 December 2026. It is part of the GLM Coding Plan, where weekly-quota plans get 1.5 times the quota of the previous model, and Z.ai says the Model API follows a security assessment. Plan prices are on Z.ai's subscribe page and are not stored here.

What GLM-5.4 can do

GLM-5.4 is Z.ai's latest flagship model and the first built on a Loop Transformer, which loops 28 layers of the GLM-5 base model twice. It accepts text, image, video and file input, returns text, and has a 1 million token context window with up to 128K tokens of output.

What goes in and what comes out

Reads

  • text
  • image
  • video
  • tool-calls

Writes

  • text
  • tool-calls

Capabilities

  • Function callingSupported
  • Structured outputSupported
  • Tool useSupported
  • Video inputSupported
  • VisionSupported
Reasoning modes
thinking

Key features

  • Loop Transformer

    A shared block of layers runs twice per token, adding depth without adding parameters.

  • Million-token window

    Up to 128K tokens can come back in one reply.

  • Text, image, video and file input

    Output is text, with thinking mode and function calling.

  • Hybrid KV cache

    The second pass adds only a sliding window of cache, so a loop does not double memory use.

  • Structured output and caching

    JSON output and context caching are both listed in the documentation.

GLM-5.4 benchmarks

Standout result

750B

base model parameters, looped for two passes

Source: Z.ai GLM-5.4 documentation, read 2 December 2026

Strengths and limits

Strengths

  • Included in the GLM Coding Plan at launch, with a larger weekly quota on weekly-quota plans than its predecessor.
  • Z.ai says looping moves part of the reasoning out of output tokens, which shortens answers.
  • Z.ai's documentation lists a 1M-token context window with 128K tokens of output, read on 2 December 2026.
  • Z.ai quotes speeds as high as 200 tokens a second off-peak in its documentation.
  • Takes video and files as well as text and images, per the Z.ai documentation.

Limits

  • No API, no per-token price and no public weights on 2 December 2026, per Z.ai's documentation and blog.
  • No benchmark scores in text and no independent review were found, so every capability claim is Z.ai's own.
  • Z.ai itself notes a tendency toward overly long thinking loops.

GLM-5.4 alternatives

ModelLabContextIn / out per 1MReads and writes
GLM-5.4 This pageZ.ai1M--text, image, video → text
GLM-5.3Pick GLM-5.4 for image and video input and a Loop Transformer; pick GLM-5.3 if you need an API or downloadable weights today.Z.ai1M$1.40 / $4.40text → text
Kimi K3.1 ProPick GLM-5.4 if video input matters and you are on the Coding Plan; pick Kimi K3.1 Pro for open weights you can run now.Moonshot AI1M$2 / $10text, image → text
Amazon ErgoAmazon's open-weights model for coding agents: a 1M-token context window, text only, with weights on Hugging Face since December 2026.Amazon1M$1 / $3text → text

GLM-5.4 specs

Context window
1.0M tokens
Max output
128K tokens
Mixture of experts
No
Parameters
750B base model
Architecture
Loop Transformer: 28 layers of the GLM-5 base looped for two iterations, with sparse attention

Known quirks

Show 3 known quirks
  • Marathon thinking loops

    Z.ai states that the model tends to get caught in overly long reflection loops, which it says still improve accuracy.

    Workaround: Stream output and set a maximum output length so a runaway chain can be cut off.

  • Speed falls at peak load

    Peak-hour output slows to 70 to 80 tokens a second in Z.ai's own figures.

    Workaround: Schedule long batch jobs for off-peak hours.

  • No API yet

    Access today is through the Coding Plan; the Model API has not launched.

    Workaround: Use the Coding Plan through supported coding tools, or call GLM-5.3 by API in the meantime.

GLM-5.4 facts

Released
23 Nov 2026
Current version
glm-5.4
Family
GLM-5
Variant
Multimodal
Licence
Proprietary (GLM Coding Plan terms); open weights planned

Version history

  • glm-5.4 · 23 Nov 2026

    First Loop Transformer flagship; Coding Plan only at launch.

  • glm-5.3 · 14 Aug 2026

    Predecessor, with API and open weights.

What changed

  • Release GLM-5.4 launches on the GLM Coding Plan source

Questions about GLM-5.4

What does GLM-5.4 cost, and is there an API price?

Z.ai had published no per-token API price for GLM-5.4 on 2 December 2026, and its blog lists the API as coming soon. For now you reach the model through the GLM Coding Plan, with 1.5 times the weekly quota of GLM-5.3 on weekly-quota plans. Check Z.ai's subscribe page for the plan prices.

Does GLM-5.4 have open weights?

Not yet. Z.ai's blog promises to release the weights after safety hardening, with no date given, and no public Hugging Face repository was found on 2 December 2026. GLM-5.3, by comparison, has open weights on Hokai.

What is a Loop Transformer, and why does GLM-5.4 use one?

A Loop Transformer runs a group of weight-shared layers for several passes, so the network gets deeper without more parameters. GLM-5.4 loops 28 layers of its 750B GLM-5 base twice, and Z.ai says this moves part of the reasoning from output tokens into the loop, cutting average output length 10 to 14% in its 30B ablation on benchmarks such as GPQA-Diamond and MMLU-Pro.

Does GLM-5.4 have published benchmark scores?

Not in text that Hokai could read. Z.ai's documentation and blog describe capabilities and a 30B ablation but give no score table for GLM-5.4, and BenchLM listed it as not publicly ranked on 2 December 2026. Treat every capability claim as vendor-reported until an independent board lists it.

How fast is GLM-5.4?

Z.ai quotes as much as 200 tokens a second when load is light and 70 to 80 when it is heavy. It says a multi-pass model needed fused kernels and close co-design with its serving stack to get there. No independent speed measurement was found.

About GLM-5.4

GLM-5.4 is the latest flagship model from Z.ai, and its documentation calls it the first model built on a Loop Transformer. It reuses 28 layers of the GLM-5 base model across two passes, which makes the network deeper without adding parameters. Per the vendor's own pages on 2 December 2026, the result reaches intelligence levels comparable to 2T-3T parameter models, a claim with no test shown; and BenchLM, read on 2 December 2026, lists the model as not publicly ranked with no price.

Read the full background

Z.ai describes three changes that make the loop practical at that size. Gated progressive updates give each pass its own per-token gates so activations stay in range, a hybrid KV cache lets the second pass reuse the sparse entries chosen in the first pass and add only a sliding window of its own, and the second pass reuses the sparse attention indices from the first. Z.ai says an extra loop therefore costs one sliding window of cache rather than a full copy, which keeps long-context serving costs close to those of the previous model.

The documentation lists text, image, video and file input, text output, a 1M-token context window and 128K tokens of output. It supports thinking mode, streaming, function calling, context caching and structured output such as JSON. Z.ai reports up to 200 tokens per second off-peak and 70 to 80 at peak load, and says part of the reasoning moves from output tokens into the loop, with output length down 10 to 14% on its 30B test model. Z.ai frames the release as the start of Generalized Coding: demos include code that generates and edits video, builds games and models a six-axis robotic arm in FreeCAD, none of which Hokai could verify independently.

Availability is narrow. GLM-5.4 is open to all GLM Coding Plan users, and on weekly-quota plans the quota for it is 1.5 times that for GLM-5.3. The Model API is listed as coming after a security assessment, and Z.ai says it plans to open-source the weights after safety hardening, with no date. No public Hugging Face repository for it was found on 2 December 2026, so unlike GLM-5.3 it cannot yet be self-hosted.

Who should look elsewhere: teams that need an API price, published benchmark scores or downloadable weights today should use GLM-5.3, or an open-weights alternative such as Amazon Ergo or Kimi K3.1 Pro. Z.ai itself says GLM-5.4 tends to fall into overly long thinking loops, which help accuracy but slow answers. Z.ai is also one of six China-based companies named in US advisory AA26-251A of 8 September 2026, an allegation by US agencies about distillation of US models, which may matter to buyers who must show a clean supply chain for model providers.

Not published by Z.ai on 2 December 2026: an API price, benchmark scores, a training cutoff and a data-retention policy. Hokai found no independent review, so the claims above come from Z.ai's documentation and launch post and should be read as vendor-reported.

Our call: use GLM-5.4 only if you are already on the GLM Coding Plan and want to try its video input and long-context coding. Everyone else should use GLM-5.3, Amazon Ergo or Kimi K3.1 Pro today and revisit GLM-5.4 once the API, price and weights are published.

Sources and guides

More AI Models on Hokai

  • InfiX-V1InfiX-V1 is a 209B mixture-of-experts model with 14B active parameters and a 256K context window, released 1 December 2026 with an MIT base checkpoint.
  • Step 5StepFun's Step 5 reads text, images and video in a 1M-token window, is rated 40 by Artificial Analysis, and has been API only since 30 November 2026.
  • Kimi K2.8 PreviewMoonshot AI's Kimi Code model at the kimi-for-coding route since September 2026, with a 1M-token context window, image and video input and no published benchmark; Kimi K3.1 Pro is now Moonshot's top model.
  • Claude Sonnet 5.5Anthropic's fastest Sonnet-class model, launched in September 2026, with a 1M context and output more than 30% faster than Sonnet 5.
  • ERNIE-5.5-Flash-PreviewBaidu's text-only mixture-of-experts model with open weights, a 1M-token context and a free OpenRouter route; still a preview checkpoint.
  • Gemini Decision 1Google DeepMind's decision model scores many questions over one multimodal input and bills zero output tokens.