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

Model details

GLM-5.2

GLM-5.2 is positioned as a flagship model aimed squarely at long-horizon tasks, with a substantial leap in capability over its predecessor GLM-5.1. The design emphasis is on sustaining quality across lengthy, multi-step coding-agent trajectories rather than simply accepting more tokens. To support that goal, the model combines a deep context window for extended work with adjustable thinking effort levels, giving developers a way to trade depth of reasoning against latency depending on the task. Open distribution under an MIT license, with weights published on Hugging Face and code on GitHub, removes regional or access restrictions and makes the model a practical option for teams that want self-hosted control of a frontier-tier coding model.

Architecturally, GLM-5.2 introduces IndexShare, an attention design that reuses the same indexer across every four sparse attention layers, which the team reports reduces per-token compute by roughly 2.9× at the long end of the context. The multi-token prediction layer used for speculative decoding has also been refined, with reported acceptance-length gains of up to 20% that can translate into faster inference during agent-style workloads. Together, these changes point to a model built not just for raw capability but for efficient execution on extended, tool-driven coding sessions, fitting use cases such as repository-scale refactors, long debugging loops, and multi-file feature implementation where sustained coherence matters more than peak single-prompt performance.

AIHubMixglm-5.2glm

Quick Info

Powered by
Provider
AIHubMix
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.1268
Output token cost
$3.9438

Limits

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

AIHubMix

CoverageBenchmark

A model-card reference catalogs GLM-5.2 as an open-weights release from Zhipu AI (Z.ai) dated June 2026, with a 1000K context window and estimated 753B parameters. Developer-reported scores include SWE-bench Pro 62.1%, Terminal-Bench 2.1 81%, GPQA Diamond 91.2%, HLE 40.5%, and a third-party AIME 2026 of 90%. Hardware sizing estimates make self-hosting concrete: a Q3 quantisation fits in roughly 292GB of VRAM, Q4 in 457GB, Q8 in 800GB, and FP16 needs about 1506GB, putting feasible inference out of reach for consumer GPUs and well within enterprise accelerators. Provenance is labelled developer-reported versus third-party for transparency.

AIHubMix

CoverageBenchmark

A third-party benchmark compilation aggregates Z.ai's published GLM-5.2 results across 17 evaluations, highlighting dominance on long-horizon coding suites. GLM-5.2 leads open-source models on FrontierSWE (74.4%), PostTrainBench (34.3%), and SWE-Marathon (13.0%), trailing only Opus 4.8 among closed peers. Generation-over-generation, GLM-5.2 improves over GLM-5.1 by 17.5 points on Terminal-Bench 2.1 (to 81.0), 28.2 points on DeepSWE (to 46.2), and 12.8 on ProgramBench, with sustained-execution benchmarks gaining far more than single-patch evaluations. SWE-bench Pro reaches 62.1 and HLE 40.5, both still trailing Opus 4.8.

AIHubMix

CoverageBenchmark

Semgrep Security Research published a blog on June 22, 2026, titled "We have Mythos at Home: GLM 5.2 beats Claude in our Cyber Benchmarks," reporting results from running popular open-source models against their IDOR benchmark with the same prompt used to evaluate frontier coding agents. The result was that among model The post frames the finding as a notable independent third-party benchmark signal for GLM-5.2's agentic coding and cyber capability relative to frontier closed models, though it is a single-vendor benchmark on Semgrep's IDOR dataset. Readers are directed to Semgrep's security research blog for the full methodology and

AIHubMix

Coverage

NIST's Center for AI Standards and Innovation (CAISI) published an independent assessment of Z.ai's GLM-5.2 on July 8, 2026, after the model was open-weighted on June 16, 2026. CAISI found GLM-5.2 was probably the most capable open-weight model at release, with overall capabilities similar to GPT-5.2 and cyber capabilities similar to Opus 4.6. The report flags mixed safeguard performance: GLM-5.2's safeguards permit assistance with agentic cyber exploit development and block fewer sensitive biological questions than reference U.S. models, yet appear more robust against agent hijacking and prompt-based jailbreaks than other evaluated PRC open-weight models. CAISI notes open-weight safeguards can be circumvented when self-hosted.

Videos about GLM-5.2

More models around GLM-5.2