GLM-5.2 from Zhipu AI: 1 million token context and a revolution in open-source AI

Chinese startup Zhipu AI has unveiled its new flagship language model, GLM-5.2, which has already attracted the attention of the professional community. This open-source solution, distributed under the MIT license, features a context window of 1 million tokens — a metric that places it on par with the most advanced developments in long-horizon agent tasks and programming.
The model, available on Hugging Face, has 753 billion parameters and is designed for text generation in English and Chinese. However, the key innovation of GLM-5.2 lies in its architecture. The developers have implemented several levels of "reasoning intensity," allowing for flexible balancing between response quality and latency — a critically important feature for real-world business applications.
Architectural Breakthroughs: IndexShare and MTP
Two components deserve special attention: IndexShare and the updated MTP (Multi-Token Prediction) layer. IndexShare reuses a single indexer for every four layers of sparse attention, reducing operations per token by 2.9 times. This is not just an optimization — it is a direct path to lowering computational costs while maintaining high performance. MTP, in turn, increases the confirmation length by 20%, improving generation quality in tasks requiring sequential output.
Benchmarks and Performance
In three key tests — FrontierSWE, PostTrainBench, and SWE-Marathon — GLM-5.2 outperformed all other open-source models. In standard programming benchmarks, it also took the leading position among open-source alternatives. This confirms that Zhipu AI is deliberately focusing on agent scenarios and code generation, where traditional models often "fail" due to context limitations.
Availability and Deployment
GLM-5.2 is distributed under the MIT license, removing many legal barriers for commercial use. For local deployment, support is announced for SGLang, vLLM, Transformers, KTransformers, and Docker Model Runner. Additionally, quantizations are available for llama.cpp, Ollama, and LM Studio — meaning enthusiasts and small teams can run the model even on limited hardware.
Expert opinion. GLM-5.2 is not just another open-source model, but a signal of the maturity of the Chinese AI industry. The combination of 1 million tokens of context, the MIT license, and architectural optimizations makes it a serious competitor to proprietary solutions. If Zhipu AI continues at the same pace, we could see a shift in the balance of power in the large language model market within the coming quarters.