Coderefercoderefer
CoursesWebinarsBlogAbout
Coderefercoderefer

Discover. Learn. Automate. Grow.

Learn

  • Courses
  • Webinars
  • Blog
  • Search

Company

  • About
  • Contact
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy
© 2026 Coderefer. All rights reserved.
HomeBlogGLM-5.4 Is Here: Z.ai's First Loop Transformer, Vision, and 50% More Coding Plan Quota (No API Yet)
ai-toolsNovember 26, 20266 min read

GLM-5.4 Is Here: Z.ai's First Loop Transformer, Vision, and 50% More Coding Plan Quota (No API Yet)

GLM-5.4 loops 28 of its 78 layers twice instead of adding parameters. Here's what Z.ai's architecture, vision support, and 50% bigger coding plan quota actually mean, with no API yet.

V

Vamsi Tallapudi

Manager, Architect Technology at Cognizant

GLM-5.4 Is Here: Z.ai's First Loop Transformer, Vision, and 50% More Coding Plan Quota (No API Yet)

GLM-5.4 is the first flagship model Z.ai has built on what it calls a Loop Transformer: instead of training a bigger model, it takes the 78-layer GLM-5 base, runs 28 of those middle layers twice with shared weights, and ships it as a 750B-parameter model that Z.ai claims reasons like something in the 2-3 trillion parameter class. It landed on November 23, 2026, with vision support and a 50% bigger weekly quota for GLM Coding Plan subscribers. There's no public API yet, and Z.ai published no benchmark scores of its own at launch.

That last part matters more than the architecture headline, honestly. Let's get into why.

What Is a Loop Transformer, Actually?

A normal transformer runs every layer once per forward pass. GLM-5.4 splits its 78 layers into three bands: the first 26 run once, the last 24 run once, and the 28 in the middle run twice, reusing the same weights on both passes.

Each pass through those middle layers gets its own per-token gate that blends the new hidden state with the one from the first pass, so the model can decide token-by-token how much the second loop should matter. The second pass also reuses the sparse attention selections from the first one instead of recomputing them from scratch, and the KV cache is split into a globally shared piece and a sliding-window piece unique to each loop. That's the engineering trick that keeps memory from doubling.

Here's the catch that a lot of the launch coverage glossed over: looping saves weight memory, not compute. Every token still pays the FLOP cost of running those 28 layers a second time. You're not getting a free trillion-parameter brain, you're trading inference speed for something closer to it. Z.ai's own numbers back this up: throughput tops out around 200 tokens/sec off-peak and drops to 70-80 tokens/sec under load, which is on the slow side for a coding model.

What's New Besides the Architecture?

Two things, beyond the loop trick:

  • Vision. GLM-5.4 takes image, video, text, and file input (output is still text-only). Feed it a screenshot or a Figma mock and it can write the matching UI code, which is the first time a GLM flagship has done this natively inside the coding plan.
  • "Generalized coding." Z.ai is pitching this past web and app code into video generation, game logic, 3D shaders, and CAD modeling. It's an ambitious pitch for a model that just shipped without a single published benchmark.

Context window sits at 1M tokens, max output is capped at 128K. If you're routing through Claude Code or a similar tool, you'll see it listed as glm-5.4 or glm-5.4[1m].

How Much Does the GLM Coding Plan Cost Now?

The architecture is new, but the pricing isn't. Z.ai kept the existing GLM Coding Plan tiers and just handed subscribers a bigger weekly quota for GLM-5.4:

TierMonthly priceWhat changed
Lite$18/mo50% more weekly quota than GLM-5.3
Pro$80/mo50% more weekly quota than GLM-5.3
Max$168/mo50% more weekly quota than GLM-5.3

Quarterly billing knocks the price down about 20%, yearly about 30%. Z.ai hasn't published the actual new quota numbers, just the 50% figure relative to GLM-5.3, so you won't know exactly how many requests you get until you're burning through them.

Why Is There No API or Open Weights Yet?

Because Z.ai says so, and that's basically the whole answer right now. The official line is that API access "will open after safety evaluation," with no date attached. Open weights are promised too, eventually, but as of launch there's no Hugging Face repo and no model card.

This is a real gap if you were hoping to route GLM-5.4 through a tool like OpenRouter or build it into your own agent stack the way you can with Qwen4 Max or DeepSeek's recent releases. For now, GLM-5.4 only exists inside Z.ai's own subscription products: the GLM Coding Plan, the ZCode tool, and Z.ai Chat. No per-token endpoint means no router can expose it, and no third party can run an independent API-level benchmark yet either.

Does It Actually Perform Well?

Z.ai didn't say. The launch post leaned entirely on the "2-3 trillion-class intelligence" framing without a single comparative score, which is a strange choice for a model this architecturally different. A few people on X called this out within hours of launch.

The first real numbers came from AICodeKing, a YouTuber who runs a private six-project coding benchmark called KingBench 4 (a game emulator, a Docker-replacement tool, a 3D interior designer, and a few other builds, graded by hand). GLM-5.4 placed 7th out of 19 models tested, which made it the top open-weight model on the board. He called it "the most careful model I've used" for catching bugs other models missed.

But look at what it cost to get there:

GLM-5.4Gemini 4 Neon
KingBench 4 run time431 minutes109 minutes
Tokens used~1.04M~70K
Reasoning steps1,128244

That's roughly a 15x token gap for landing in a similar tier. If you're paying per token anywhere outside the flat-rate coding plan, that gap is real money, not just a patience problem. People on Hacker News flagged the same "marathon thinking" tendency, and more than one commenter pointed out GLM-5.4 got a 5.4 version bump instead of a 6.0, which tells you Z.ai itself didn't think the benchmark case was strong enough for a major number.

Is GLM-5.4 Worth Switching To?

If you're already paying for the GLM Coding Plan, yes, flip it on. You get vision and a 50% bigger quota at the same price, and there's no reason to leave that on the table.

If you're evaluating it as a new coding model from outside Z.ai's ecosystem, wait. No API, no open weights, no vendor benchmarks, and the one independent test we have shows it burning 15x the tokens of a comparable model to hit a similar score. The loop transformer idea itself is clever: reusing layers instead of training more of them is a legitimate way to fight the economics of scaling. But "clever architecture" and "ready to replace what you're using" are different claims, and right now Z.ai has only backed the first one.

FAQ

Watch and Read More

GLM-5.4: Loop Transformer architecture and early benchmark results

For more on how the current wave of Chinese coding models stacks up against Western frontier models, see our breakdowns of Gemini 4 Neon, Qwen4 Max pricing against Opus 5.5, and Kimi K3.1 Pro versus Claude Opus.

ai-tools glm-5-4 z-ai coding-agents 2026

Comments

    Get AI tricks that save you hours every week

    New AI tools, automation workflows, and course drops — straight to your inbox. Join 2,400+ builders.

    Read Next

    How to Use fast-anything with Claude Code to Port Only the Slow 5% to Rust
    ai-tools

    How to Use fast-anything with Claude Code to Port Only the Slow 5% to Rust

    fast-anything profiles your Python or Node app, has Claude Code port the slowest function to Rust, and verifies it against 500 real calls before swapping it in.

    November 26, 20267 min read
    How to Run Ternary Bonsai 2.5 27B Locally: A 5.9 GB Agentic Coding Model
    ai-tools

    How to Run Ternary Bonsai 2.5 27B Locally: A 5.9 GB Agentic Coding Model

    Ternary Bonsai 2.5 27B packs a 27B coding model into a 5.9 GB download. Here's how to run it locally, what hardware you need, and where the benchmarks don't hold up.

    November 26, 20267 min read
    Ladybird Alpha Is Out: How to Install It on macOS or Linux
    ai-tools

    Ladybird Alpha Is Out: How to Install It on macOS or Linux

    Ladybird's first public alpha (build 2026.47.7) is live for macOS and Linux. Here's how to install it and test your site in its from-scratch engine.

    November 26, 20267 min read
    View all posts →