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

Model details

GLM 5.2

GLM-5.2 is positioned in community discussion as a leading open-weight text model, with one widely circulated LessWrong write-up declaring it "The New Best Open Model" and benchmarking it favorably against frontier closed systems. The model's lineage has drawn attention because the same write-up highlights a section claiming it was distilled from a Claude-series model, a claim that has shaped much of the early conversation around its capabilities and provenance. Practical reviewers in the Hacker News thread describe it as "a good performer" in security bug-hunting evaluations, while Semgrep's cybersecurity testing reported the best open-weight model outperforming Claude Opus 4.8 in their internal evaluations among prompt-only setups, underscoring competitive strength in security-oriented reasoning tasks.

For practical deployment, GLM-5.2 combines reasoning, tool calling, and temperature control in a text-in, text-out configuration, making it a flexible general-purpose engine rather than a narrow specialist. The model's open-weight availability appeals to teams that want local control or self-hosting, while its tool-calling support lets it slot into agentic pipelines that need structured reasoning and reliable instruction-following. Its presence in mainstream product and AI engineering podcasts shortly after release suggests growing real-world adoption, particularly among builders integrating it alongside tools like Claude Code for coding and product workflows. The combination of open weights, strong reasoning, and competitive coding/security performance makes it a practical fit for teams that want frontier-style behavior without relying solely on closed providers.

Merge Gatewayzai/glm-5.2glm

Quick Info

Powered by
Provider
Merge Gateway
Model key
zai/glm-5.2
Release date
Jun 13, 2026
Last updated
Jun 13, 2026
Input modalities
Output modalities
Capabilities

Cost

Input token cost
$1.05
Output token cost
$3.30

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

Vercel AI Gateway

Official sourceAnnouncement

Z.ai (Zhipu AI) announced GLM-5.2 as its latest flagship model engineered for long-horizon tasks, published on its official blog dated June 16, 2026. The model delivers a solid 1-million-token context window that the vendor says holds up under sustained coding-agent workloads, and introduces a new architecture componen On three long-horizon coding benchmarks reported by Z.ai, GLM-5.2 trails Claude Opus 4.8 by only 1% on FrontierSWE while edging out GPT-5.5 by 1% and Opus 4.7 by 11%; on PostTrainBench, where each agent is given an H100 GPU for model post-training, GLM-5.2 ranks second only to Opus 4.8, outperforming both Opus 4.7 and

Vercel AI Gateway

CoverageAnalysis

A Baidu Cloud technical analysis dated September 7, 2026 examines GLM-5.2's architecture and performance, confirming the model maintains the GLM-5 series' 744 billion total parameters with 40 billion activated parameters per token. The article attributes the model's long-context efficiency to a sparse attention mechani The Baidu analysis reports benchmark results including a 32% improvement in long-sequence reasoning scores versus GLM-5.1 in KingBench 3 testing and 91% code completion accuracy in cross-file reference scenarios, positioning GLM-5.2 as outperforming multimodal models limited to 256K context windows in complex engineeri

Merge Gateway

CoverageBenchmark

I added GLM 5.2 to my security bug hunting benchmark when it came out, and found it to be a good performer, but not the best open model. The ...

Merge Gateway

CoverageBenchmark

Among models given nothing but a prompt, the best open-weight option beat Claude Opus 4.8.

Vercel AI Gateway

CoverageRelease Notes

Featherless published a Day Zero launch breakdown on 2026-06-18 confirming that GLM-5.2 ships as a Mixture-of-Experts model roughly 753B parameters in size with about 39B parameters activated per token, released by Z.ai under an MIT license and exposed through an OpenAI-compatible API. The piece attributes the version- The same post lists concrete benchmark deltas attributed to GLM-5.2 versus predecessor GLM-5.1: Terminal-Bench 2.1 rose from 63.5 to 81.0, SWE-bench Pro from 58.4 to 62.1, FrontierSWE from 30.5 to 74.4, and SWE-Marathon from 1.0 to 13.0, with reasoning gains on AIME 2026 (95.3 to 99.2) and GPQA-Diamond (86.2 to 91.2).

Vercel AI Gateway

Coverage

NVIDIA's NGC catalog lists zai-org GLM-5.2, describing it as a flagship long-horizon reasoning and coding model from Z.AI that builds on GLM-5.1 with a solid 1M-token context, stronger coding, and flexible thinking effort levels. The upstream GLM-5 GitHub card is cited as a 744B-parameter Mixture of Experts model with 40B active parameters. The same listing notes NVIDIA packages GLM-5.2 as an Inference Microservice for GPU-accelerated deployment through NGC, with signed FP8 and NVFP4 artifacts, and an NGC release date of June 30, 2026. The page explicitly states the model is not owned or developed by NVIDIA, keeping creation with Z.AI, and lists the use case as repository-scale coding, tool use, terminal operations, and multi-step reasoning.

Vercel AI Gateway

Official sourceDocumentation

Z.AI's official developer documentation for GLM-5.2 lists the exact variant's interface characteristics: text input and output, a 1M context length, 128K maximum output tokens, multiple thinking modes, streaming output, function calling, context caching, structured output support such as JSON, and flexible integration of external MCP tools and data sources. The documentation positions GLM-5.2 around project-scale engineering, describing codebase takeover tasks where the model retains module boundaries, API contracts, directory structures, and prior engineering judgments across long sessions. It says a single task can carry the full workflow from requirements through deployment on multiple platforms, with more stable long-task execution and higher success in development scenarios.

Vercel AI Gateway

Coverage

Z.ai's Hugging Face model card introduces GLM-5.2 as its flagship model for long-horizon tasks, claiming a substantial leap over predecessor GLM-5.1 and, for the first time, a solid 1M-token context that stably sustains long-running work. The release is fully open under an MIT license, with no regional or technical access restrictions. Architecture work includes IndexShare, which reuses the same indexer across every four sparse attention layers to cut per-token FLOPs by 2.9x at 1M context, plus an improved MTP layer for speculative decoding that raises acceptance length by up to 20%. The card also lists vendor-reported benchmarks including AIME 2026 at 99.2 and SWE-bench Pro at 62.1, and notes a newer GLM-5.3-BF16 release exists.

Vercel AI Gateway

CoverageBenchmark

A third-party review on aiforanything.io covers Zhipu AI's GLM-5.2, reporting a release date of June 13, 2026, and listing confirmed specs: a Mixture-of-Experts architecture with 744 billion total parameters and 40 billion active parameters per token, a 1,000,000-token input context window, a maximum output of 131,072 The review positions GLM-5.2 as the strongest open model for coding and agentic work, citing pricing roughly 10× cheaper than comparable frontier access (with a GLM Coding Plan starting at roughly $10/month), but flags that Zhipu shipped it without published benchmarks in the reviewer's view, meaning performance claims

Vercel AI Gateway

Official sourceRelease Notes

Z.ai's official developer release-notes index explicitly lists GLM-5.2 as a 2026-06-16 entry, distinct from later GLM-5.3 (2026-08-18) and GLM-5.3-Flash (2026-08-26) entries, helping fix the exact version under discussion. The GLM-5.2 entry states the model supports 1M lossless context, significantly improving long-hor By enumerating GLM-5.1, GLM-5.2, GLM-5.3, and GLM-5.3-Flash as separate line items with their own dates, the release-notes page functions as a version discriminator that rules out inadvertently splicing sibling-family evidence onto GLM-5.2. The page is first-party Z.ai material, so creator attribution to Z.ai (Zhipu) i

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