Sulat.com
AI models
$10 off the fastest DeepSeek V4.1 Flash, Kimi K3.1 Pro and GLM 5.3-Flash from Synthetic
engy logo

Model details

GLM-5.2

GLM-5.2 is Z.ai's flagship model oriented toward long-horizon tasks, succeeding GLM-5.1 with what it presents as a substantial capability gain for sustained agent and coding workflows. The release is framed around making long context engineering-usable, holding quality steady across extended, messy coding-agent trajectories rather than simply accepting a large input. Open weights are published on Hugging Face under the zai-org organization, accompanied by the GLM-5 code repository on GitHub, and the project is offered under an MIT license without regional access limits.

The model introduces three announced advancements. Its solid 1M-token context is positioned as the first time Z.ai has delivered long-horizon capability at that scale stably. Coding performance is strengthened through multiple thinking effort levels that let users trade latency against reasoning depth. On the architecture side, the team proposes IndexShare, a sparse-attention design reusing the same indexer across four layers to reduce per-token compute at long contexts, alongside an improved multi-token prediction layer that raises speculative-decoding acceptance. Together these changes make GLM-5.2 a practical fit for open agent development, long-context research assistants, and sustained code generation where consistency over extended runs matters more than raw single-turn latency.

engyglm-5.2glm

Quick Info

Powered by
Provider
engy
Model key
glm-5.2
Release date
Jun 13, 2026
Last updated
Jun 13, 2026
Input modalities
Output modalities
Capabilities

Cost

Input token cost
$0.68
Output token cost
$1.50

Limits

Input tokens
229,376 tokens
Output tokens
32,768 tokens
Context window
262,144 tokens

Transparent token rates

Compare GLM-5.2 pricing

Rates are shown per one million tokens. Combined means one million input plus one million output tokens.

Browse this family

Latest news about GLM-5.2

engy

CoverageBenchmark

Semgrep evaluated GLM 5.2 on its IDOR benchmark using the same prompt format it uses to test frontier coding agents, publishing results on June 22, 2026. Among models given nothing but a prompt, the best open-weight option beat Claude Opus 4.8. The evaluation surprised the Semgrep team, which had not expected an open-weight model to lead its cyber benchmarks. The third-party benchmark positions GLM 5.2 as a strong open-weight contender in security-focused coding tasks that test vulnerability detection in application code. Semgrep framed the result as a "Mythos at Home" moment, highlighting that Z.ai's open-weight model can match or exceed proprietary frontier coding agents on real-world security benchmarks. The findings supplement the official Z.ai release with independent validation of GLM 5.2's coding and security capabilities.

engy

Coverage

CoreWeave announced GLM 5.2 availability on its managed inference platform, explicitly identifying it as the newest open-weight model from Z.ai. The model achieved one of the highest rankings for inference speed and price-performance on Artificial Analysis, scoring 51 on the Intelligence Index and ranking as the top open-weight model. GLM 5.2 ships with a longer context window than GLM 5.1 and uses a permissive MIT license allowing self-hosting, fine-tuning, and commercial use. GLM 5.2's strongest results focus on coding, software engineering, and long-horizon agent workflows, with developers highlighting its ability to generate production-ready applications and work across large codebases. On FrontierSWE, the model edges out GPT-5.5 and trails only Claude Fable 5 and Claude Opus 4.8, the top-ranked models. CoreWeave positions the release as part of a broader shift where open-weight models including GLM 5.2 and Kimi K2.7 Code hold their own on benchmarks once led by proprietary endpoints.

engy

Coverage

Z.ai released GLM-5.2 on June 16, 2026 as their latest flagship model built for long-horizon tasks, representing a substantial leap over predecessor GLM-5.1. The model delivers a solid 1M-token context window for the first time, expanded from 200,000 in GLM 5.1, and ships under a permissive MIT license with no regional limits. It introduces a new IndexShare sparse attention architecture that reuses the same indexer across every four sparse attention layers, reducing per-token FLOPs by 2.9× at 1M context. GLM-5.2 introduces advanced coding capabilities with multiple thinking effort levels to balance performance and latency, and improves the MTP layer for speculative decoding to increase acceptance length by up to 20%. On the FrontierSWE benchmark for real-world software engineering, GLM-5.2 trails Opus 4.8 by only 1% while edging out GPT-5.5 by 1% and Opus 4.7 by 11%. It also outperforms both Opus 4.7 and GPT-5.5 on PostTrainBench, ranking second only to Opus 4.8 on that H100-based post-training benchmark.

Sulat also reports on AI and tech beyond the catalog.Read news.sulat.com

Videos about GLM-5.2

More models around GLM-5.2