The Hallway Track
Engineering Insights

GLM-5.4: Toward Generalized Coding with Our First Loop Transformer

Simon Willison · Nov 23, 2026 · Engineering Insights

GLM-5.4 introduces looped transformer architecture, deepening networks without increasing parameter count

“In a Loop Transformer, a group of weight-shared layers runs for multiple iterations, refining the hidden states from the previous pass. This gives us a deeper network without increasing the parameter count.”

Chinese AI lab Z.ai released GLM-5.4, their first model using a looped transformer architecture where weight-shared layers run multiple iterations per forward pass to deepen reasoning without adding parameters. Notably, this is the second looped transformer announcement in a week, with Thinking Machines Lab's Inkling 2 Mini using the same approach, suggesting an emerging architectural trend. The model is not yet open-weight and requires a paid coding plan subscription to access via API.

looped-transformer architecture GLM Z.ai coding-models open-weights

Watch / read the original source →