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

Model details

GLM-5.2

GLM-5.2 is Z.ai's flagship open-weight model, purpose-built for long-horizon tasks that demand sustained reasoning across very large working memories, most notably extended agentic coding sessions. It is the first release in the family to deliver a solid one-the cataloged API limit context, with Z.ai emphasizing that the model is engineered to keep quality stable across long, messy coding-agent trajectories rather than simply accepting more tokens. The model is distributed openly on Hugging Face under the zai-org organization and on GitHub, carrying an MIT-licensed release with no regional restrictions, which makes it attractive for teams that need a self-hostable alternative to closed frontier models for long-running development workflows.

Under the hood, GLM-5.2 introduces a refined architecture anchored by IndexShare, a technique that reuses a single indexer across every four sparse-attention layers and reportedly reduces per-token compute by roughly 2.9× at the cataloged API limit lengths, while an improved multi-token prediction layer boosts speculative-decoding acceptance by up to 20%. Coding is treated as a first-class capability, with multiple configurable thinking-effort levels that let users trade latency against depth on harder problems. It is positioned for practical agentic use through tool calling and structured output, and it is available on European infrastructure via providers such as Cortecs, where it is listed as a serverless Z.ai deployment aimed at sovereign, compliant long-context workloads.

Cortecsglm-5.2glm

Quick Info

Powered by
Provider
Cortecs
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.90
Output token cost
$3.24

Limits

Output tokens
1,000,000 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

Cortecs

CoverageBenchmark

Semgrep published a cyber benchmark evaluation on June 22, 2026, in which GLM-5.2 was tested alongside other open-weight models against the same IDOR benchmark and prompt used for Semgrep's frontier coding agent evaluations. The blog, titled "We have Mythos at Home: GLM 5.2 beats Claude in our Cyber Benchmarks," report This benchmark is relevant to developers evaluating GLM-5.2 for security-sensitive workloads because it directly compares the open-weight GLM-5.2 against a current Claude frontier model on a standardized prompt-only cyber task. The result positions GLM-5.2 as a competitive open-weight alternative for agentic security t

Cortecs

Coverage

NIST's Center for AI Standards and Innovation (CAISI) published an assessment of Z.ai's GLM-5.2 on July 8, 2026, evaluating the open-weight model that Z.ai released on June 16, 2026. CAISI concluded that GLM-5.2 was probably the most capable open-weight AI model at release. The assessment found GLM-5.2's overall capabilities similar to GPT-5.2 (December 2025) and its cyber capabilities similar to Anthropic's Opus 4.6 (February 2026). Safeguards were mixed: GLM-5.2 permitted assistance with agentic cyber exploit development and blocked fewer sensitive biological questions than reference U.S. models, while showing stronger robustness against agent hijacking and jailbreaks than other evaluated PRC open-weight models.

Cortecs

CoverageRelease Notes

Z.ai's official developer release notes list GLM-5.2 as released on 2026-06-16, describing support for a 1M lossless context window that improves long-horizon task handling and reduces context drift and goal forgetting in complex workflows. The release notes also state that GLM-5.2 achieved open-source state-of-the-art Z.ai further reports that GLM-5.2 significantly improves the real-world developer experience through more reliable project-level context handling, stronger adherence to engineering standards, and support for multi-platform development. The same release-notes page also lists newer entries (GLM-5.3 on 2026-08-18 and GLM-

Videos about GLM-5.2

More models around GLM-5.2