GLM-4.7 is Z.ai’s coding model for multi-step agent tasks and terminal work. Z.ai reports 73.8% on SWE-bench Verified and 41.0% on Terminal-Bench 2.0, up 5.8 and 16.5 percentage points from GLM-4.6. It also scored 66.7% on SWE-bench Multilingual, up 12.9 points. Read Z.ai’s announcement.
It is a 358-billion-parameter mixture-of-experts model with 32 billion active parameters per token across 92 layers. The model has 160 routed experts and one shared expert, with eight routed experts selected per token. When thinking is enabled, it can reason before responding or calling tools and carry reasoning across turns. On Modal, it accepts text with a 202,752-token context window. See the model card.