Loading...
Efficient 30B model optimised for agentic coding and long-horizon planning
Take GLM 4.7 Flash apart, layer by layer. The 3D teardown below shows its 47 transformer layers (1 dense + 46 MoE), MLA attention, and expert routing, with values from the public model config.
Founded in 2019 as a Tsinghua University spinout, the company was known internationally as Zhipu AI until it rebranded as Z.ai in July 2025; it is headquartered in Beijing and has been listed on the Hong Kong Stock Exchange since January 2026. The lab develops the GLM (General Language Model) family, released under the MIT licence since GLM-4.5 in July 2025 and focused on coding and agentic tasks, alongside the GLM-V vision line and the AutoGLM phone agent.
more about Z.ai (Zhipu AI) โ2048-dim vectors over a 154,880-token vocabulary. The Flash tier shrinks the hidden dim to 2048 for fast, cheap inference.
Pre-norm blocks with the first layer dense and the rest MoE, plus a 1-layer MTP head. Roughly half the depth of GLM-4.7.
20 heads over a 512-dim KV latent (q_lora_rank 768). Unlike the GQA flagship, the Flash tier uses MLA-style compression to shrink the KV cache further.
A router scores 64 experts and activates 4 plus 1 shared, spending just 3B of 30B per token. The Lite routing keeps latency low.
Final RMSNorm then 154,880 logits. Flash is the cost-optimised GLM-4 tier for high-volume serving.