Hugging Face · long-horizon tasks
June 17, 2026 · Read the original
Z.AI introduced GLM-5.2, its flagship model for long-horizon tasks, which it says improves on GLM-5.1 and delivers a solid 1M-token context. The model adds multiple thinking effort levels for coding and an IndexShare architecture that reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length, plus an improved MTP layer that increases acceptance length by up to 20%. It is released under an MIT open-source license. On Terminal-Bench 2.1 it scores 81.0 versus 63.5 for GLM-5.1, and on SWE-bench Pro 62.1 versus 58.4.
Written from the article itself at capture time and checked against it before publication: every number and every name in it comes from the source. It is our summary, not the lab’s wording — the original is linked above.
The announcement says what the lab claims. The record says what was measured, by whom, and whether anyone reproduced it. Read both before believing either.