Inteligencia Artificial

GLM-5.2 beats GPT-5.5 in code, but deployment requires a datacenter

Z.ai's open-source model marks a milestone in programming, though its massive size limits adoption to large enterprises.

June 24, 2026 · 5 min read

cable network

TL;DR: GLM-5.2 from Z.ai (ex Zhipu AI) surpasses GPT-5.5 in programming benchmarks like FrontierSWE and SWE-bench Pro, with MIT license. However, its hundreds of billions of parameters require a datacenter for local execution, limiting accessibility.

What happened?

Z.ai —the Chinese company formerly known as Zhipu AI— has released GLM-5.2, an open-source language model with MIT license that, according to independent benchmarks, surpasses OpenAI's GPT-5.5 in programming tasks. On the FrontierSWE benchmark, which measures the ability to solve real software issues, GLM-5.2 achieved 74.4%, compared to GPT-5.5's 72.6%. On SWE-bench Pro it scored 62.1% versus 58.6%, and on Terminal-Bench 2.1 it was the first open model to exceed 80% (81.0%), far above its predecessor GLM-5.1's 63.5%.

The model uses a Mixture-of-Experts architecture with between 744 and 754 billion total parameters, of which 40 billion are active per token. Its context window reaches 1 million tokens in production and 12 million in research. It is available on Hugging Face and ModelScope, with support for multiple inference frameworks such as Transformers, vLLM, SGLang, xLLM, and ktransformers, including FP8 quantized versions to reduce hardware requirements.

This release marks a milestone in the Chinese competition for open-source AI leadership. Z.ai, founded in 2019 by Professor Tang Jie from Tsinghua University, has received investments from Alibaba, Tencent, and Meituan, and was valued at over $2 billion in 2024. GLM-5.2 arrives after DeepSeek, another Chinese lab, lost momentum with its V4 model, which failed to achieve significant coding advances. According to Ecosistema Startup data, GLM-5.2 is the first open model to surpass GPT-5.5 on multiple programming benchmarks, consolidating Z.ai as the new benchmark for Chinese open source.

Why is it important?

The MIT license allows any organization to download the weights, deploy them on their own infrastructure, and use them commercially without paying for API or being subject to usage limits. This breaks dependence on providers like OpenAI or Anthropic, whose frontier models are closed and expensive. However, the model's size means that local execution requires a datacenter with multiple high-end GPUs (such as H100 or equivalent), which is inaccessible to most startups and individual developers. FP8 quantized versions reduce requirements, but they are still high: it is estimated that at least 8 H100 GPUs with 80 GB of memory each are needed for efficient inference, representing an investment of hundreds of thousands of dollars.

This release comes at a key moment: DeepSeek, the Chinese lab that led the open-source narrative, has seen its progress stagnate with DeepSeek V4. GLM-5.2 fills that gap and demonstrates that Z.ai can compete at the coding frontier, albeit with a significant entry barrier. Additionally, the geopolitical context is relevant: U.S. export restrictions on advanced GPUs to China have forced Chinese companies to optimize their models for locally available hardware, such as Huawei (Ascend) GPUs or domestically manufactured ones. Z.ai claims that GLM-5.2 was partly trained on domestic chips, reducing dependence on NVIDIA.

For businesses, the economic impact is clear: Z.ai's API costs six times less than GPT-5.5's, according to sources cited by WWWhat's new. This can drastically reduce operational costs for startups and SMEs needing advanced coding capabilities. However, the total cost of ownership (TCO) for local deployment remains prohibitive for most, so the API will be the preferred option until lighter versions emerge or hardware becomes cheaper.

Consequences and analysis

For large tech companies, GLM-5.2 offers a viable alternative to proprietary models, especially in programming tasks. They can deploy it internally without worrying about API costs or usage limits, reducing total cost of ownership. For startups and small teams, the most practical option will be to use Z.ai's API, which according to sources costs six times less than GPT-5.5's.

The programming performance is impressive but not absolute: Anthropic's Claude Opus 4.8 still surpasses it on FrontierSWE (75.1%), albeit by less than a point. Additionally, the model has not been evaluated in other areas such as general reasoning or creativity, where GPT-5.5 might maintain an advantage. Results on benchmarks like MMLU (general knowledge) or HellaSwag (common sense reasoning) have not been published, limiting comprehensive comparison. It is likely that GLM-5.2 is highly specialized in code, possibly due to intensive fine-tuning on programming data, at the expense of other capabilities.

The main limitation is infrastructure. Running GLM-5.2 at its maximum performance requires multiple H100 GPUs or equivalent, something only large corporations or cloud providers can afford. Quantized versions (FP8) reduce requirements, but they are still high: it is estimated that at least 320 GB of aggregate GPU memory is needed to load the 40 billion active parameters. This contrasts with smaller models like Llama 3.1 70B, which can run on a single A100 GPU. Democratization of open-source AI is not just about licenses, but also about computational accessibility.

Historically, the trend in open-source models has been toward increasing sizes: from Llama 2's 7B parameters to Llama 3.1's 405B, and now GLM-5.2's 754B. However, this contradicts the goal of democratization, as only actors with large resources can leverage them. On the other hand, competition between DeepSeek and Z.ai has accelerated innovation: DeepSeek V3 had already achieved competitive performance with GPT-4, and now GLM-5.2 surpasses GPT-5.5. This pace suggests that the gap between open and closed models is closing rapidly, at least in specific domains like programming.

What should readers know?

  • GLM-5.2 is the best open-source model for programming, surpassing GPT-5.5 on several benchmarks.
  • Its MIT license allows unrestricted commercial use, but local deployment requires datacenter infrastructure.
  • Z.ai's API is much cheaper than OpenAI's, ideal for startups that cannot afford their own hardware.
  • DeepSeek V4 has fallen behind; Z.ai is now the Chinese open-source benchmark in code.
  • The model still lags behind Claude Opus 4.8 on some benchmarks, so it is not the absolute best.
  • The geopolitical context and export restrictions have driven Z.ai to optimize for Chinese hardware, which could have long-term implications for the AI supply chain.

"GLM-5.2 represents a significant advance for open source in programming, but its true democratization will depend on the necessary infrastructure becoming cheaper or lighter versions emerging. Meanwhile, Z.ai's API is an affordable and powerful alternative for those who cannot afford a datacenter." — Analyst at TheVortiq

In summary, GLM-5.2 is a technical milestone demonstrating Z.ai's ability to compete at the AI frontier, but its practical impact is limited by high hardware requirements. Companies will need to assess whether the cost of own infrastructure offsets API savings, or if it is better to opt for the more economical route of Z.ai's API. The future of open-source AI depends not only on model quality but also on the accessibility of the computing needed to run them.

Keep reading