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

Model details

GLM-5.2

GLM-5.2 is positioned as a flagship model built specifically for long-horizon tasks, marking a substantial leap over its predecessor GLM-5.1. The release is the first in the family to deliver a solid the cataloged API limit context that stably sustains extended work, moving beyond simply accepting large inputs to maintaining quality across long, messy coding-agent trajectories. This makes it well suited to agentic coding workflows, repository-scale reasoning, and other tasks that require sustained attention over very large inputs rather than short, single-turn exchanges.

The model pairs that long-context capability with stronger coding performance delivered through multiple thinking-effort levels, letting users trade latency against depth depending on the task. Architecturally, the team introduced IndexShare, which reuses a single indexer across every four sparse-attention layers to cut per-token compute at the long end of the context window, alongside improvements to the multi-token prediction layer that raise speculative-decoding acceptance length by up to twenty percent. Weights are released openly under an MIT license on HuggingFace, so teams can self-host, fine-tune, and audit the model rather than relying on a closed API, which broadens its practical fit for production coding agents, research prototypes, and cost-sensitive deployments.

OpenCode Zenglm-5.2glm

Quick Info

Powered by
Provider
OpenCode Zen
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

OpenCode Zen

CoverageBenchmark

A Baidu Cloud international blog article describes GLM-5.2 as a next-generation open-source coding model, reporting a total parameter count of 744 billion with approximately 40 billion active parameters and a sparse activation strategy that reduces inference compute requirements by 42 percent. The article attributes GL The piece positions GLM-5.2 as a major upgrade in the GLM-5 series targeting long-context reasoning, multi-language modeling, code generation, and system modernization. Note that the article dates GLM-5.2's release to June 13, 2026, which conflicts with the NIST/CAISI report's June 16, 2026 release date, and its archit

OpenCode Zen

Official sourceDocumentation

OpenCode Go is a $10/month subscription tier documented on OpenCode's site that bundles reliable access to popular open coding models for international users. The page explains the rationale: open models now approach proprietary performance on coding tasks and are cheaper, but getting low-latency, stable access across The Go lineup shown in the excerpt includes GLM-5.3-Flash, GLM-5.3, GLM-5.2, and GLM-5.1 alongside Grok 4.6, GPT 5.6 Luna, Kimi K3/K2.7 Code/K2.6, LongCat-2.0, MiMo-V2.5/Pro, MiniMax M3/M2.7, Muse Spark variants, Qwen3.8 Max/Flash and Qwen3.7/3.6 tiers, DeepSeek V4 Pro/Flash variants, and Hy4 preview/Hy3. Usage is gate

OpenCode Zen

Coverage

NIST's CAISI published an assessment of Z.ai's GLM-5.2 on July 17, 2026, following the model's open-weight release on June 16, 2026 (developed by the PRC-based company formerly known as Zhipu AI). According to CAISI's evaluations, GLM-5.2 was probably the most capable open-weight AI model at release, with overall capab On safeguards and security, CAISI's assessment of GLM-5.2 is mixed: its safeguards allow assistance with agentic cyber exploit development and block fewer sensitive biological questions than reference U.S. models, but the model appears potentially more robust against agent hijacking and jailbreaking attacks than other

OpenCode Zen

Coverage

Simon Willison's June 17, 2026 writeup documents GLM-5.2's release by Chinese AI lab Z.ai: the model was made available to coding-plan subscribers on June 13, 2026, with full open weights released under an MIT license on June 16, 2026. It is a 753B-parameter Mixture-of-Experts model with 40 active parameters, weighing Citing Artificial Analysis's Intelligence Index v4.1, the post reports GLM-5.2 scored 51, making it the leading open-weights model ahead of MiniMax-M3 (44), DeepSeek V4 Pro max (44), and Kimi K2.6 (43), though it is more token-hungry at roughly 43k output tokens per Intelligence Index task versus 24k for MiniMax-M3. GL

OpenCode Zen

CoverageAnalysis

Artificial Analysis reported on June 16, 2026 that Z.ai's GLM-5.2 is the new leading open-weights model on the Artificial Analysis Intelligence Index, scoring 51 and sitting on the Pareto frontier of Intelligence vs Cost per Task. GLM-5.2 has the same architecture size as GLM-5.1 (744B total / 40B active parameters) bu Key benchmark gains over GLM-5.1 include scientific reasoning improvements led by CritPt (+16 to 21%) and HLE (+12 to 40%), plus AA-LCR (+9 to 71%), tau3 banking (+15 to 27%), SciCode (+7 to 50%), TerminalBench v2.1 (+16 to 78%), and GPQA Diamond (+3 to 89%). GLM-5.2 scores 1524 on GDPval-AA v2, placing it ahead of Min

OpenCode Zen

CoverageBenchmark

The GLM Benchmarks page compiles all 17 published GLM-5.2 benchmark results, focused heavily on long-horizon coding and agent evaluations. On three long-horizon benchmarks—FrontierSWE (tasks up to 20 hours), PostTrainBench (up to 10 hours on a single H100), and SWE-Marathon—GLM-5.2 is the highest-ranked open-source mod Generation-over-generation gains from GLM-5.1 to GLM-5.2 are uneven across benchmarks: +3.7 on SWE-bench Pro (62.1), +28.2 (2.6×) on DeepSWE (46.2), +17.5 on Terminal-Bench 2.1 (81.0), +6.2 on NL2Repo (48.9), +12.8 on ProgramBench (63.7), +5.0 on MCP-Atlas (76.8), +7.5 on Tool-Decathlon (48.2), and +9.5 on HLE (40.5).

OpenCode Zen

CoverageBenchmark

Semgrep published benchmark results on June 22, 2026 showing that GLM-5.2, an open-weight model, outperformed Claude Opus 4.8 on their internal IDOR benchmark when given only a prompt, without additional tools. The test reused the same IDOR dataset and prompt that Semgrep uses to evaluate frontier coding agents. Semgrep framed the finding as a notable result for open-weight coding agents in agentic security tasks, characterizing GLM-5.2 as the leading open-weight option among models tested with that prompt-only setup. The post was authored by Katie Paxton-Fear, Seth Jaksik, Brenden Noblitt, and Erik Buchanan as part of Semgrep

OpenCode Zen

Coverage

The full CAISI assessment PDF (dated July 8, 2026) is a 21-page document that systematically evaluates GLM-5.2 across overall capabilities, cyber capabilities, agent security, and safeguards, comparing it against historical frontier U.S. and PRC models. Its executive summary confirms GLM-5.2 was released as an open-wei The assessment structure includes detailed sections on CAISI Results for each capability dimension, plus appendices covering evaluation results, benchmark descriptions, evaluation setup, and Item Response Theory methodology. The scope section explicitly states the report aims to assess capabilities, security, and safeg

Videos about GLM-5.2

More models around GLM-5.2