AI Startups AI STARTUPS Subscribe
Sign Up for Our AI Startups Newsletter
AI Tools & Reviews | | 27 minute read

GLM-5.4 for Startups: The Founder’s Guide (2026)

GLM-5.4 for Startups: The Founder's Guide (2026)

Here’s the thing about the last few weeks of 2026. The big labs have been slowing down and arguing in public. And then a lab from Beijing quietly ships the most interesting architecture idea of the year, puts it in front of paying subscribers, and — on 2 December — opens it to anyone with an API key at the same price as its predecessor. No drama. Just a model page, a docs update, and a short post saying the API is live.

That model is GLM-5.4, from Z.ai (also known as Zhipu AI). The architecture is the story, more than any score: not a bigger model, but a model that thinks twice — running the same layers a second time — and gets more out of roughly the same size. If that holds up in real work, it changes what a small team can afford. If it doesn’t, that’s what the seven-day test at the end is for.

Real talk first. I have not run GLM-5.4 in a lab, and I’m not going to pretend I did. Every performance claim here is Z.ai’s own, and I’ll say so each time. There is no independent benchmark table for this flagship yet. What I can give you, verified against Z.ai’s docs on 2 December 2026, is the architecture in plain English, the exact price card, the setup steps, the limits Z.ai admits to, and a test you can run yourself this week.

And look — the headline is genuinely good news for founders on a budget. Same price as GLM-5.3. A million tokens of context. Native vision for the first time in a Z.ai flagship. And a subscription plan that, if you live inside a coding tool all day, might be the cheapest way to use a flagship-class coding model right now. The catch? Thinking can’t be switched off, open weights are a promise with no date, and the model has a habit Z.ai itself admits to: thinking in marathons and burning through your quota while it does.

What shipped on 2 December: GLM-5.4, Z.ai's new flagship, pay-as-you-go API opened, 1M context, no independent benchmarks yet
Slide deck: what actually shipped on 2 December — and what didn’t (independent proof).
How the loop works: 28 layers run twice, pass 1 writes conservatively, pass 2 refines, output 10-14 percent shorter
Slide deck: the Loop Transformer in four lines — same layers, second pass, cheaper at long context.
The GLM-5.4 price math: $1.40 input, $0.26 cached, $4.40 output per million tokens, worked examples $36 and $50.80
Slide deck: the price math, worked through — plus the marathon-thinking warning.
The founder decision: switch now if you code in agents all day, wait if you need proof, test for 7 days, keep a fallback warm
Slide deck: the founder decision, and the 7-day test that settles it.

What actually changed on 2 December — and why it matters

Two dates matter. GLM-5.4 launched on 23 November 2026, but only for subscribers to Z.ai’s GLM Coding Plan. Then, on 2 December 2026, Z.ai opened the pay-as-you-go Model API — posting at 04:09 UTC that the API was live “and across partner ecosystems,” with pricing unchanged from GLM-5.3. That’s the day this model became something a startup could build on without joining a subscription first.

Why does the API opening matter more than the launch? A subscription-only model is a tool you rent by the seat. An API model is a building block: put it behind your product, route it through OpenRouter, call it from your own agent loop, measure it against your current model on identical inputs. What didn’t change is just as important: the price (identical to GLM-5.3), the weights (still closed, open weights planned after further safety work, no date), and the evidence base — Z.ai’s own internal comparison and architecture write-up, and nothing independent yet.

The Loop Transformer in plain English

Most model announcements ask you to care about a bigger number. This one asks you to care about a different idea: what if, instead of building a deeper model, you ran the model you already have twice? Think of reading a difficult email. First read: you get the gist, notice the tricky sentence, hold back from replying. Second read: you know where the trap is, so your reply is better. You didn’t grow a second brain — you reused the one you have, with what the first pass taught you. That’s what GLM-5.4 does with its 28 layers. Pass one writes its conclusions conservatively — Z.ai’s word — into working memory. Pass two runs the same layers again and refines. Same parameters. Deeper reasoning. At least, that’s the design.

Doesn’t running everything twice cost twice as much? Z.ai’s architecture has three answers, and they explain why this design might be cheap where it counts — at long context, where coding agents live.

The three changes, one by one

First, Gated Progressive Updates. Each token gets its own gate, per iteration, deciding how much that pass may change things. Pass one writes conservatively; pass two refines, and harder tokens get bigger updates. Easy tokens barely move; hard tokens get the extra work. That’s what stops the second pass from being pure waste.

Second, the Hybrid KV Cache — the one that matters most for cost. The KV cache is the model’s working memory of everything it has read, and at a million tokens it’s enormous. A second pass would normally need its own full copy. GLM-5.4 doesn’t build one: the second loop reuses the first pass’s sparse KV cache and adds only its own sliding window. Z.ai’s framing: the extra loop costs one sliding window, not a full cache. Feed a whole codebase into a million-token window, and that’s the difference between affordable and double.

Third, Sparse Attention Index Reuse. Attention is how the model decides what to look at, and computing which bits of context matter takes work. The second loop skips it by reusing the first loop’s indices — zero indexing overhead. Combined with the shared cache, it’s why Z.ai can claim the loop is cheap enough to run by default. And “by default” matters, because thinking can’t be switched off. The loop isn’t an option. It is the model.

Z.ai says it validated the design progressively — 1 billion, 4 billion, 30 billion, then the full 750-billion-scale flagship. That proves the idea survived contact with reality at four sizes. It doesn’t prove the flagship is good.

What the 30-billion ablation actually tells us

Here’s the most interesting number Z.ai published, and it’s not a benchmark score. On a 30-billion-parameter version, holding parameters equal and spending about 10% more training compute on the loop design, Z.ai reports the biggest gains in maths, science reasoning, and long-context work — while average output length fell 10 to 14% on GPQA-Diamond and MMLU-Pro. The model got better at reasoning while writing shorter answers. Z.ai’s interpretation: reasoning shifted into loop depth instead of longer outputs. Plausible, and appealing for founders, since output tokens are the expensive ones at $4.40 per million. But it’s an ablation at 30 billion parameters on Z.ai’s own evaluations, in exactly the areas a loop design should help. Whether the gains show up in messy, real-world coding is unproven. The demos suggest yes. The demos are Z.ai’s.

Speed: the claim, and how to treat it

Z.ai claims up to 200 tokens per second off-peak, and 70 to 80 per second at peak. Treat both as a best-case snapshot, not a service promise — throughput moves with load and time of day, and there were reports of capacity strain on launch day. Even at peak rates, a 128,000-token output takes the better part of half an hour, so stream your calls and design agent loops to act on partial output. Speed claims are marketing. Streaming behaviour is engineering: measure it yourself.

What it costs, without the fog

Here’s the price card, checked on 2 December 2026 against Z.ai’s own pricing page. GLM-5.4: $1.40 per million input tokens, $0.26 per million cached input tokens, $4.40 per million output tokens. Cached-input storage is free for a limited time. No per-seat fee on the API route. Identical to GLM-5.3, line for line, as Z.ai confirmed: “pricing remains the same as GLM-5.3.”

Is $4.40 cheap? Against flagship output prices of $10 to $40, yes. Against the smaller models on the same page, no. GLM-5.3-Flash costs $0.15 / $0.03 / $0.50; GLM-5.3-FlashX costs $0.37 / $0.075 / $1.25. Don’t pay flagship prices for simple classification or a quick draft — Flash for cheap, FlashX for the middle, 5.4 for the hard stuff. One more line item: Web Search costs $0.01 per use. Trivial per search, easy to forget in a loop that searches fifty times per job. Log tool calls. Always log tool calls.

Two worked examples, all the way through

Pricing posts usually stop at the per-token rate. That’s the wrong place to stop — nobody buys tokens, you buy finished work. Two examples, worked through; check my arithmetic. Example one: 10 million input tokens and 5 million output tokens. Input: 10 × $1.40 = $14. Output: 5 × $4.40 = $22. Total: $36. Cached, the repeat’s input side drops to 10 × $0.26 = $2.60, so the repeat costs $24.60. Example two, a coding-agent month: 30 million input, 2 million output. Input: 30 × $1.40 = $42. Output: 2 × $4.40 = $8.80. Total: $50.80, before caching. Compare Max plan at $168 a month and the shape is clear: bursty, reading-heavy use favours the API; steady, all-day tool use favours the plan.

Well — mostly. The wrinkle: reasoning tokens bill as output, and thinking can’t be switched off, so your “output” bill includes all the thinking before the answer. Budget 50% above your first estimate for month one, measure the real thinking-to-answer ratio, then budget properly. The first invoice is data, not a surprise, if you treat it that way.

Don’t ask “what does this model cost per token?” Ask “what does this model cost per finished task, on my jobs, with my retry rate and my thinking overhead?” The first question has a clean answer and teaches you nothing. The second is messy and it’s the only one that matters.

Coding Plan vs API: the decision guide

GLM-5.4 reaches you through four routes, and picking the wrong one is the easiest way to overpay. Here’s each route, honestly, then the decision rule.

Route 1: the GLM Coding Plan

The plan is a subscription, priced in three tiers on Z.ai’s subscribe page as read on 24 November: Lite at $18 a month, Pro at $80, Max at $168, with 30% off the yearly price. What you get is quota inside coding tools, not raw tokens. The credit multipliers are 4.6 for input, 1.1 for cached input, and 16 for output, per 10,000 tokens — which tells you where the plan’s economics bite: output is the expensive direction, so the plan rewards reading-heavy, writing-light agent work and punishes long rambling outputs. Same shape as the API bill, expressed in credits.

The launch perk: GLM-5.4 quota is 1.5 times GLM-5.3 quota for weekly-quota users — Z.ai paying you, in quota, to try the new model. The plan works in ZCode, Claude Code, Codex, Cursor, OpenCode, and 20+ tools, with model IDs glm-5.4 and glm-5.4[1m] in Claude Code. If you already live in one of those tools, this is the fastest trial there is: switch the model, do your normal work, watch the quota. A hands-on write-up of the Coding Plan route in Claude Code walks through setup. Who’s it for? Solo founders and small teams coding daily inside a supported tool, who’d rather pay a flat fee than watch a meter. Who’s it not for? Teams building a product on the model, or anyone needing it outside the supported tools. A subscription quota is not an API.

Route 2: the pay-as-you-go API

This is the route that opened on 2 December. Base URL https://api.z.ai/api/paas/v4, OpenAI-compatible Chat Completions and Responses formats plus Anthropic Messages compatibility, model code glm-5.4. You pay the price card above, per token, no seat fee. This is the route for products, for agent loops you control, for measurement, and for comparing GLM-5.4 against another model on identical inputs. It’s also where marathon thinking shows up directly on your invoice. If the model will touch your product, pipeline, or customers, you want the API. If you just want to code faster today without thinking about billing, take the plan.

Route 3: OpenRouter

GLM-5.4 is on OpenRouter as z-ai/glm-5.4, served by seven providers: Prime Intellect, Inferact (vLLM), Modal, Friendli, Crusoe, Baseten, and Z.ai itself. Most list the same $1.40 / $4.40 price. Prime Intellect was observed at $0.40 input and $2.464 output on 2 December — an observed third-party routing price, on one day, that moves. What OpenRouter buys you is fallback: if one provider struggles, another serves. For a model with launch-day capacity reports behind it, that’s worth real money, plus one key and one bill across many models — which makes the 7-day comparison test easier to run honestly. Route through OpenRouter for the test, even if you go direct for production.

Route 4: the partner routes (Mistral, Ollama)

Two more routes were reported on 2 December. GLM-5.4 is available day-one on Mistral Cloud — useful if your stack already lives there. Ollama was reported to be working on a dedicated-GPU cloud rollout, for an Ollama-shaped workflow without self-hosting weights that aren’t open. Treat both as reported, not verified by me, and check the live listings before building on either: different rate limits, availability, and support.

The decision rule

Here’s how I’d decide. Code in a supported tool all day and want the cheapest trial? Take Lite at $18, or Pro at $80 if you burn through Lite in a week. Building a product, running agents in a pipeline, or comparing models? Use the API, routed through OpenRouter for the test. Bursty usage favours the API, since the plan charges you in quiet weeks too; steady, heavy usage deserves a both-ways maths check after one month of API bills. Whatever you choose, keep the other route warm for a month. New models wobble, and an untested fallback isn’t one.

How to set it up, step by step

Setup is short; the mistakes are the usual ones. Step one: get an API key from Z.ai’s platform and keep it in an environment variable or secrets manager — never in code, chat logs, or a repo. Step two: choose your route — direct to api.z.ai/api/paas/v4, or through OpenRouter for fallback and a single bill. Step three: send a first call with the docs’ recommended settings and check token counts before anything else. Step four: set a spending cap and an alert at half the cap before building the agent loop. A runaway loop at $4.40 per million output tokens is cheap until it isn’t.

Here’s a first call in Python, following the shape and parameters in Z.ai’s docs. Straight with you: this snippet follows the docs, and I have not run it against the live API myself — verify it against the current docs page. The values are the docs’ own: temperature 1, top_p 0.95, reasoning effort at max, thinking enabled (the only supported value), clear-thinking off.

import os from openai import OpenAI client = OpenAI( base_url="https://api.z.ai/api/paas/v4", api_key=os.environ["ZAI_API_KEY"], ) response = client.chat.completions.create( model="glm-5.4", messages=[ {"role": "system", "content": "You are a coding agent. Use the tools provided. Check your work before answering."}, {"role": "user", "content": "Find where invoice totals are calculated and add a test for the discount edge case."}, ], temperature=1, top_p=0.95, # Parameters as shown in Z.ai's docs for GLM-5.4: # reasoning_effort="max", thinking.type only supports "enabled", # thinking.clear_thinking recommended false. # For streaming, enable stream=True AND tool_stream=True. ) print(response.choices[0].message.content)

Three notes. First, it’s the shape of a call, not a working agent — a real loop needs tools, and GLM-5.4 supports function calling, structured JSON output, context caching, and streaming. Second, temperature 1 and top_p 0.95 are the docs’ recommendations, not defaults to accept blindly for deterministic code edits. Third, for streaming, enable both stream and tool_stream — one without the other won’t give streamed tool calls. Log every call: tokens, thinking tokens if visible, time, and whether the output was usable. The 7-day test needs that data.

On the Coding Plan route: subscribe, connect your tool (Claude Code, Cursor, Codex, ZCode, OpenCode, or one of the 20-plus supported tools), select glm-5.4 or glm-5.4[1m], and do your normal work. The fastest honest trial is one working day, watching quality on real tickets and whether the quota lasts the day. If either answer is no, you learned something for $18 or less.

Effort, thinking, and keeping the bill under control

You don’t have an off switch for thinking: the thinking type only supports “enabled,” and Z.ai recommends leaving clear-thinking off. The model will think, on every call, for as long as it thinks it needs to. What you have is the reasoning-effort setting — the docs recommend max — plus output caps, context discipline, caching, and watching the bill for the first month.

Start at the docs’ recommended settings, measure the thinking-to-answer token ratio, then decide. Simple job burning a fortune thinking? Push it toward lower effort, shorter context, or a cheaper sibling. Hard job — multi-file change, subtle bug? Let it think, and pay gladly. The common failure mode is the opposite: founders cap thinking to save money, get worse answers, and conclude the model is bad. The model wasn’t bad. It was starved.

Z.ai admits the specific failure mode: GLM-5.4 tends to get caught in overly long “marathon thinking” loops. Prolonged reflection improves accuracy but burns quota faster. Bound it: cap output tokens per call, set timeouts, break big jobs into smaller calls with clear “done” definitions. And cache: $0.26 per million cached against $1.40 fresh, storage free for a limited time. Design for it — one stable system context and codebase snapshot, cached across calls, with the changing task on top.

Native vision: what “it can see” actually buys you

GLM-5.4 is the first Z.ai flagship with native vision — the most immediately practical new capability in the launch. It accepts text, image, video, and file input, and returns text. Show it a screenshot of a bug, a UI mockup, an architecture diagram, a whiteboard photo. It looks, reads, and reasons about what it sees. Output is still text — this is not an image model — but the input side just got much wider.

Where does that help? Bug reports arrive as screenshots. An agent with vision can read the screenshot, match the error text to the codebase, and draft a fix — work that otherwise needs a human to transcribe first. Design reviews: send the mockup and get specifics — “the call-to-action sits below the fold on a 390-pixel viewport” — instead of generalities. Architecture diagrams: the model can restate the flow and spot the missing piece, the queue with no dead-letter handling. Test it on your messiest real diagram. Clean diagrams flatter every model. One caution: vision failures are silent. The model can misread small text and describe a chart confidently while getting the numbers wrong, so never let vision output reach a customer or a decision unchecked. And screenshots of your product and customer data are now API inputs — know where they go and what the terms say before the first real one.

Generalised coding: the demos, described honestly

Z.ai positions GLM-5.4 as a generalised coding model. Three launch demos, with attribution attached firmly: these are Z.ai’s demos, not my tests. I haven’t reproduced any of them. Treat them as a trailer, not a review.

Demo one: a code-generated, self-narrated music video — code writes the visuals, the visuals move to the music, the model narrates its own creation. It says “this model can hold a long, multi-part creative brief.” It doesn’t say how many attempts it took or what the run cost. Demo two: a six-axis robotic arm, modelled in CAD in FreeCAD — precise, constraint-heavy, spatial reasoning, where one wrong dimension ruins everything. If your startup touches hardware or 3D, look hardest here, then test hardest on your own geometry. Demo three: an interactive 3D macro bird-watching scene with GLSL shaders — front-end work needing taste as well as code. The point is breadth: one model handling code, CAD-ish geometry, and interactive visuals is a useful hire for a small team — if quality holds up outside the demo. Taken together, Z.ai’s claim is that this isn’t a “write a function” model but a “build the thing” model: long jobs, multiple artefacts, tools, iteration. A coherent story. Coherent stories still need evidence, and the evidence is your 7-day test.

Five founder use cases that actually fit

Five jobs I’d genuinely consider GLM-5.4 for, this month. Each plays to the long-context, vision, and agent-shaped strengths, and each has a human check built in — at a few weeks old, with no independent benchmarks, every output needs one.

1. The codebase onboarding agent

New hire, contractor, or just you, six months later, staring at code you no longer recognise. Point an agent at the repo and ask it to explain a feature end to end: where it starts, what it touches, where the tests live, what’s fragile. With the repo cached, repeat questions get cheap. Check: does the explanation match what the tests actually do? Try this first, on the Coding Plan — $18 and an afternoon.

2. The screenshot-to-fix pipeline

Support tickets arrive as screenshots; now the model can read them. Pipeline: screenshot in, vision read, codebase search, draft fix, human review, ship. Drafts go out only after review, at least at first. This didn’t exist for Z.ai flagships before GLM-5.4, because the previous flagships couldn’t see. If it works on twenty tickets, you’ve bought back real time. If it misreads, you’ll know within a day.

3. The document mountain

Contracts, RFPs, grants, compliance questionnaires. Feed the pile in, ask for extraction into a structured JSON schema: dates, obligations, amounts, renewal terms. You want a table, not an essay. Check extracted rows against sources for the first few runs. The million-token window helps: the whole pile goes in at once, so the model cross-references instead of answering from fragments.

4. The prototype builder

“Build me a working landing page for this idea, from this brief and these screenshots.” The agent builds, you look, you ask for changes, it rebuilds. Vision helps twice: it reads your mockups, and you can screenshot its output and ask what’s wrong. The check is your own eyes. And if you don’t have an in-house team to wire an agent like this into your site, that’s exactly the kind of build a web development studio like AISquadX handles — the integration work is usually bigger than the model call itself.

5. The research sweep with receipts

Competitor pricing, market sizing, a literature sweep before you build. Ask for a structured comparison with sources cited, then ask the agent to check its own claims against those sources, using Web Search where needed. Searches are $0.01 each; thinking tokens are the cost to watch. Build the verification step first — a model with no independent track record needs it more than most.

Infographic: GLM-5.4 loop architecture, specs, price card, access routes, and the honest caveat about benchmarks
Infographic: the loop architecture, the specs, the price card, the access routes, and the honest caveat. Every performance figure is Z.ai’s own claim.

The honest limits

Every launch is a sales document wearing a lab coat. The numbers are real, the selection is not neutral. Here’s the other half of the story.

First, and biggest: no independent benchmarks — the single most important fact in this article. No standard leaderboard scores have been published for the flagship. What exists is Z.ai’s internal evaluation, reported in secondary coverage of Z.ai’s docs: 200 real-world coding scenarios, GLM-5.4 vs GLM-5.3, with 51.1% wins, 25.7% ties, 23.1% losses. Z.ai’s own comparison, on its own scenarios, judged by its own criteria. A reasonable sign of progress — not independent proof. Until an independent evaluation lands, every capability claim is a claim, not a fact.

Second, the weights are closed, with open weights planned after safety hardening and no date attached. Today it’s a rented model: API, OpenRouter, partner clouds, or the Coding Plan. You can’t fine-tune or inspect the weights, and if Z.ai changes the price or retires the model, your options are pay, switch, or rebuild. Don’t build a roadmap on “open weights in Q1.” That’s a hope, not a plan.

Third, thinking is always on, and it runs long — with product consequences, not just cost. A model that thinks in marathons answers slowly, and slow answers kill user-facing features. You need streaming, partial output, and a timeout with a graceful fallback; test latency at peak time, not just at 3 a.m. Keep a fallback warm, given the launch-day capacity reports. Every single-provider dependency is a quiet outage waiting for a busy Tuesday.

Fourth, freshness. GLM-5.4 is weeks old: no production track record, no community catalogue of failure modes. Your first month is partly discovery work — price that in. One last note, in a single sentence: a Reuters report on 26 November said GLM-5.5 could slip to the first quarter of 2027, which is unconfirmed, and you shouldn’t plan around it.

How it compares, honestly

Not on a leaderboard — there isn’t one yet — but on price per finished task, access route, and what you can verify. Keep it qualitative; anything more precise would be inventing numbers.

Against GLM-5.3, the comparison is cleanest: same price, plus vision, plus the loop architecture, plus 1.5 times the quota on the Coding Plan for weekly-quota users. Already on GLM-5.3? GLM-5.4 is the obvious next try. On the cheaper Flash siblings, the question is whether flagship reasoning is worth eight times the output price. Only your test answers that.

Against the other recent launches this site has covered, it’s a different trade, unproven either way. Step 5 is the efficiency play: a mid-pack model winning on cost per finished task. GLM-5.4 is the capability play at a similar price, with no independent score yet. Gemini 4 Neon is the proven mid-tier: independently ranked, fast, $3 / $15. GLM-5.4 is cheaper per token and entirely unproven. Amazon Ergo and Claude Ship earn their keep through ecosystems; a standalone model earns it through price and proof. GLM-5.4 has the price. The proof is still to come: “promising, testing,” not “migrating.”

The 7-day test (do this before you build on it)

Run this before writing a line of production code against GLM-5.4. A week, very little money at these prices, and it answers the only question that matters: on my jobs, is it cheaper per finished task and good enough to ship?

  • Days 1–2: pick three real jobs. One coding task, one document task, one vision task (a screenshot, mockup, or diagram) — from your actual backlog, not a demo. Write down what “done” looks like for each, in one sentence each, in advance.
  • Days 3–5: run each job twice. Once on GLM-5.4, once on your current model. Same inputs, same “done” definition. Log five things every time: input tokens, output tokens, thinking tokens if visible, wall-clock time, and whether the output needed fixing before it was usable.
  • Day 6: stress the failure modes on purpose. A tool that returns an error, a document with a contradiction, a screenshot with small text, a codebase with a broken test. Does it stop and ask? Guess? Loop? That behaviour tells you more than any benchmark.
  • Day 7: decide on the numbers. Compare cost per finished task — including retries, fixes, and thinking overhead. Compare fix rates. Compare time. Then decide: adopt, keep watching, or pass.

Rules that make the test honest: don’t cherry-pick the jobs. Count the fixes — an output needing twenty minutes of repair is not a finished task. Test the cache, and test at peak time as well as off-peak. “Pass” means GLM-5.4 beats your current model on cost per finished task, the fix rate is no worse, and nothing in the failure-mode tests scares you. If it passes, adopt it for one workflow, with a human check and a fallback. If it fails, you’ve spent a week and a few dollars learning something true. That’s a good week.

Who should switch now, and who should wait

Switch now — or start the test this week — if you code in Claude Code, Cursor, Codex, or another supported tool all day, and $18 for Lite is a rounding error. The plan route is the cheapest trial, the 1.5x quota perk is real, and one working day teaches more than a week of launch coverage. Already on GLM-5.3? Same price, more capability, vision included — a free option. Take free options.

Wait — or test slowly, with a fallback — if you need independent proof, if your product can’t tolerate a slow or wobbling model, or if your plan depends on open weights. Run the test, keep your current model warm, let the independent numbers arrive. And get data-handling answers in writing first if you handle regulated or customer data under strict terms. The model will wait. Your compliance obligations won’t.

Frequently asked questions

Is GLM-5.4 open source?

No. Its weights are closed. Z.ai says open weights are planned after safety hardening, but no date has been given, so don’t plan around them. Today you use GLM-5.4 through the Coding Plan, the pay-as-you-go API, OpenRouter, or partner routes like Mistral Cloud. If owning the weights matters, look at an open model instead.

How much does GLM-5.4 cost?

$1.40 per million input tokens, $0.26 cached, $4.40 output — verified on Z.ai’s pricing page on 2 December 2026, identical to GLM-5.3. Cached-input storage is free for a limited time; Web Search costs $0.01 per use. Worked through: 10M input + 5M output = $14 + $22 = $36; a coding-agent month of 30M input + 2M output = $42 + $8.80 = $50.80. Your real cost is per finished task, including thinking tokens and retries. The Coding Plan is separate: $18, $80, or $168 a month, 30% off yearly.

What is the Loop Transformer?

Z.ai’s name for GLM-5.4’s architecture: the same 28 layers of the GLM-5 base model run twice, instead of building a deeper model with more parameters. Pass one writes conservatively, pass two refines, with per-token gates deciding how much each pass changes. Pass two reuses pass one’s sparse cache and attention indices, so the extra loop costs one sliding window rather than a full cache. Z.ai validated it at 1, 4, 30, and 750 billion scale and claims intelligence comparable to 2-to-3-trillion-parameter models — Z.ai’s claim, unproven independently, with no independent benchmark scores for the flagship yet.

Can I turn the thinking off to save money?

No. Thinking is always on — the docs say the thinking type only supports “enabled,” and Z.ai recommends leaving clear-thinking off. Control cost other ways: the reasoning-effort setting, output caps, smaller and cached contexts, cheaper sibling models for easy jobs, and job design that keeps calls small. Z.ai admits the model can fall into long “marathon thinking” loops that burn quota faster, so watch thinking tokens on your first invoices and bound every call with caps and timeouts.

Should my startup switch to GLM-5.4?

Not on launch coverage or Z.ai’s claims alone. Run the 7-day test: three real jobs against your current model, counting cost per finished task and fix rates. Adopt it for one workflow if it wins and the failure-mode tests don’t scare you. If you live in a supported coding tool, the $18 plan is the cheapest trial — start there. Keep a fallback warm either way: weeks old, closed weights, no independent benchmarks. Promising is a reason to test, not a reason to migrate.

The Bottom Line

GLM-5.4 is the most interesting kind of AI launch: a real idea, clearly explained, at an unchanged price. Same $1.40 / $4.40 as GLM-5.3. A million tokens of context. Native vision. A loop architecture that might be the efficiency story of the year — and might matter less on your messy, real-world jobs. Z.ai has given you the architecture, the price card, and its own internal numbers. What it hasn’t given you — what nobody can give you yet — is independent proof. The model is weeks old.

Here’s what I’d actually do this week. If you code in a supported tool, take Lite for $18 and do your normal work for a day, watching quota and quality. Then run the 7-day test on three real jobs, with the numbers logged. If it wins, give it one workflow, with a human check and a fallback, for a month. If it doesn’t win, you’ve lost a week and learned exactly what your current model is worth. Either way, you decided on evidence, not on a launch post. In a month where the biggest labs are slowing down, a quiet, well-engineered idea is worth a week of your time — a tested week, not a hopeful one.

Prices, settings, and availability in this article were checked on 2 December 2026 against Z.ai’s official docs, Z.ai’s pricing page, and the OpenRouter listing. Every performance claim is Z.ai’s own unless stated. Check the live docs before you build — a weeks-old model’s prices, limits, and partner availability can move.

admin

Writing about AI startups, tools and the builders shaping the industry.

←