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

Model details

GLM-5.2

GLM-5.2 is Z.ai's flagship release positioned for long-horizon coding and agentic work, succeeding GLM-5.1 as a substantial leap in sustained task capability. The model is distributed under an MIT open-source license with no regional restrictions, with weights hosted under the zai-org organization on GitHub and HuggingFace. Z.ai introduced GLM-5.2 alongside the IndexShare architecture, which reuses a shared indexer across four sparse attention layers to cut per-token compute at long contexts, alongside an improved multi-token prediction layer that extends speculative decoding acceptance length. The combination targets practical engineering use, where long, messy coding-agent trajectories must hold quality across the full session rather than merely accept more tokens.

Beyond raw context length, GLM-5.2 emphasizes advanced coding with flexible thinking effort levels, letting developers trade latency against reasoning depth based on task demands. The model later served as the base for GLM-5.3, with that successor's gains in complex coding, vulnerability discovery on CyberGym, and open-source benchmark performance on Terminal Bench 3.0 and Agents' Last Exam coming entirely from post-training, suggesting a strong underlying foundation in GLM-5.2 suitable for downstream specialization. For teams building autonomous coding pipelines and long-running research or refactoring agents, GLM-5.2 offers an open-weights platform designed to remain reliable across extended sessions while remaining tunable through effort controls and open access.

302.AIglm-5.2glm

Quick Info

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

Cost

Input token cost
$1.40
Output token cost
$4.40

Limits

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

302.AI

Coverage

The NIST Center for AI Standards and Innovation (CAISI) published a public assessment of Z.ai's GLM-5.2 on July 17, 2026, evaluating the open-weight model that Z.ai (formerly Zhipu AI) released on June 16, 2026. CAISI's headline conclusion is that GLM-5.2 was probably the most capable open-weight AI model at release, w On safeguards and security the picture is mixed: GLM-5.2's safeguards permit assistance with agentic cyber exploit development and block fewer sensitive biological questions than reference U.S. models, but GLM-5.2 appears potentially more robust against agent hijacking and prompt-based jailbreaking than other evaluated

302.AI

CoverageBenchmark

Semgrep's security research team evaluated a set of popular open-source models against their IDOR benchmark, using the same dataset and prompt they apply to frontier coding agents, and reports that GLM 5.2—the best open-weight option in their test—outperformed Claude Opus 4.8 when the model was given nothing but a prom The finding is technically useful for developers evaluating GLM-5.2 for security workloads: an independent AppSec vendor's IDOR benchmark, run with prompt-only conditions, ranks the open-weight GLM-5.2 above Anthropic's Claude Opus 4.8. Readers should note this is a single-vendor cyber benchmark rather than a general c

Videos about GLM-5.2

More models around GLM-5.2