GLM-5.4: a loop Transformer without open weights, and the open family measured in bytes
On 23 November 2026 z.ai (Zhipu) introduced GLM-5.4, the company's first flagship model built on a loop Transformer architecture. Two days later, measured on 25 November, the situation is plain: the model has been available in the subscription coding plan since launch, the regular model API is promised for the time after a security assessment, and the open weights are announced for the time after safety hardening, without a date. These are two separate vendor statements: the security assessment before the API launch is on the model page, the safety hardening before the weights are released is in the release post. Anyone planning with their own GPUs has nothing to work with yet. We measured in file bytes what is already open and what of it fits on four consumer cards.
GLM-5.4 is the flagship language model from z.ai (Zhipu), introduced on 23 November 2026, and the vendor's first with a loop Transformer: 28 layers of the GLM-5 base model run twice per token with the same weights. The model takes text, images, video and files with a context of one million tokens. As of 25 November 2026 it is available only in the vendor's coding subscription; open weights and the model API are announced.
What the loop changes in the model
In a standard Transformer every layer runs once per token. GLM-5.4 sends 28 layers of the GLM-5 base model through the same weights twice in a row, and the second pass refines the hidden states of the first. That turns 28 layers of weights into 56 layer visits. z.ai did this by continuing the training of its pre-trained base model of roughly 750 billion parameters and describes three modifications. Gates control, per token and per pass, how much is written back into the state: according to z.ai the first pass builds the global context and writes with small gate values, while the second refines the result and writes full updates. For the KV cache, the second pass reuses the sparse KV entries selected in the first and keeps a sliding window of its own for the entries it newly generates. It also takes the sparse attention index from the first pass.
z.ai backs the effect with a comparison on a 30-billion test model of the same architecture, at an identical parameter count and with about 10 percent more training compute. These are vendor figures of 23 November 2026, taken after 200K long-context fine-tuning with thinking mode enabled. We have not re-measured them, and they come from the test model, which is a different model from GLM-5.4:
| Benchmark | Without loop (score) | With loop (score) | Output length |
|---|---|---|---|
| AIME25 | 19.17 | 30.42 | -2% |
| GPQA-Diamond | 47.58 | 56.26 | -11.7% |
| AA-LCR | 40.33 | 47.67 | -9.7% |
| MMLU-Pro | 71.65 | 75.05 | -14.9% |
| IFBench | 50.20 | 53.47 | -13.0% |
In the text z.ai puts this at 10 to 14 percent shorter outputs across most benchmarks, mostly from shorter chains of thought: part of the reasoning shifts from visible output tokens into the depth of the loop. If that carries over to the large model, the cost per task falls wherever output tokens are billed. For GLM-5.4 itself the release post shows only a win rate from pairwise comparisons, and the text does not say on which tasks: against GLM-5.3 it won 51.1 percent, tied 25.7 and lost 23.1; against Kimi K3.1 Pro the split is 41.8, 26.9 and 31.3, and against DeepSeek-V4.1-Flash-1017 it is 36.6, 30.2 and 33.2.
The specifications on the vendor's model page (as of 25 November): one million tokens of context, up to 128K output tokens, image, video and file input alongside text, and text output. For throughput z.ai states up to 200 tokens per second off-peak and 70 to 80 at peak load. Both apply to the service the vendor runs on its own hardware and say nothing about speed on your own cards.
Two vendor statements deserve some distance. The first is the claim that the model reaches intelligence levels comparable to models with 2 to 3 trillion parameters. The release contains no measurement against a named model of that size, so the figure is a vendor statement. The second is an admitted weakness: according to z.ai the model sometimes gets caught in overly long thinking loops, which the vendor calls marathon thinking, adding that the prolonged reflection and self-correction lifts accuracy beyond the model's parameter count. Anyone building agent chains on this model should cap thinking budgets hard from the start.
The state of the weights: nothing to measure
The release text says the weights will be open-sourced responsibly after the necessary safety hardening is complete. There is no date. We measured this on Hugging Face on 25 November: the model search for GLM-5.4 returns zero hits, so there are no community ports or GGUF conversions either. The obvious repository names under the vendor's account answer with the same HTTP code 401 as a made-up name. So not a single byte of the weights is on Hugging Face. We did not check other platforms.
The model cannot be rented outside the subscription yet either. The OpenRouter catalog (also measured on 25 November, 472 entries) has no GLM-5.4 listing; the predecessors are there.
The open family in measured bytes
The predecessors GLM-5, 5.1, 5.2 and 5.3 are available with open weights in z.ai's Hugging Face account. GLM-5 through 5.2 and the Flash carry the MIT license in their model cards. GLM-5.3 has a custom license named glm-5.3, whose file we read on 25 November: it grants use, modification, distribution and sale as the MIT license does and adds one condition. Anyone who offers models as a service to third parties and, together with affiliates, has revenue above 10 billion US dollars in twelve consecutive months must pass a security review by z.ai before any commercial use. The table shows the sum of all file bytes per repository in GB (10^9 bytes), our own measurement through the Hugging Face API on 25 November 2026. What was measured are the repositories; nothing was run on hardware:
| Repository (zai-org) | Files total, GB | Parameters, computed |
|---|---|---|
| GLM-5 (BF16) | 1,508 | ~754 billion |
| GLM-5.1 (BF16) | 1,508 | ~754 billion |
| GLM-5.2 (BF16) | 1,507 | ~753 billion |
| GLM-5.2-FP8 | 756 | same as BF16 |
| GLM-5.3-BF16 | 1,507 | ~753 billion |
| GLM-5.3 (FP8) | 756 | same as BF16 |
| GLM-5.3-Flash-BF16 | 643 | ~321 billion |
| GLM-5.3-Flash (FP8) | 328 | same as BF16 |
The arithmetic behind it: BF16 takes two bytes per weight, so half the byte count gives the parameter count. The result matches the 750 billion that z.ai states for the base model. GLM-5.4 builds on that base model and gains no parameters from the loop, so a later release should land in the same size class. FP8 halves the bytes on disk. At 756 GB even the smallest official build of the flagship remains a job for a rack full of accelerators.
GLM-5.3-Flash: the small open variant
The much smaller open variant is GLM-5.3-Flash under the MIT license (license file read on 25 November). The config file in the Flash BF16 repository shows a hybrid design: 45 layers, 34 of them with KDA linear attention and 11 with sparse attention, a KV rank of 512, 288 routed experts of which eight plus one shared expert are active per token, and one extra layer for predicting further tokens. The position limit is 1,048,576 tokens. The 643 GB of files correspond to roughly 321 billion weights.
Even the 328 GB of the FP8 build are more than twice our card memory. For hardware of our size it therefore starts with community quantizations. We measured unsloth's GGUF ladder in bytes on 25 November, named in the table and the chart without the UD- prefix that most files carry there: from Q8_0 at 341 GB through Q6_K_XL (292), Q5_K_XL (240), Q4_K_XL (200), IQ4_XS (157), Q3_K_XL (148), IQ3_XXS (120), Q2_K_XL (109), IQ2_XXS (102) and IQ1_M (98) down to IQ1_S at 93 GB. The vision projection files (1.1 to 1.2 GB), which let the Flash read images, are not included in the rungs:
For comparison, three ready-made four-bit formats, measured with the same method on 25 November: NVIDIA's FP4-Local build weighs 178 GB, the NVFP4 build by RadixArk 203 GB, and the MLX four-bit build by mlx-community for Apple machines 204 GB.
Does any of it fit our cards?
Our production lane consists of four RTX 5090 cards with 127.4 GiB of combined card memory, which is 136.8 GB in the unit of the table. Against that, no open flagship-class GLM from 5 to 5.3 stands a chance; even the FP8 build at 756 GB is more than five times the size of the pool. For the Flash, Q3_K_XL at 148 GB exceeds the pool by 11 GB. The first rung whose files fit is IQ3_XXS at an unrounded 120.4 GB, which leaves 16.4 GB across all four cards for KV cache, activations and buffers. Q2_K_XL (108.7 GB) leaves 28.1 GB, IQ2_XXS (101.8 GB) 35.0 GB, and the two IQ1 rungs 39.2 and 43.7 GB. This is pure size arithmetic on file bytes. We have not measured how much context the remainder carries, or how much quality the rungs below three bits lose.
We have not measured speed either. The usual rule of thumb, memory bandwidth divided by weight size, gives about 14.9 tokens per second for a computed 1.79 TB/s per card and the 120.4 GB of the IQ3_XXS rung. It applies to dense models, which read all weights for every token. The Flash activates eight of 288 experts plus one shared expert per token, so the figure is no usable estimate for it. We will state a speed only after measuring it ourselves. Our second lane, two Radeon AI PRO R9700 cards at 32 GB each, has 64 GB combined and is out of range for every rung. How we check such size and speed questions on our own hardware is collected in the topic hub Local AI and GPU hardware.
What you can book today
While GLM-5.4 is available only in the coding subscription, the predecessors are what you can rent through an API. OpenRouter catalog prices, measured on 25 November 2026, per million tokens for input and output: GLM-5.3 at $0.07 and $1.40 (0.0699 in the catalog, so its input price there really is below the Flash), GLM-5.3-Flash at $0.12 and $0.38, the FlashX tier at $0.37 and $1.25, and the Flash batch channel at $0.023 and $0.068. We drew the comparison with running the models yourself in the radar on GLM-5.2 and in the recalculation of Revolut's self-hosted GLM. If you face the same decision between a rented API and your own server, our offer for it is AI on your own hardware.
We already know the loop principle from the fit test of Inkling 2 Mini on one RTX 5090, there with a triple loop core in 24 layers and 26.4 billion parameters. In our classification GLM-5.4 is the counterpart at the other end of the size scale. Whether the loop delivers there what the vendor states can be checked only once weights or an API exist. If open weights appear at Flash size, we will count the file bytes and read the license file first, and then measure quality on our own tasks. Until then GLM-5.4 remains a note for us with two open items: the API launch and the date of the weights.
Further reading
- z.ai: GLM-5.4 release post, 23 Nov 2026, retrieved 25 Nov 2026
- z.ai documentation: GLM-5.4 model page, retrieved 25 Nov 2026
- Hugging Face: model search for GLM-5.4, our measurement 25 Nov 2026
- Hugging Face: account zai-org, repositories GLM-5 to GLM-5.3, file bytes measured 25 Nov 2026
- Hugging Face: zai-org/GLM-5.3 (license file glm-5.3), read 25 Nov 2026
- Hugging Face: zai-org/GLM-5.3-Flash-BF16 (config, license), retrieved 25 Nov 2026
- Hugging Face: unsloth/GLM-5.3-Flash-GGUF (GGUF ladder), file bytes measured 25 Nov 2026
- Hugging Face: nvidia/GLM-5.3-Flash-FP4-Local, file bytes measured 25 Nov 2026
- Hugging Face: RadixArk/GLM-5.3-Flash-NVFP4, file bytes measured 25 Nov 2026
- Hugging Face: mlx-community/GLM-5.3-Flash-4bit, file bytes measured 25 Nov 2026
- OpenRouter: model catalog with the GLM-5.x prices, measured 25 Nov 2026
Method of our own measurements: one Hugging Face API query per repository including file sizes, summed over all files, and for the GGUF ladder per rung over all split files, on 25 November 2026. Nothing was downloaded and nothing was run on hardware. The card memory of 127.4 GiB is the value the driver reports on a server with four RTX 5090 cards (four times 32,607 MiB).
Can you already run GLM-5.4 locally?+
No. As measured on 25 November 2026, Hugging Face lists no model named GLM-5.4, from z.ai or from the community; the search returns zero hits. The weights are announced for the time after a safety hardening pass, with no date. What runs locally today is the open line of predecessors, GLM-5 through GLM-5.3 including the Flash.
What does a loop Transformer actually do?+
According to the vendor, 28 layers of the GLM-5 base model run twice per token with the same weights. The model computes more deeply while the parameter count stays the same. Part of the thinking moves from visible output tokens into the extra loop depth; for a 30-billion test model z.ai states 10 to 14 percent shorter outputs across most benchmarks. In the vendor table we read 2 to 14.9 percent per benchmark.
Which open variant comes closest to our hardware?+
GLM-5.3-Flash. Its BF16 files measure 643 GB, which works out to roughly 321 billion parameters. Our four cards have 127.4 GiB combined, which is 136.8 GB. By file size, the community quantization IQ3_XXS at 120.4 GB fits, and so does every rung below it, leaving 16.4 to 43.7 GB for the KV cache. We have not measured the quality or the speed of these rungs.
senn-tech