Z.ai Releases GLM 5.2 Open Model with 1M Context and MIT License
Z.ai has launched GLM 5.2, a 753 billion parameter open model for long-horizon coding tasks, featuring a 1 million token context window and released under an MIT license.
19 Jun 2026
Z.ai has released GLM 5.2, a 753 billion parameter open model designed for long-horizon coding and engineering tasks, according to a company blog post. The model supports a 1 million token context window and is available immediately through the Z.ai API, Hugging Face, and other coding platforms.
AI Programming Weekly covers stories like this, every Tuesday. Free.
GLM 5.2 introduces an architectural optimization called IndexShare, which reuses the same indexer across every four sparse attention layers to reduce computation by nearly three times at maximum context length. The model also includes an improved Multi Token Prediction layer for speculative decoding, increasing acceptance length by up to 20 percent. Users can select between two reasoning effort levels, High and Max, to balance performance and latency.
Benchmarks show that GLM 5.2 performs above most open models and close to proprietary ones such as GPT 5.5 from OpenAI and Claude Opus 4.8. It scored 62.1 on SWE-bench Pro, 74.4 on FrontierSWE, and 81.0 on Terminal Bench 2.1, ranking as the strongest open model across several coding tasks.
The model’s weights are available under an MIT open-source license, allowing unrestricted use, modification, and commercial deployment. GLM 5.2 can be used locally through frameworks such as transformers and vLLM. Z.ai also offers the model through its Coding Plan, which integrates with third-party coding tools and includes usage tiers starting at $12.60 per month.
Where this comes from
z.aiIn this story
Industry analysis
2025 Global Business Services Agenda: Gen AI Takes Center Stage
This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.
Read moreYou may also like
Z.ai releases GLM-5.4, its first Loop Transformer flagship 24 Nov 2026 MBZUAI's Institute of Foundation Models releases K2-Horizon, six fully open models up to 375B parameters 17 Nov 2026 SambaNova Adds GLM-5.3 to SambaCloud 11 Nov 2026 Ant Group releases open-weight Ling-3.2-air multimodal model 23 Nov 2026 Hugging Face report finds open models near the coding frontier but far behind in science 30 Nov 2026 0G Labs releases 0GM-2.0, a 35B model that can draw on 120 million tokens of memory 3 Dec 2026Daily AI Brief: the AI news that matters, in your inbox.