The open-weight nature of GLM-5.2—available under an MIT license on Hugging Face—has been a key driver. US developers and enterprises can download the full model weights, self-host them on their own infrastructure, and completely bypass reliance on Chinese cloud APIs . This allows teams to capture the cost and performance advantages without sending proprietary code to Chinese servers, though it requires trusting the model weights themselves.
GLM-5.2 is the strongest open-weight coding model as of June 2026 . It scored 62.1 on SWE-bench Pro, surpassing GPT-5.5's 58.6 and approaching Claude Opus 4.8's 69.2
. On Terminal-Bench 2.1, it reached 81.0, landing within four points of Claude Opus 4.8's 85.0
. On FrontierSWE, a benchmark for long-horizon technical projects, it scored 74.4%, ahead of GPT-5.5's 72.6% and just behind Claude Opus 4.8's 75.1%
.
The model also achieved 51 points on the Artificial Analysis Intelligence Index v4.1, placing it fourth overall—behind only Claude Fable 5, Claude Opus 4.8, and GPT-5.5—and first among all open-weight models . On the blind Code Arena front-end benchmark, it ranked second globally and first among open-source models
. It scored 1,524 on GDPval-AA v2 (human benchmark: 1,000), matching GPT-5.5 in reasoning benchmarks
.
Beyond raw scores, GLM-5.2 handles a 1-million-token lossless context window—5x larger than its predecessor GLM-5.1—making it particularly suited for long-range coding tasks and complex system engineering .
Z.ai's official API pricing for GLM-5.2 is $1.40 per million input tokens and $4.40 per million output tokens, with cached input at $0.26 per million tokens . For comparison, GPT-5.5 costs roughly $5 per million input tokens and $30 per million output tokens, totaling about $35 per million tokens for combined input/output
. This makes GLM-5.2 approximately one-sixth the blended cost of GPT-5.5 and about 4x cheaper than Claude Opus 4.8
.
For enterprises with their own GPU infrastructure, self-hosting the model weights is free under the MIT license, eliminating API costs entirely . Z.ai also offers a GLM Coding Plan starting at roughly $18 per month for flat-rate access
.
The very capabilities that make GLM-5.2 attractive for legitimate coding also raise alarm among security researchers. Axios reported that its agentic coding abilities make advanced hacking capabilities "dramatically cheaper and more accessible" to attackers . Two separate security evaluations from Graphistry and Semgrep found that GLM-5.2 performed on par with leading US models on cybersecurity investigation and vulnerability detection tasks
.
Specifically, GLM-5.2 scored 39% F1 on finding a common software vulnerability class, beating Anthropic's Claude Code—and performed on par with Anthropic's restricted Claude Mythos at a fraction of the cost . This has intensified concerns inside the US government about whether export controls are effectively limiting Chinese AI advancement
.
Data-handling is another major concern. Z.ai's hosted API routes data through Chinese servers, raising compliance and data-sovereignty questions. While self-hosting avoids this, some teams remain reluctant to use any system from a company with ties to the Chinese government . US House lawmakers opened a formal inquiry in May into cybersecurity risks posed by PRC-origin AI models in critical infrastructure, naming Zhipu alongside DeepSeek, MiniMax, and ByteDance
.
GLM-5.2 represents a turning point in the US-China AI race. The gap between open-weight and closed-source frontier models has effectively closed: this is the first open-weight model to genuinely match proprietary US models on long-horizon coding benchmarks . A Chinese lab delivering GPT-5.5-class performance for one-sixth the cost—under an MIT license—pressures US AI companies to cut prices and consider opening their own models, reshaping the economics of the entire industry
.
The policy picture is murky. The US maintains export controls on advanced AI chips to China, yet Chinese labs are producing frontier models from within those constraints—suggesting the controls are not slowing Chinese AI advancement as intended . Washington has not yet answered whether MIT-licensed Chinese models should face new restrictions
. Zhipu has already announced GLM-5.5 for August 2026, indicating the pace of Chinese frontier AI releases is accelerating
.