Zhipu AI introduces GLM-5.2: a new era of open AI models with a context of 1 million tokens

Chinese startup Zhipu AI has officially released its latest flagship language model, GLM-5.2, designed to tackle long-horizon agent tasks and complex programming challenges. This open-source solution, distributed under the MIT license, offers a context window of up to 1 million tokens, opening new horizons for processing large volumes of data and extended dialogues.
The model, available on Hugging Face, boasts an impressive 753 billion parameters and is focused on text generation in English and Chinese. GLM-5.2 supports multiple levels of "reasoning intensity," allowing users to flexibly balance between output quality and response latency. The architecture integrates innovative components: the IndexShare mechanism, which reuses a single indexer for every four layers of sparse attention, reducing operations per token by 2.9 times, and an updated MTP layer for speculative decoding, increasing the confirmation length by up to 20%.
Test results speak for themselves. In three key benchmarks — FrontierSWE, PostTrainBench, and SWE-Marathon — GLM-5.2 outperformed all other open-source models. In standard programming performance tests, it also took leading positions, confirming its status as the most powerful open-source model on the market.
GLM-5.2 is distributed under the open MIT license, providing maximum flexibility for developers. For local deployment, support is claimed for SGLang, vLLM, Transformers, KTransformers, and Docker Model Runner. Additionally, quantizations are available for llama.cpp, Ollama, and LM Studio, making the model accessible to a wide range of users.
Analytical commentary: The release of GLM-5.2 is a significant step forward for the open AI model industry. The 1 million token context and 753 billion parameters place it on par with the best proprietary solutions. However, the key challenge is the practical implementation of local deployment for such a massive model. Despite support for various tools, real-world performance on consumer hardware may be limited. Nevertheless, for enterprise clients and research laboratories, GLM-5.2 opens up new opportunities for creating autonomous agents and complex programming systems.