↑ ↓ to move · Enter to open · Esc to close

GLM-5.4: Release, How to Use It, Pricing and Open Weights

GLM-5.4 is Z.ai's first Loop Transformer model, released Nov 23, 2026 with image and video input and 1M context. Where to use it, Coding Plan pricing, weights.

ReleasedBy Jason Yuan·Updated ·4 min read·1 independent test · How we test
Try GLM-5.4 ↗Official announcement ↗
Model IDglm-5.4
Released
Nov 23, 2026
Price
From $18/mo
GLM Coding Plan (Lite); API price not announced
Context window
1M tokens
Open weights
No
Planned after safety hardening
TL;DR
  • Z.ai released GLM-5.4 on November 23, 2026: its first flagship built on a Loop Transformer. It takes the GLM-5 base (about 750B parameters) and runs 28 of its middle layers twice per token, which Z.ai says gives intelligence comparable to 2T to 3T parameter models.
  • New: image and video input (GLM-5.3 was text only) and a 1M-token context. Z.ai pitches it for "Generalized Coding": code that builds games, videos, 3D scenes and CAD models, not only software.
  • Where to use it: all GLM Coding Plan tiers (from $18 a month) in Claude Code, Codex, Cline and other agents, Z.ai's own ZCode, and free in Z.ai Chat. The pay-per-token API is "coming soon"; it is not on OpenRouter yet.
  • More usage for the same plan: GLM-5.4 costs 4.6 input / 16 output credits per 10K tokens against 6.9 / 24 for GLM-5.3, which matches Z.ai's "50% more quota".
  • No benchmarks for GLM-5.4 itself yet. The only numbers in the launch post come from a 30B test model, where looping added 3 to 11 points and cut answer length by up to 15%.
  • Weights are not out: Z.ai says it will open-source them after safety hardening, with no date. Z.ai itself warns about long "marathon thinking", and an early Hacker News user called it token hungry and slow.

What testers found

Based on 1 hands-on test or review we collected (0 positive, 1 negative, 0 mixed). We summarize them in our own words; we did not run these tests ourselves.

AreaAgreementWhat testers report
BenchmarksToo few testsNo GLM-5.4 scores from Z.ai or from independent testers yet. Several commenters on Hacker News pointed out the launch came with no benchmarks, model card or demo.
Speed and token useToo few testsZ.ai claims up to 200 tokens per second off-peak and admits the model can think for too long. The one early user report so far says it is slow and token hungry.

Selected tests

Hacker NewsImplicatedNov 23, 2026Weakness

One of the first users to report back on launch day found it very slow and hungry for tokens. This matches Z.ai's own warning about long "marathon thinking".

“It's sooooo token hungry/slow.”
Speed · Token useRead source ↗

Benchmarks: official vs independent

Do Z.ai's numbers hold up? We match each published score with the same test run by someone else. 0 of 2 official scores have an independent result so far, as of Nov 23, 2026.

BenchmarkZ.ai saysIndependentVerdict
Overall intelligenceZ.ai published no GLM-5.4 benchmark table. Artificial Analysis, LMArena and Vals AI had no listing on launch day; the API is not public yet, so independent tests will lag.Comparable to 2T to 3T parameter models (no score given)Not run yetNot checked yet
SpeedFrom Z.ai's launch post, measured on its own Coding Plan serving.Up to 200 tokens/s off-peak, 70 to 80 tokens/s at peakNot run yetNot checked yet

What is GLM-5.4?

GLM-5.4 is a large language model from Z.ai (Zhipu AI), released on November 23, 2026. It is the successor to GLM-5.3 (August 2026) and the first GLM flagship built on a Loop Transformer.

What Z.ai says it brings:

  • A looped design: it starts from the GLM-5 base model, about 750B parameters, and runs 28 of its middle layers (27 to 54) twice for every token. Z.ai says this lets it reach intelligence comparable to 2T to 3T parameter models without adding parameters.
  • Image and video input: a vision encoder feeds into the model, so you can give it screenshots or video. GLM-5.3 was text only.
  • A 1M-token context window, the same as GLM-5.3.
  • “Generalized Coding”: Z.ai’s demos use code to make a self-narrated music video, a full game, an interactive 3D scene with GLSL shaders, and a six-axis robot arm modeled in FreeCAD.
  • Faster serving: up to 200 tokens per second off-peak and 70 to 80 at peak, according to Z.ai.

The launch was quiet. Zixuan Li of Z.ai first posted it on X as available to all Coding Plan users. The technical blog followed hours later, with no benchmark table for GLM-5.4 itself.

How to use GLM-5.4

There are three ways in today:

  1. Z.ai Chat (chat.z.ai): free, in the browser.
  2. GLM Coding Plan in an agent: Claude Code, Codex, Cline, OpenCode, Kilo Code, Cursor and others. All three tiers include GLM-5.4.
  3. ZCode, Z.ai’s own coding app.

The pay-per-token API is “coming soon”, and GLM-5.4 was not on OpenRouter when we checked. If you need an API key and per-token billing today, GLM-5.3 is still the option.

Claude Code setup

Z.ai’s docs give these settings for existing Coding Plan users. Add them to ~/.claude/settings.json without replacing what is already there:

  • ANTHROPIC_BASE_URL: https://api.z.ai/api/anthropic
  • ANTHROPIC_DEFAULT_OPUS_MODEL, ANTHROPIC_DEFAULT_SONNET_MODEL and ANTHROPIC_DEFAULT_HAIKU_MODEL: glm-5.4[1m]
  • CLAUDE_CODE_AUTO_COMPACT_WINDOW: 1000000

The [1m] suffix turns on the 1M context. If Claude Code says the model does not exist, update Claude Code. Type /status to confirm the model shows glm-5.4. The /effort command switches thinking depth; the default is max, and Z.ai recommends keeping max for coding.

Other agents

For Cline and other OpenAI-compatible tools, use base URL https://api.z.ai/api/coding/paas/v4 and model name glm-5.4, and tick image support. Codex uses https://api.z.ai/api/v1. Plan quota only works inside the tools Z.ai lists as supported.

GLM-5.4 pricing

Plan Monthly Credits per week Credits per 5 hours
Lite 18 10,000 2,000
Pro 80 60,000 12,000
Max 168 140,000 28,000

Prices are in US dollars, from Z.ai’s subscription page; yearly billing is 30% off ($12.60, $56 and $117.60 a month). Credits come from Z.ai’s docs.

Each model burns credits at a different rate. Per 10,000 tokens:

Model Input Cached input Output vs GLM-5.3
GLM-5.4 4.6 1.1 16 About a third less
GLM-5.3 6.9 1.7 24 Baseline
GLM-5.3-Flash 2.3 0.56 8 Two thirds less

GLM-5.4 is about a third cheaper per token than GLM-5.3, so the same plan stretches about 1.5 times further. That is where Z.ai’s “50% more quota” comes from. Off-peak use costs half; peak is 14:00 to 18:00 Singapore time on weekdays.

There is no per-token API price yet.

GLM-5.4 benchmarks

Z.ai has not published benchmark scores for GLM-5.4. The launch post says only that it matches 2T to 3T parameter models, and we found no independent results on launch day.

The one table in the post is an ablation on a 30B test model with the same design, comparing a normal version with a looped one at the same parameter count and about 10% more training compute:

Benchmark Looped 30B Normal 30B Answer length
AIME25 19.17 -2%
GPQA-Diamond 47.58 -11.7%
AA-LCR 40.33 -9.7%
MMLU-Pro 71.65 -14.9%
IFBench 50.20 -13.0%

The gains are biggest on math and long-context reasoning, and the looped model writes shorter answers. These are not GLM-5.4’s scores; they show why Z.ai chose the design.

GLM-5.4 vs GLM-5.3

  • Input: GLM-5.4 reads images and video; GLM-5.3 is text only. GLM-5.3-Flash already had vision.
  • Architecture: same GLM-5 base, but 28 layers now run twice. To keep memory in check, the second pass reuses the first pass’s attention cache and indices and only adds a small sliding window.
  • Cost in the Coding Plan: about a third fewer credits per token.
  • Access: GLM-5.3 has open weights and a public API; GLM-5.4 has neither yet.
  • Quality: Z.ai says coding is stronger but shows no numbers. Test it on your own tasks before switching.

Who should use it?

  • Coding Plan subscribers: switching costs nothing and the quota goes further, so it is worth trying today.
  • Front-end and game work where pasting a screenshot helps, now that the flagship can see.
  • Wait if you need a pay-per-token API, an OpenRouter listing, self-hosting, or published benchmarks for your team.

What we don’t know yet

  • Any benchmark scores for GLM-5.4, from Z.ai or independent testers.
  • API price and launch date.
  • When the weights will be released, and under which license.
  • How serious the “marathon thinking” problem is in real agent sessions. Z.ai says it improves accuracy, while the first user report calls the model slow and token hungry.
  • Details of Z.ai’s next, “significantly larger” model, which it says will be ready soon. Reports from China point to December.

Last checked November 23, 2026.

Release timeline: how it got here

  1. Aug 18, 2026
    Official

    GLM-5.3 released (text only, 1M context); open weights on Hugging Face on Aug 25.

    Source ↗
  2. Nov 21, 2026
    Reliable leak

    Chinese media report Zhipu will ship GLM-5.4 the following week, with a much larger flagship planned for December.

    Source ↗
  3. Nov 23, 2026
    Official

    Z.ai's Zixuan Li announces GLM-5.4 for all GLM Coding Plan users; Z.ai's docs add a model-switching guide.

    Source ↗
  4. Nov 23, 2026
    Official

    Z.ai publishes the technical blog: first Loop Transformer flagship, API coming soon, weights after safety hardening.

    Source ↗

FAQ

Is GLM-5.4 out?

Yes. Z.ai released it on November 23, 2026 to every GLM Coding Plan tier (Lite, Pro and Max), and you can also chat with it in Z.ai Chat. The pay-per-token API is listed as coming soon.

Is GLM-5.4 on Hugging Face? Is it open source?

Not yet. Z.ai says it plans to open-source the weights after finishing safety hardening and gave no date. The newest GLM weights on Hugging Face are still GLM-5.3 and GLM-5.3-Flash from August.

How much does GLM-5.4 cost?

There is no per-token price yet. Through the GLM Coding Plan it costs $18, $80 or $168 a month (30% off yearly), and it uses about a third fewer plan credits per token than GLM-5.3. Chatting in Z.ai Chat is free.

How do I use GLM-5.4 in Claude Code?

With an active Coding Plan, point Claude Code at https://api.z.ai/api/anthropic and set the model environment variables to glm-5.4[1m], plus CLAUDE_CODE_AUTO_COMPACT_WINDOW set to 1000000 for the 1M context. Run /status to check the model shows glm-5.4.

GLM-5.4 vs GLM-5.3: what changed?

GLM-5.4 adds image and video input, a looped architecture (28 layers run twice), faster serving (up to 200 tokens per second off-peak, per Z.ai) and cheaper credits in the Coding Plan. Z.ai says coding is stronger but has not published numbers to show by how much.

Sources

  1. Z.ai blog: GLM-5.4, Toward Generalized Coding with Our First Loop Transformer (Nov 23, 2026)
  2. Z.ai docs: GLM-5.4 now live, model switching guide
  3. Z.ai docs: GLM Coding Plan overview, credits and multipliers
  4. Z.ai docs: GLM Coding Plan FAQ
  5. Z.ai: GLM Coding Plan subscription page
  6. Z.ai docs: release notes (GLM-5.3, GLM-5.3-Flash)
  7. Hugging Face: zai-org models
  8. TechNode: Zhipu rolls out GLM-5.4 with vision and million-token context
  9. Hacker News: GLM-5.4 is now available to all GLM Coding Plan users
  10. AIBase: Zhipu to launch GLM-5.4 next week (Nov 23, 2026)

Update log

  • Nov 23, 2026 Page published on launch day: Z.ai's technical blog, Coding Plan prices and credit multipliers, setup for Claude Code and other agents, first Hacker News reactions.

Keep tracking

All models →