Model ArchitectureAI Coding

Two Labs Built Looping Into LLM Foundations Within 72 Hours: Should You Use GLM-5.4 Yet?

Over the past two years, pushing large language models further on complex coding and reasoning has relied on two familiar strategies. One is scaling up parameter counts, which makes models too heavy for personal computers and drives up cloud compute bills. The other is having models write out long stretches of reasoning text, spending thousands of extra tokens to improve accuracy while forcing users to wait longer on every prompt.

Within 72 hours between November 20 and November 23, 2026, two labs—one targeting local devices, the other cloud flagships—shipped practical answers along a third path. Thinking Machines Lab, founded by OpenAI’s former CTO, released the open-weights local model Inkling 2 Mini; three days later, Zhipu (Z.ai) released its flagship GLM-5.4. Both built a Loop Transformer architecture directly into the base model, running the same block of layers through multiple iterations to deepen reasoning without adding physical parameters. Zhipu even claimed that its 750B-parameter GLM-5.4 matches the intelligence of traditional 2T to 3T parameter models, while raising weekly quotas on its coding subscription plan by 50%.

These releases genuinely move looped architectures from research papers into production, but if you are thinking about switching your daily coding workflow to GLM-5.4 today, hold off. Zhipu has not yet published public benchmark tables for the 750B model, both open weights and the standard API are still on hold pending safety reviews, and the ultra-low per-token pricing circulating in Chinese developer circles actually comes from third-party resellers. Putting both labs’ designs side by side makes it clear what this architecture actually solves and how developers should respond right now.

How Do Looped Architectures Deepen Reasoning Without Adding Parameters or Long Waits?

A standard LLM works like a one-way assembly line. When text enters, each token passes from the first layer to the last layer once, doing a single round of computation per layer before producing an output. For tasks that require multi-step causal reasoning, such as large-scale code refactoring or vulnerability hunting, a single pass is often not deep enough. Historically, adding depth meant either extending the assembly line with dozens of new layers and parameters, or letting the model spell out intermediate steps as explicit reasoning text and feed that text back into itself.

A Loop Transformer takes a different approach. Instead of adding physical layers, it selects a middle block of layers and runs the hidden state through that exact same set of weights two or three times in a row. Each iteration refines the representation produced by the previous pass before handing it off to the final layers for output. Without adding extra parameters or weight memory, every token goes through substantially deeper computation before it is emitted.

The core idea has academic precedent. Back in 2018, the Universal Transformer paper proposed weight-shared depth. In 2025, models like the University of Maryland’s Huginn and ByteDance’s Ouro demonstrated similar ideas at the multi-billion-parameter scale. The reason looping stayed out of flagship models was training efficiency. As Zhipu acknowledged in its release post, looped models trained from scratch still lag behind standard unshared models under the same pre-training compute budget.

The two late-November releases sidestepped that obstacle from opposite directions. Targeting personal computers, Thinking Machines Lab built the 26B-parameter Inkling 2 Mini with 24 physical layers and looped the middle 12 layers three times, achieving 48 layers of logical depth. The full checkpoint takes about 20GB and fits directly onto a laptop with 32GB of memory. Targeting cloud flagships, Zhipu took 28 middle layers of its 750B GLM-5 base model and looped them twice, aiming to extend coding capabilities into long-chain tasks like video scripting, game development, and 3D modeling.

Both Models Loop Their Layers, So Which Engineering Hurdles Did Each One Clear?

Turning a model into a loop sounds as simple as writing a for-loop, but shipping it in production runs into two hard problems: keeping training costs under control, and preventing extra iterations from blowing up numerical values and memory usage. Because the two labs targeted different deployment environments, they made very different engineering trade-offs.

Starting with training path and internal coordination: because Inkling 2 Mini is small, Thinking Machines Lab could design it as a looped model from scratch and release the weights under the Apache 2.0 license. With weights open, the interpretability team at Goodfire analyzed its internal mechanisms before launch. Goodfire found that Inkling 2 Mini divides its 24 layers into 4 blocks; each loop iteration does not overwrite prior representations, but deliberately reads back block outputs from the previous pass. The final layer of each block writes cues that help downstream blocks locate the right intermediate results. In the second and third iterations, the later looped block almost always attends back to its own output from the previous pass to iteratively refine it.

Zhipu faced a different constraint: with a 750B base model, pre-training from scratch was impractical, so it chose continued-training conversion. The team took the existing GLM-5 base and continued training it with the middle 28 layers running in a two-pass loop. In a controlled 30B experiment with the same architecture, adding only about 10% more total training compute delivered clear gains on math, scientific reasoning, and long-context tasks. Developers noticed immediately: a commenter on Hacker News noted that if existing pretrained models can be converted into looped architectures through continued training rather than from-scratch pre-training, a wave of models will likely follow with similar low-cost conversions.

Once a model runs multiple passes, numerical stability becomes the next hurdle. Feeding the first pass’s output straight back into the same middle layers of an existing base model causes internal activations to grow out of bounds, throwing downstream layers off balance. Zhipu solved this by adding a per-token gate to each iteration, controlling what proportion of each pass’s update gets written back into the residual stream. After training, the two passes naturally split responsibilities: the first pass keeps its gate small to conservatively build global context (writing more aggressively only on harder tokens), while the second pass opens the gate to refine the final output.

With stability handled, the real deployment bottleneck is memory. GLM-5.4 supports a 1M-token context window; storing a full KV cache for every loop iteration would double memory costs and make low-cost serving unviable. Zhipu’s workaround is a hybrid cache: the second loop reuses the global sparse cache selected during the first pass and only keeps a small local sliding-window cache for its newly computed tokens, while directly reusing the sparse attention indices from the first pass. Combined with low-level kernel optimizations, Zhipu reports throughput up to 200 tokens per second off-peak and 70 to 80 tokens per second at peak load.

Comparison of layer execution paths across standard single-pass models, Inkling 2 Mini, and GLM-5.4

Claiming 750B Matches 2T to 3T: What Is Verified and What Remains Unproven in GLM-5.4?

On the engineering side, these architectural choices are genuinely thoughtful. For practical model selection, however, the gaps in GLM-5.4’s launch are just as visible. Separating shipped engineering facts from unproven claims helps avoid costly assumptions.

First is performance. Although Zhipu’s blog claims GLM-5.4 reaches the intelligence level of 2T to 3T parameter models, it published no public benchmark table for the 750B model itself. The only controlled benchmark data in the official post comes from the 30B ablation model. Independent developer Simon Willison paid for access and ran hands-on tests right away using his standard SVG coding test, finding that GLM-5.4 at maximum reasoning effort produced results very close to the previous generation, GLM-5.3. For now, the claim of matching 2T to 3T models remains a vendor assertion.

Second is pricing and access. Several Chinese tech briefs cited GLM-5.4 API pricing as low as $0.06 per million input tokens and $0.22 per million output tokens, but those are not official Zhipu prices. According to the Z.ai official documentation, both the standard Model API and open weights are still unavailable while the team completes safety evaluations and safety hardening. Right now, developers can only access GLM-5.4 through the GLM Coding Plan subscription (starting around $18 per month), ZCode, or Z.ai Chat; the low per-token quotes circulating online come from third-party aggregators like AIHubMix reselling subscription routing. In addition, despite the fast on-paper generation speeds, numerous developers in the main Hacker News thread reported frequent HTTP 429 rate-limit errors on launch day, showing that concurrent capacity is still under strain.

Third is a tension exposed by Zhipu’s own blog post. In the 30B controlled experiment, Zhipu highlighted that looping cut average output length by 10% to 14% on reasoning benchmarks such as GPQA-Diamond and MMLU-Pro, showing that part of the reasoning shifted from explicit chains of thought into implicit loop depth. Yet in the opening section introducing the 750B flagship GLM-5.4, Zhipu explicitly warned that the model tends to get stuck in overly long “marathon thinking” loops on certain tasks. Once implicit looping is combined with long-thinking mode, whether it actually saves wall-clock time on hard problems remains an open question.

Comparison of verified engineering facts versus unproven claims for GLM-5.4

What Should Everyday Developers Do About Looped Architectures Right Now?

With both models’ current status clear, most developers who write code and pick models daily can split their response by use case. If your primary setup relies on cloud coding assistants, there is no reason to rush your workflow onto GLM-5.4 just for the looped architecture. Even with the 50% weekly quota bump on the Coding Plan, launch-day rate limits are noticeable and the 750B model still lacks independent third-party coding benchmarks. A more practical move is to wait a week or two for the standard API, open weights, and independent coding leaderboards to land, and see whether marathon thinking slows down real repositories before migrating.

If you run open-weights models locally, Inkling 2 Mini is worth trying right away. Its weights are already available under Apache 2.0 with day-zero support in llama.cpp and MLX, and it runs on a 32GB laptop. Across 48 public benchmarks reported on the Hugging Face blog, it leads peer models like Gemma 4 31B and Qwen 3.8 27B on 32 tasks, and ties Qwen 3.8 27B on terminal coding benchmarks. Running it side by side against your current 27B local model on a few real tasks will tell you far more about the memory savings of looped architectures than any launch announcement.

Looking six months ahead, the real inflection point for looped architectures is still to come. Zhipu has shown that existing base models can be converted into looped architectures with relatively modest extra compute, so the open-source ecosystem will likely see a wave of converted models soon. Right now, however, both GLM-5.4 and the production release of Inkling 2 Mini are still stuck in fixed-iteration mode: every token runs the exact same number of loops, whether it is a trivial autocomplete or a complex multi-step deduction. Thinking Machines Lab only exposed variable loop counts in a separate research variant, and Zhipu listed dynamic per-token compute allocation as future work. Once models and inference engines can truly run simple tokens once and automatically loop harder problems multiple times, looped architectures will shift from a clever design trick into a standard way to reshape inference costs.