GLM-5.2 from Zhipu AI: Chinese giant with a 1 million token context and open source code

Chinese startup Zhipu AI has officially unveiled its new flagship model — GLM-5.2. This is an open-source solution designed for handling long agent tasks and complex programming. Its key feature is a context window of 1 million tokens, enabling the processing of massive data volumes in a single pass. The model is distributed under the MIT license and supports local deployment.
According to the technical documentation on the Hugging Face platform, GLM-5.2 has 753 billion parameters and is optimized for text generation in English and Chinese. This makes it a versatile tool for both global and local markets.
The model's architecture includes several levels of "reasoning intensity," allowing users to flexibly balance between response quality and latency. Built-in IndexShare technology and an updated MTP (Multi-Token Prediction) layer enable speculative decoding. Developers claim that IndexShare reuses one indexer for every four layers of sparse attention, reducing operations per token by 2.9 times, while MTP increases confirmation length by up to 20%.
In tests, GLM-5.2 demonstrated outstanding results. In three key benchmarks — FrontierSWE, PostTrainBench, and SWE-Marathon — it outperformed all existing open-source models. In standard programming performance tests, it also took the leading position among open-source counterparts.
For local deployment, the model supports the SGLang, vLLM, Transformers, KTransformers, and Docker Model Runner frameworks. Quantizations for llama.cpp, Ollama, and LM Studio are also available, simplifying integration into various infrastructures.
Expert opinion: The release of GLM-5.2 is a significant step forward for open-source AI. The 1 million token context and 753 billion parameters place this model on par with the best closed-source solutions. Its performance in programming tasks is particularly impressive, making it a direct competitor to GPT-4 and Claude. However, the key question is whether the community can quickly adapt it to real-world business tasks, given the high computational resource requirements.