47 model prices

    AI Models

    Z.ai releases GLM 5.4, its first looped transformer model

    According to Z.ai, the model reruns a group of weight-shared layers, and its weights are not yet open.

    Announcement art card reading GLM-5.4 Loop beside a white looping curve on a dark graph-paper style background, with a small Z logo in the corner
    Image: z.ai

    Chinese AI lab Z.ai has released GLM 5.4, its first model built on a looped transformer architecture. The weights are not yet open. Developer Simon Willison tested the model through the Z.ai API and wrote up his findings.

    According to Z.ai, a standard Transformer runs every layer once per forward pass. A Loop Transformer instead reruns a set of layers that share weights, and each pass refines the hidden states left by the one before. The company says this yields a deeper network with the same parameter count.

    According to the lab, the model can answer correctly using fewer tokens, particularly in agentic coding.

    Z.ai says it plans to release the weights as open source once safety hardening is complete. Willison could not reach GLM 5.4 through the regular API, so he subscribed to the Coding Plan. He wrote an llm-glm plugin because Tommy Hughes's llm-zai does not support the model yet.

    Willison also generated pelican images across GLM generations. He says GLM-5.3 and 5.4 look similar in quality.

    Related stories