GLM-4.7 355B
Immediate GLM predecessor that stays closer to the older GLM-4.5 style before the MLA shift.
GLM-4.7 355B decoder block architecture: Attention: GQA + QK-Norm with QK-Norm. Normalization: RMSNorm. FFN: Mixture of Experts (32B active parameters). Position encoding: RoPE. Scale: 355B, 203K context, 92 layers. Decoder type: MoE.
Architecture Specifications
Key Features
Deep Dive
Overview
GLM-4.7 355B is Zhipu AI's December 2025 refresh of GLM-4.5 — same 355 B total / 32 B active MoE architecture, 92 layers deep, same GQA + QK-Norm attention stack. The deltas versus GLM-4.5 are an extended context window (≈ 203 K vs GLM-4.5's 128 K) and refreshed post-training. Read the GLM-4.5 355B deep dive first — it covers the architecture story; this one focuses only on the GLM-4.7 changes.
What Changed from GLM-4.5
- Context window: 128K → ~203K native. Likely a longer-context continued-pretraining phase, given the identical RoPE base frequency in the config.
- Post-training: Refreshed agentic, reasoning, and coding SFT mix. The GLM-4.7 team ships both a base and chat variant on HuggingFace.
- Architecture: No structural changes. Same 92-layer MoE stack, same GQA + QK-Norm, same 32 B active compute per token, same 368 KiB/token KV cache footprint.
Architecture at a Glance
| Parameter | Value | Notes |
|---|---|---|
| Total parameters | ≈ 355 B | MoE — same as GLM-4.5 |
| Active parameters | ≈ 32 B | per token |
| Layers | 92 | second-deepest model in the gallery |
| Attention | GQA + QK-Norm | no MLA |
| KV cache | ≈ 368 KiB/token | heavy compared to MLA models |
| Max position | 202,752 | ≈ 203 K — GLM-4.7's key upgrade |
| Vocabulary | 151,552 | same as GLM-4.5 |
| Precision | bfloat16 |
Verdict: GLM-4.5 + Longer Context
GLM-4.7 is a point release, not a new generation. For teams already running GLM-4.5 the upgrade path is a drop-in replacement with a longer native context. For new deployments, GLM-4.7 is the default pick in the GLM-4.x family. The next architectural generation is GLM-5 744B (see that deep dive), which scales the expert pool significantly.
References
Compare, evaluate, and deploy LLM architectures at scale
Colaberry AI provides architecture specifications, benchmark comparisons, and deployment guidance for enterprise AI teams.