Z.ai Releases GLM-5.2 as an Open-Weight Agent Model
Z.ai has released GLM-5.2, a new open-weight model aimed at long-horizon coding and agent workloads rather than short chat sessions.
The model card on Hugging Face lists GLM-5.2 under an MIT license and describes it as Z.ai's latest flagship for long-running tasks. The same card says the release supports a 1M-token context window, flexible thinking effort levels for coding work and local serving through frameworks including vLLM, SGLang, Transformers and KTransformers.
Z.ai's developer documentation frames the 1M context window as the practical center of the release. The company says the model is intended to keep project-scale engineering context stable across longer tasks, including implementation, automated research and performance optimization. That is a narrower and more useful claim than simply advertising a larger prompt limit.
The release is also reaching hosted infrastructure quickly. Cloudflare added @cf/zai-org/glm-5.2 to Workers AI on June 16, describing it as a text-generation model for agentic coding workflows with function calling, reasoning support, long-codebase handling and multi-step planning. Cloudflare's launch starts with a 262,144-token context window on Workers AI, below the model's full advertised context, with plans to increase it later.
For developers, the notable part is not only another benchmark table. GLM-5.2 gives the open-weight ecosystem a very large model that is explicitly positioned for coding agents, tool use and long-context engineering work. The practical test will be whether teams can run it economically enough, and whether long-context reliability holds up outside controlled evaluations.