PricingPaid
PublishedDec 1, 2026

What it does

Official docs say it reuses 28 layers of the GLM-5 base model across two iterations, at a 750B scale. Z.ai positions it for Generalized Coding: using code to tackle a wider range of tasks, including generating and editing video, building complete games, and 3D or mechanical design. Docs list video, image, text and file as input, text as output, a 1M-token context, and up to 128K output tokens, plus thinking mode, streaming, function calling, context caching and structured output such as JSON. Streaming is stated as up to 200 tokens/s off-peak and 70–80 tokens/s at peak load. GLM-5.4 is available to all GLM Coding Plan users in their usual coding tools; weekly-quota plans get 1.5 times the GLM-5.3 quota. The Model API is pending a security assessment. The official blog notes that the model can get caught in overly long thinking loops, though this longer reflection can improve accuracy.

  • Use Z.ai's flagship coding model in a GLM Coding Plan through your usual coding tools
  • Send video, image, text or file input and get text back with a 1M-token context window
  • Call tools, stream replies, or request structured JSON while the model reasons in a loop

Categories

tool-callingcoding-planloop-transformercoding-modelzhipu1m-context

Frequently asked questions

What is GLM-5.4?
GLM-5.4 is Z.ai's latest flagship model and its first built on a Loop Transformer architecture. Official docs say it reuses 28 layers of the GLM-5 base model across two iterations, and that this is done at a 750B scale. Z.ai positions it for Generalized Coding: using code as a way to tackle a wider range of tasks, including generating and editing video, building games, and 3D or mechanical design.
How can I use it today?
Docs say GLM-5.4 is available to all GLM Coding Plan users through their usual coding tools. For weekly-quota plans, the available quota for GLM-5.4 is 1.5 times that of GLM-5.3. The Model API is described as pending completion of a security assessment.
What are the stated limits?
Official docs list video, image, text and file as input, text as output, a 1M context length, and up to 128K output tokens. They also list thinking mode, streaming, function calling, context caching and structured output such as JSON. Streaming speed is stated as up to 200 tokens/s off-peak and 70–80 tokens/s at peak load.
Are there known limitations?
The official blog notes that the model can get caught in overly long thinking loops, though it also says this longer reflection can improve accuracy.

Explore

More in AI Code Assistant

Open-source workspace to run and manage many coding agents at once using your own subscriptions.

Open sourcegithub
PonytailAI Code Assistant

A ruleset/skill that makes AI coding agents write the least code that works.

Open sourcegithub
HalvAI Code Assistant

Open-source desktop workspace that runs Claude Code, Codex, Kimi and GLM side by side and cuts token spend.

Freemiumopen-source
MnemolithAI Code Assistant

Shared MCP memory for coding agents that marks notes stale when the underlying code changes.

Open sourceopen-source
T3 CodeAI Code Assistant

Open-source control plane for Claude Code, Codex, Cursor and other coding agents you already pay for.

Open sourceopen-source
Compound EngineeringAI Code Assistant

Every's open-source plugin of skills and agents for a plan, work, review and compound engineering loop.

Open sourceopen-source