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

Model details

GLM-5.2

GLM-5.2 is a Z.ai coding model built around a 753-billion-parameter mixture-of-experts architecture, making it well suited to long-context software work and tool-driven agent tasks. It is open-weight under the MIT license, allowing organizations with sufficient hardware to self-host rather than depend on a hosted service.

The model’s practical appeal is its combination of repository-scale context, tool calling, and always-on reasoning that can be tuned by effort. It is a strong fit for code review, refactoring, batch generation, and other sustained engineering workflows, especially where teams can use its open weights for deployment control and keep an eye on reasoning-token usage.

Phalaz-ai/glm-5.2glm

Quick Info

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

Cost

Input token cost
$1.26
Output token cost
$3.00

Limits

Output tokens
131,072 tokens
Context window
1,048,576 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

Ofox

Official sourceAnnouncement

On August 14, 2026, Z.ai published a research post on GLM-5.3, explicitly stating that GLM-5.3 uses the same base model as GLM-5.2 and that every reported gain over GLM-5.2 comes from post-training rather than a new base. The post describes scaling the GLM-5.2 stack: IndexShare for efficient long-context processing, SA The same post frames GLM-5.3 as the most capable open-weights coding model Z.ai has released, claiming a 50% improvement over GLM-5.2 on the in-house Z.ai Code Bench and open-source state-of-the-art results on Terminal Bench 3.0 and Agents' Last Exam. It also reports state-of-the-art performance on CyberGym for vulnera

OrcaRouter

Official sourceAnnouncement

Z.ai has officially introduced GLM-5.2, its flagship model purpose-built for long-horizon tasks and a substantial leap over GLM-5.1, delivering for the first time a solid 1M-token context window that the company says remains reliable under real engineering pressure. The model is released under an MIT open-source licens Architecturally, GLM-5.2 introduces IndexShare, which reuses the same indexer across every four sparse-attention layers to cut per-token FLOPs by 2.9× at a 1M context length, alongside an improved MTP layer that increases speculative-decoding acceptance length by up to 20%. The team substantially expanded 1M-context tr

OpenRouter

Coverage

GLM-5.2 is a long-context update to Z.ai's GLM-5 family that keeps most of the GLM-5 and GLM-5.1 architecture and adds a focused sparse-attention change called IndexShare. The GLM-5.2 configuration lists 78 transformer layers with a hidden size of 6,144, and the configured context length extends from the earlier model's 200K tokens to 1,048,576 tokens. The backbone remains a large sparse mixture-of-experts model with 744 billion total parameters and about 40 billion active per token. The first three feed-forward blocks are dense, while the remaining blocks use 256 routed experts with 8 selected per token plus one shared expert, and attention combines Multi-head Latent Attention with DeepSeek Sparse Attention.

OpenRouter

CoverageBenchmark

VentureBeat reported on June 16, 2026 that Z.ai released GLM-5.2, a 753-billion-parameter open-weights LLM targeted at long-horizon autonomous coding and engineering. According to the article, GLM-5.2 became available immediately on Hugging Face, the Z.ai API, and more than 20 third-party coding environments, with ente The article corroborates Z.ai's technical claims: a 1-million-token context window, the new IndexShare attention optimization that reuses one indexer across every four sparse attention layers and reduces per-token FLOPs by 2.9× at maximum context, and an upgraded Multi-Token Prediction layer that boosts speculative-dec

OpenRouter

CoverageBenchmark

GLM 5.2 is a large-scale reasoning model from Z.ai, listed on OpenRouter with a 1M-token context window and text input and output, released on June 16, 2026. The model is positioned for long-horizon agent workflows, project-level software engineering, and complex multi-step automation rather than short chat turns. Developers can select reasoning efforts of high and xhigh, with xhigh mapped to max reasoning, giving explicit control over inference depth for long-running tasks. The catalog claims particular strength at coding and tool use, maintaining engineering context and following standards consistently from requirements through multi-platform deployment within a single task.

OpenRouter

Coverage

NIST's Center for AI Standards and Innovation published a July 8, 2026 assessment of Z.ai's GLM-5.2, confirming the PRC-based company released it as an open-weight model on June 16, 2026. CAISI judged it probably the most capable open-weight AI model at release, with overall capabilities similar to GPT-5.2 and cyber capabilities similar to Opus 4.6. CAISI found safeguard performance mixed: the model allows assistance with agentic cyber exploit development and blocks fewer sensitive biological questions than reference U.S. models, though it appears more robust against agent hijacking and jailbreaking than other evaluated PRC open-weight models. The report notes that such safeguards for open-weight models can be circumvented when self-hosted.

OpenRouter

Coverage

NVIDIA's NGC catalog now hosts zai-org GLM-5.2 weights for NVIDIA NIM deployment, with FP8 and NVFP4 builds downloadable via the NGC CLI. The listing describes GLM-5.2 as a flagship long-horizon reasoning and coding model from Z.AI that builds on GLM-5.1 with a 1M-token context window and stronger coding performance. The card states the upstream GLM-5 GitHub model card lists GLM-5.2 as a 744B-parameter Mixture of Experts model with 40B active parameters, and it is aimed at repository-scale coding, tool use, terminal operations, and multi-step engineering with controllable thinking-effort levels. It was published to NVIDIA GPU Cloud on 06/30/2026 under the NVIDIA Open Model Agreement.

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