IA al Día
Back to archive
Models analysis Jul 2, 2026 3 min read

GLM-5.2 and the Chinese open-source bet on agent models

Zhipu AI released GLM-5.2, a 753-billion-parameter open-weights model under the MIT license with a one-million-token context window and MCP support. On coding benchmarks it competes with Claude Opus 4.8 and GPT-5.5 at roughly one-fifth the price.

primary source · z.ai — Z.ai — GLM-5.2

With U.S. frontier models under access restrictions, the Chinese open-source ecosystem is receiving unusual attention. The most recent launch is GLM-5.2 from Zhipu AI: an open-weights language model published under the MIT license, with 753 billion parameters, a one-million-token context window, maximum output of 128,000 tokens, and native support for function calling, structured output, context caching, and MCP.

Other Chinese models are circulating too. This is the one that has shown the clearest integration with Western developer tools so far.

What is GLM-5.2

GLM-5.2 is Zhipu AI’s (Z.ai) flagship long-context model. According to published tests and the official documentation, it is optimized for coding tasks, analysis of extensive documents, and agent-based workflows. Its standout technical features include:

  • 753 billion parameters released as open weights under the MIT license.
  • One-million-token context window and maximum output of 128,000 tokens.
  • MCP support (Model Context Protocol), allowing connection to external tools.
  • Function calling and structured output, requirements for agent workflows.
  • Context caching, to reduce costs in long conversations.

The model is text-in, text-out. It does not handle images or audio, at least in its initial version.

Benchmark performance

In the tests published during the first weeks of the launch, GLM-5.2 performed close to the closed frontier models:

  • FrontierSWE: within 1 percentage point of Claude Opus 4.8, ahead of GPT-5.5 and Opus 4.7.
  • PostTrainBench: surpasses Opus 4.7 and GPT-5.5, second only to Opus 4.8.
  • Terminal-Bench 2.1: reaches 81.0, compared to Opus 4.8’s 85.0 and ahead of Gemini 3.1 Pro.
  • SWE-bench Pro: competitive results, although Meituan’s LongCat 2.0 shows higher numbers in some subtests.

On the cost side, GLM-5.2 is offered at approximately one fifth the price of U.S. frontier models. In high-volume coding tasks, that difference changes the economics of the product.

Where it can be used

GLM-5.2 is available on the Z.ai platform, via API, and appears as an integrated option in Cursor, Open Code, and Codex. The model is too heavy to run on consumer hardware: 753B parameters do not fit in a single workstation, and its availability as a service closes that gap.

With that integration, the model can be inserted into the workflows developers already use.

Comparison with LongCat 2.0

On the same day that GLM-5.2’s first tests were circulating, another Chinese model appeared on the radar: LongCat 2.0, presented as the open-source version behind the free Owl Alpha API. LongCat 2.0 is a MoE model of 1.6 trillion parameters with ~48B active per token, trained and deployed entirely on a cluster of more than 50,000 domestic Chinese AI ASICs, without NVIDIA GPUs.

The NVIDIA supply chain is the main pressure point of U.S. sanctions. If China can train frontier models without NVIDIA, the geopolitical dependence on AI compute starts to relax on the hardware side. LongCat 2.0 also introduces LongCat Sparse Attention (LSA), an evolution of DeepSeek Sparse Attention, and 135B parameters of N-gram Embedding.

What it means for the market

Even without surpassing Claude Opus 4.8 or GPT-5.5 in every task, GLM-5.2 offers a useful combination — very long context, agent support, competitive cost, open weights — within an ecosystem that does not depend on U.S. providers.

At a time when access to Fable 5 can be suspended by government decision, that technological independence is a selling point.