zai-org/GLM-5.2 is here!
Summary
Z.AI releases GLM-5.2, a new flagship model with a solid 1M-token context, enhanced coding capabilities with flexible thinking effort, and improved architecture via IndexShare. It is released under an MIT open-source license.
View Cached Full Text
Cached at: 06/16/26, 07:36 PM
zai-org/GLM-5.2 · Hugging Face
Source: https://huggingface.co/zai-org/GLM-5.2
👋 Join ourWeChatorDiscordcommunity. 📖 Check out the GLM-5.2blogand GLM-5Technical report. 📍 Use GLM-5.2 API services onZ.ai API Platform. 🔜 Try GLM-5.2here.
https://huggingface.co/zai-org/GLM-5.2#introductionIntroduction
We’re introducing GLM-5.2, our latest flagship model for long-horizon tasks. It marks a substantial leap in long-horizon task capability over its predecessor GLM-5.1 and, for the first time, delivers that capability on asolid 1M-token context. GLM-5.2’s new capabilities include:
- **Solid 1M Context:**A solid 1M-token context that stably sustains long-horizon work
- Advanced Coding with Flexible Effort: Stronger coding capabilities with multiple thinking effort levels to balance performance and latency
- Improved Architecture: We proposeIndexShare, which reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at a 1M context length. We also improve GLM-5.2’s MTP layer for speculative decoding, increasing the acceptance length by up to 20%
- Pure Open: An MIT open-source license — no regional limits, technical access without borders
https://huggingface.co/zai-org/GLM-5.2#benchmarkBenchmark
BenchmarkGLM-5.2GLM-5.1Qwen3.7-MaxMiniMax M3DeepSeek-V4-ProClaude Opus 4.8GPT-5.5Gemini 3.1 ProReasoningHLE40.53141.43737.749.8*41.4*45HLE (w/ Tools)54.752.353.5-48.257.9*52.2*51.4*CritPt16.74.613.43.712.920.927.117.7AIME 202699.295.397-94.695.798.398.2HMMT Nov. 202594.4949584.494.496.596.594.8HMMT Feb. 202692.582.697.184.495.296.796.787.3IMOAnswerBench91.083.890-89.883.5-81GPQA-Diamond91.286.2909390.193.693.694.3CodingSWE-bench Pro62.158.460.65955.469.258.654.2NL2Repo48.942.747.242.135.569.750.733.4DeepSWE46.21818208587010ProgramBench63.750.9--47.871.970.839.5Terminal Bench 2.1 (Terminus-2)81.063.5756564858474Terminal Bench 2.1 (Best Reported Harness)82.769---78.983.470.7FrontierSWE (Dominance)74.430.5--29.075.172.639.6PostTrainBench34.320.1---37.228.421.6SWE-Marathon13.01.0---26.012.04.0AgenticMCP-Atlas (Public Set)76.871.876.474.273.677.875.369.2Tool-Decathlon48.240.7--52.859.955.648.8
https://huggingface.co/zai-org/GLM-5.2#serve-glm-52-locallyServe GLM-5.2 Locally
The following open-source frameworks support local deployment of GLM-5.2:
- SGLang(v0.5.13.post1+) — seecookbook
- vLLM(v0.23.0+) — seerecipes
- xLLM(v0.10.0+) — seeexample
- Transformers(v0.5.12+) — seetransformers docs
- KTransformers(v0.5.12+) — seetutorial
https://huggingface.co/zai-org/GLM-5.2#citationCitation
If you find GLM-5.2 useful in your research, please cite our technical report:
@misc{glm5team2026glm5vibecodingagentic,
title={GLM-5: from Vibe Coding to Agentic Engineering},
author={GLM-5-Team and : and Aohan Zeng and Xin Lv and Zhenyu Hou and Zhengxiao Du and Qinkai Zheng and Bin Chen and Da Yin and Chendi Ge and Chenghua Huang and Chengxing Xie and Chenzheng Zhu and Congfeng Yin and Cunxiang Wang and Gengzheng Pan and Hao Zeng and Haoke Zhang and Haoran Wang and Huilong Chen and Jiajie Zhang and Jian Jiao and Jiaqi Guo and Jingsen Wang and Jingzhao Du and Jinzhu Wu and Kedong Wang and Lei Li and Lin Fan and Lucen Zhong and Mingdao Liu and Mingming Zhao and Pengfan Du and Qian Dong and Rui Lu and Shuang-Li and Shulin Cao and Song Liu and Ting Jiang and Xiaodong Chen and Xiaohan Zhang and Xuancheng Huang and Xuezhen Dong and Yabo Xu and Yao Wei and Yifan An and Yilin Niu and Yitong Zhu and Yuanhao Wen and Yukuo Cen and Yushi Bai and Zhongpei Qiao and Zihan Wang and Zikang Wang and Zilin Zhu and Ziqiang Liu and Zixuan Li and Bojie Wang and Bosi Wen and Can Huang and Changpeng Cai and Chao Yu and Chen Li and Chengwei Hu and Chenhui Zhang and Dan Zhang and Daoyan Lin and Dayong Yang and Di Wang and Ding Ai and Erle Zhu and Fangzhou Yi and Feiyu Chen and Guohong Wen and Hailong Sun and Haisha Zhao and Haiyi Hu and Hanchen Zhang and Hanrui Liu and Hanyu Zhang and Hao Peng and Hao Tai and Haobo Zhang and He Liu and Hongwei Wang and Hongxi Yan and Hongyu Ge and Huan Liu and Huanpeng Chu and Jia'ni Zhao and Jiachen Wang and Jiajing Zhao and Jiamin Ren and Jiapeng Wang and Jiaxin Zhang and Jiayi Gui and Jiayue Zhao and Jijie Li and Jing An and Jing Li and Jingwei Yuan and Jinhua Du and Jinxin Liu and Junkai Zhi and Junwen Duan and Kaiyue Zhou and Kangjian Wei and Ke Wang and Keyun Luo and Laiqiang Zhang and Leigang Sha and Liang Xu and Lindong Wu and Lintao Ding and Lu Chen and Minghao Li and Nianyi Lin and Pan Ta and Qiang Zou and Rongjun Song and Ruiqi Yang and Shangqing Tu and Shangtong Yang and Shaoxiang Wu and Shengyan Zhang and Shijie Li and Shuang Li and Shuyi Fan and Wei Qin and Wei Tian and Weining Zhang and Wenbo Yu and Wenjie Liang and Xiang Kuang and Xiangmeng Cheng and Xiangyang Li and Xiaoquan Yan and Xiaowei Hu and Xiaoying Ling and Xing Fan and Xingye Xia and Xinyuan Zhang and Xinze Zhang and Xirui Pan and Xu Zou and Xunkai Zhang and Yadi Liu and Yandong Wu and Yanfu Li and Yidong Wang and Yifan Zhu and Yijun Tan and Yilin Zhou and Yiming Pan and Ying Zhang and Yinpei Su and Yipeng Geng and Yong Yan and Yonglin Tan and Yuean Bi and Yuhan Shen and Yuhao Yang and Yujiang Li and Yunan Liu and Yunqing Wang and Yuntao Li and Yurong Wu and Yutao Zhang and Yuxi Duan and Yuxuan Zhang and Zezhen Liu and Zhengtao Jiang and Zhenhe Yan and Zheyu Zhang and Zhixiang Wei and Zhuo Chen and Zhuoer Feng and Zijun Yao and Ziwei Chai and Ziyuan Wang and Zuzhou Zhang and Bin Xu and Minlie Huang and Hongning Wang and Juanzi Li and Yuxiao Dong and Jie Tang},
year={2026},
eprint={2602.15763},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2602.15763},
}
Similar Articles
zai-org/GLM-5.1
GLM-5.1 is a next-generation flagship AI model optimized for agentic engineering with significantly stronger coding capabilities, achieving state-of-the-art performance on SWE-Bench Pro and demonstrating superior long-horizon task handling through extended iteration and tool use.
@jietang: GLM-5.2 is Fully Open, Frontier Intelligence Belongs to Everyone Today, the sudden restriction of certain frontier mode…
Zhipu AI announces GLM-5.2, their most capable open-source model with a 1M context window, positioning it as a foundation for complex agent applications and coding models, with immediate availability to GLM Coding Plan users and API next week.
GLM-5.2 is available on HuggingChat
GLM-5.2, an open source AI model from zai-org, is now available on HuggingChat.
GLM-5.2 (1 minute read)
GLM-5.2, a new flagship coding model with 1M-context support and enhanced reasoning, is now available to GLM Coding Plan users and will be open-sourced under MIT License next week.
@Sentdex: Zai was gracious enough to give me a key to test out GLM 5.2. I used it on a few simple tasks and quickly realized this…
Sentdex reports that GLM 5.2 from Zai is the first open model that can replace GPT-5.5 and Opus 4.8 across many tasks, with strong coding and agentic performance and a 1M context window.
