GLM-5.1: The Open-Source Model That Beat GPT-5.4 With Zero Nvidia Chips


AI processor chips representing the GLM-5.1 open-source model trained on Huawei hardware

A week ago, a Chinese AI company most Western developers had never heard of dropped a 754-billion parameter model under an MIT license. GLM-5.1 from Z.ai — formerly Zhipu AI — hit 58.4 on SWE-Bench Pro, topping GPT-5.4 at 57.7 and Claude Opus 4.6 at 57.3. It runs autonomously for eight hours straight. And it was trained entirely on Huawei Ascend 910B chips — not a single Nvidia GPU touched the process.

That last detail is what makes this more than a benchmark story. GLM-5.1 is a proof of concept that the U.S. export controls designed to keep China behind in AI may already be failing.

What GLM-5.1 Actually Is

GLM-5.1 is a post-training upgrade to Z.ai’s GLM-5 base model, released on April 7, 2026. The architecture is a 744-billion parameter Mixture-of-Experts (MoE) design with 256 experts, 8 active per token, resulting in roughly 40 billion active parameters per inference pass. That MoE approach keeps inference costs manageable despite the massive total parameter count.

The model supports a 200,000 token context window and can generate up to 128,000 output tokens in a single response. It uses Dynamic Sparse Attention — borrowed from DeepSeek’s research — to handle long contexts without the quadratic memory explosion that plagues standard attention mechanisms.

The licensing is dead simple: MIT. No usage restrictions, no commercial limitations, no geographic carve-outs. Weights are on Hugging Face, the code is on GitHub, and you can pull it from Ollama for local deployment.

The Benchmark Numbers in Context

The headline number — 58.4 on SWE-Bench Pro — is real but requires context. SWE-Bench Pro tests a model’s ability to solve real-world software engineering tasks from open-source repositories. GLM-5.1 leads GPT-5.4 (57.7) and Claude Opus 4.6 (57.3) on this specific benchmark.

But benchmarks never tell the whole story. On the broader coding composite that includes Terminal-Bench 2.0 and NL2Repo, Claude Opus 4.6 still leads at 57.5 versus GLM-5.1’s 54.9. And on general reasoning tasks, the closed-source frontier models maintain clear advantages.

What makes GLM-5.1’s performance significant isn’t that it’s definitively “better” than GPT-5.4 or Claude — it’s that an open-source model, trained without any Nvidia hardware, is competing at the frontier on the benchmark that matters most for AI agents and autonomous coding.

Key Benchmark Scores

Benchmark GLM-5.1 GPT-5.4 Claude Opus 4.6
SWE-Bench Pro 58.4 57.7 57.3
Terminal-Bench 2.0 + NL2Repo 54.9 56.1 57.5
Code Arena (open-weight ranking) #1 N/A (closed) N/A (closed)

Eight-Hour Autonomous Coding: What That Means

The most distinctive capability of GLM-5.1 isn’t raw benchmark performance — it’s sustained autonomous execution. The model manages a full “plan, execute, test, fix, optimize” loop for up to eight hours without human intervention.

Z.ai demonstrated this by having GLM-5.1 build a complete Linux desktop environment from scratch, running 655 iterations and increasing vector database query throughput to 6.9 times the initial production baseline. The model doesn’t just write code and move on. It runs tests, catches failures, revises its strategy, and iterates. The longer it runs, the better the output.

This is the kind of capability that makes GLM-5.1 relevant to the AI agent stack conversation. An open-source model that can autonomously debug and optimize code for eight hours changes the economics of agentic software development — especially when that model is free.

Multiple developers who tested GLM-5.1 on complex, multi-file engineering tasks confirmed that the self-review loops are where the model genuinely shines. It catches its own mistakes with a consistency that surprised even skeptical reviewers.

The Huawei Chip Story: Why It Matters

Here’s where GLM-5.1 becomes a geopolitical story, not just a technology one.

The entire GLM-5 family was trained on approximately 100,000 Huawei Ascend 910B chips using the MindSpore framework. Z.ai (Zhipu AI) has been on the U.S. Entity List since January 2025, which severely restricts the company’s ability to acquire American-made AI accelerators. They had no choice but to use domestic hardware.

Training required approximately 15% more compute time than an equivalent Nvidia run for a similar-scale model. Z.ai compensated through cluster scale and software optimization. The “Slime” asynchronous reinforcement learning infrastructure they built for post-training parallelizes RL training across the Ascend compute cluster in ways that partially offset the hardware gap.

For anyone tracking the AI compute crisis, this is a significant data point. The assumption underlying U.S. export controls is that restricting Nvidia GPU access will slow Chinese AI development. GLM-5.1 suggests the slowdown is measured in months, not years — and the gap is narrowing.

This also matters for the sovereign AI infrastructure debate. Any country that can’t access Nvidia hardware now has a proof point that frontier models can be trained without it.

Z.ai: The Company Behind GLM-5.1

Z.ai, formerly Zhipu AI, was founded in 2019 by researchers from Tsinghua University. On January 8, 2026, the company completed a Hong Kong IPO, raising approximately HK$4.35 billion (roughly $558 million). Shares closed at HK$131.50 on the first day, up 13.1% from the offer price of HK$116.20, giving the company a market capitalization of approximately HK$57.89 billion.

That makes Z.ai the first publicly traded foundation model company in the world. While OpenAI and Anthropic are exploring IPOs, Z.ai already completed one. The company generates revenue through its API platform, enterprise solutions, and the BigModel ecosystem that wraps around the GLM family.

The IPO is relevant because it signals a maturation of the Chinese AI industry. This isn’t a lab publishing research papers — it’s a publicly traded company shipping production models under MIT license and competing at the frontier.

What This Means for Open-Source AI

GLM-5.1 joins Google Gemma 4 and Meta’s Llama family in the growing open-source AI ecosystem. But GLM-5.1’s positioning is unique:

For developers: An MIT-licensed model that hits frontier performance on coding tasks is a direct alternative to expensive API calls. If your workload is code generation, refactoring, or autonomous debugging, GLM-5.1’s free weights on Hugging Face eliminate the per-token cost entirely — assuming you have the inference infrastructure.

For enterprises: The 40B active parameter design makes inference tractable on high-end GPU clusters. You’re not running 754B parameters per forward pass. With quantization and proper deployment, teams running open-source versus closed AI evaluations now have a credible open-source option for coding workflows.

For the industry: The fact that the top SWE-Bench Pro model is open-source, MIT-licensed, and trainable without Nvidia hardware breaks three assumptions simultaneously. It challenges the closed-source moat, the licensing moat, and the hardware moat.

The Limitations You Should Know

GLM-5.1 is not a general-purpose replacement for GPT-5.4 or Claude Opus 4.6. Its optimization is heavily weighted toward software engineering and agentic coding tasks. On general reasoning, creative writing, and multimodal capabilities, the closed-source frontier models maintain clear leads.

The 754B parameter count also means local deployment is non-trivial. Even with MoE’s 40B active parameter efficiency, you need substantial hardware for inference. The Ollama integration helps, but running this locally requires significantly more resources than a 7B or 13B model.

There’s also the question of ecosystem maturity. Claude and GPT-5.4 have extensive tool integration, API ecosystems, and enterprise support infrastructure. GLM-5.1 has weights and documentation. For production deployment at scale, the support gap is real.

Finally, independent verification of all benchmark claims is still ongoing. The SWE-Bench Pro score is confirmed by the leaderboard maintainers, but the eight-hour autonomous execution demos come primarily from Z.ai’s own testing. Third-party validation of sustained performance across diverse real-world codebases is still accumulating.

What to Watch Next

Three things will determine whether GLM-5.1 is a milestone or a footnote:

  1. Community adoption speed. If developers build meaningful tooling around GLM-5.1 the way they did around Llama, the model becomes a platform. If it stays a benchmark curiosity, it won’t matter.
  2. The U.S. policy response. If a frontier model trained on zero Nvidia hardware doesn’t prompt a reassessment of export control strategy, nothing will. Watch for Congressional hearings and Commerce Department statements in the coming weeks.
  3. Z.ai’s next move. As a publicly traded company, Z.ai has both the capital and the pressure to iterate quickly. Whether GLM-5.2 closes the gap on general reasoning — or whether Z.ai doubles down on the coding niche — will signal the company’s ambitions.

For practitioners evaluating their AI coding tools, GLM-5.1 is worth testing today. It’s free, it’s MIT-licensed, and on the specific task of autonomous software engineering, it’s currently the best model on the planet. That sentence would have been unthinkable six months ago.

FAQ

What is GLM-5.1 and who made it?

GLM-5.1 is a 754-billion parameter open-source AI model built by Z.ai (formerly Zhipu AI), a Tsinghua University spinoff that became the first publicly traded foundation model company after its January 2026 Hong Kong IPO. The model specializes in autonomous software engineering tasks and is released under the MIT license.

Is GLM-5.1 really better than GPT-5.4 and Claude Opus 4.6?

GLM-5.1 scores 58.4 on SWE-Bench Pro, slightly ahead of GPT-5.4 (57.7) and Claude Opus 4.6 (57.3) on that specific benchmark. However, Claude Opus 4.6 still leads on broader coding composites and both closed-source models outperform GLM-5.1 on general reasoning and multimodal tasks. GLM-5.1’s strength is specifically in autonomous, long-horizon coding work.

Can I run GLM-5.1 locally?

Yes, GLM-5.1 weights are available on Hugging Face and Ollama. However, the 754B total parameter count means local deployment requires substantial GPU infrastructure. The MoE architecture activates only 40B parameters per token, which helps, but you’ll still need high-end hardware. Quantized versions are available for more modest setups.

Why does it matter that GLM-5.1 was trained without Nvidia GPUs?

GLM-5.1 was trained entirely on approximately 100,000 Huawei Ascend 910B chips because Z.ai is on the U.S. Entity List and cannot purchase Nvidia hardware. The fact that a frontier-competitive model was trained without any American-made AI accelerators challenges the effectiveness of U.S. export controls and demonstrates that alternative compute paths to frontier AI performance exist.

What is the eight-hour autonomous coding capability?

GLM-5.1 can autonomously plan, write, test, debug, and optimize code for up to eight hours without human intervention. Z.ai demonstrated this by having the model build a Linux desktop environment from scratch over 655 iterations, improving vector database throughput by 6.9x. The model’s self-review loops allow it to catch and fix its own errors across extended sessions.

Ty Sutherland

Ty Sutherland is the Chief Editor of AI Rising Trends. Living in what he believes to be the most transformative era in history, Ty is deeply captivated by the boundless potential of emerging technologies like the metaverse and artificial intelligence. He envisions a future where these innovations seamlessly enhance every facet of human existence. With a fervent desire to champion the adoption of AI for humanity's collective betterment, Ty emphasizes the urgency of integrating AI into our professional and personal spheres, cautioning against the risk of obsolescence for those who lag behind. "Airising Trends" stands as a testament to his mission, dedicated to spotlighting the latest in AI advancements and offering guidance on harnessing these tools to elevate one's life.

Recent Posts