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

Model details

GLM 5.2

We haven't written an overview of this model yet. New models can take a few days to gather enough reliable coverage, so check back soon.

AI/ML APIzhipu/glm-5.2glm

Quick Info

Powered by
Provider
AI/ML API
Model key
zhipu/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

AI/ML API

Coverage

Eigent.ai's third-party coverage describes GLM-5.2 as Zhipu AI's open-weight flagship tuned for coding, reasoning, and tool-driven agentic workloads, succeeding GLM-5.1 in the GLM-5 family. It reports a release date of 13 June 2026 and notes the model uses roughly 750B parameters in a sparse MoE design with around 40B active per token, paired with the IndexShare sparse-attention technique to keep 1M-context inference costs manageable. The blog highlights the 1M-token context window under an MIT open-source license, framing GLM-5.2 as coding-first rather than a general-purpose chat model. It positions the release alongside other frontier long-horizon agent-oriented models, with availability on Z.ai's GLM Coding Plan and multiple third-party platforms. The excerpt is truncated before pricing, deployment details, and full benchmark analysis could be verified.

AI/ML API

Coverage

GLM-5.2 from zai-org (Zhipu AI) is a flagship open-weight model targeting long-horizon agentic and coding workloads. The Hugging Face model card confirms it delivers a solid 1M-token context window and introduces IndexShare, a sparse-attention technique that reuses the same indexer across every four sparse attention layers, cutting per-token FLOPs by 2.9× at 1M context length. The model ships under an MIT open-source license with no regional limits. The same model card details an improved Multi-Token Prediction layer that boosts speculative-decoding acceptance length by up to 20%, and lists multiple thinking-effort levels to balance coding performance against latency. A full benchmark table compares GLM-5.2 against its predecessor GLM-5.1 and competing models on reasoning (HLE 40.5, CritPt 20.9), coding (SWE-bench Pro 62.1, Terminal Bench 82.7), and agentic suites (MCP-Atlas 76.8, SWE-Marathon 13.0). The card notes a newer GLM-5.3-BF16 release exists.

AI/ML API

CoverageBenchmark

Layer3 Labs' September 7, 2026 guide separates independently verified GLM 5.2 benchmark signals from Zhipu's self-reported numbers. Its strongest independent finding is a #1 finish on Design Arena's Code Categories leaderboard, a blind human-preference test where GLM 5.2 sits roughly 10 Elo points above Claude Fable 5, with separate reads from Artificial Analysis, Scale AI, and BenchLM broadly confirming coding competitiveness with frontier closed models. Zhipu-reported, not third-party-reproduced point scores include SWE-bench Pro at 62.1 (ahead of GPT-5.5's 58.6), plus Terminal-Bench 2.1 and FrontierSWE figures that are directionally corroborated by independent evaluators but not exactly replicated. The guide also clarifies Zhipu's "near-parity with Claude Opus 4.8" framing, noting it holds on one benchmark and not others, so readers can verify current numbers themselves.

AI/ML API

CoverageBenchmark

The AI Rankings profiles GLM-5.2 as a 753B-parameter Mixture-of-Experts open-weight model with a 1M-token context and 62.1% on SWE-bench, released June 13, 2026 under the permissive MIT license. Pricing is listed at $1.2 per million input tokens and $4.1 per million output tokens, and the page notes Zhipu claims GLM-5.2 beats GPT-5.5 on several multi-step coding benchmarks at roughly a sixth of the cost. The profile also places GLM-5.2 in Zhipu's release history — GLM-5 (February 2026), GLM-5.1 (April 2026), then GLM-5.2 (June 2026) — and notes the model has since been superseded as flagship by GLM-5.3 (August 14, 2026, custom license) and the MIT-licensed GLM-5.3-Flash sibling of August 26, 2026, making 5.2 the current top MIT-licensed GLM.

AI/ML API

CoverageBenchmark

LLM Stats aggregates public scores for GLM-5.2 and ranks it 40th overall, with a composite LLM Stats Score of 44.9 and a blended price of about $0.83 per million tokens. The listing names model-specific benchmarks including AIME 2026 (rank 1, score 0.99, sourced from z.ai), HMMT 2025, SWE-bench at 62.1%, a 1M-token context window, and notably lower real-task programming scores than self-reported numbers. The aggregate also measures conversation-depth degradation and Quality Tracker sentiment (stable at +1.03σ over 397 votes) and surfaces cost-efficiency comparisons against Gemma 4 E4B, DeepSeek-V4-Flash, and Claude variants, giving developers an independent composite view of GLM-5.2 beyond Zhipu's headline claims, including weaker results on long real-task programming workloads.

AI/ML API

CoverageBenchmark

Semgrep ran its IDOR security benchmark against GLM 5.2 in June 2026 using the same prompt it applies to frontier coding agents. Among models evaluated using only a prompt, GLM 5.2 outperformed Claude Opus 4.8, making it the best open-weight option in the company's head-to-head comparison and an independent data point beyond Zhipu's own benchmark claims. The result adds third-party validation that an open-weight Zhipu model can beat a current closed frontier model on at least one well-known vulnerability class. Semgrep published the benchmark on June 22, 2026, positioning GLM 5.2 as credible competition for closed coding agents on security-finding tasks and reinforcing its standing among independent evaluators.

AI/ML API

Coverage

NIST's Center for AI Standards and Innovation published an assessment of Z.ai's GLM-5.2 on July 8, 2026, concluding the model was probably the most capable open-weight AI system at its June 16, 2026 release. CAISI's evaluations placed GLM-5.2's overall capability near GPT-5.2 (December 2025) and its cyber capability near Claude Opus 4.6 (February 2026), providing independent third-party corroboration against the creator's self-reported benchmark figures. CAISI's safeguards findings were mixed for the open-weight model: its refusal behavior permitted assistance with agentic cyber exploit development and blocked fewer sensitive biological questions than US reference models, while showing potentially better robustness against agent hijacking and prompt-based jailbreaks than other evaluated PRC open-weight models. The agency reiterated that open-weight safeguards can be circumvented when self-hosted, framing GLM-5.2 as a strong but policy-sensitive open release with substantial dual-use capability.

AI/ML API

Coverage

Z.ai announced GLM-5.2 on June 16, 2026 as an MIT-licensed open-weight flagship designed for long-horizon coding agents. The model delivers a solid 1M-token context, introduces an IndexShare architecture that reuses one indexer across every four sparse attention layers (cutting per-token FLOPs by 2.9× at 1M context), and improves the MTP speculative decoding layer for up to 20% longer acceptance. Flexible thinking-effort levels let users trade latency against coding quality. On long-horizon coding benchmarks GLM-5.2 trails Claude Opus 4.8 by only 1% on FrontierSWE, beats GPT-5.5 by 1% and Opus 4.7 by 11%, ranks second only to Opus 4.8 on PostTrainBench (outperforming both Opus 4.7 and GPT-5.5), and competes on SWE-Marathon ultra-long-horizon tasks. The MIT release has no regional restrictions, and developers can access the model via Z.ai's chat surface, coding plan, API, GitHub, and Hugging Face for sustained engineering-agent workloads.

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