๐Ÿ”“ Open Source AI

GLM-5 Open Source Model: MIT License, Top Coding Score 2026

Z.ai's GLM-5 arrived with a dramatic undercover debut and benchmarks that put it level with GPT-5 -- and it's free to download, self-host, and deploy commercially under MIT license.

By Free AI News Editorial ยท ยท ยท 9 min read

Quick Answer: GLM-5 is a 744B-parameter open-source AI model released by Z.ai in February 2026 under the MIT license. It scores 77.8% on SWE-bench Verified coding tasks and holds Elo 1530 on Code Arena -- the highest of any open-weight model. Weights are free to download on Hugging Face.

On February 6, 2026, an anonymous model called "Pony Alpha" appeared on OpenRouter with no identifying information. Within hours the AI community had clocked its performance -- strikingly close to Claude Opus 4.5 on coding tasks. When prompted with "who are you?" the model answered: "I am GLM." Five days later, Z.ai confirmed: Pony Alpha was GLM-5, a new open-source model trained on 28.5 trillion tokens and released free under the MIT license. The company's shares on the Hong Kong Stock Exchange jumped 60% in three days. That debut is a useful frame for understanding what GLM-5 represents in 2026: a model competitive with the best closed models in the world, available to anyone with a Hugging Face account.

What is GLM-5 and who built it?

GLM-5 comes from Z.ai, a Beijing-based company formerly known as Zhipu AI. Founded in 2019 as a spinoff from Tsinghua University, Z.ai rebranded internationally in 2025 and went public on the Hong Kong Stock Exchange (SEHK: 2513) in January 2026. The company is one of China's so-called "AI tiger" companies and the third-largest LLM market player in China according to the International Data Corporation.

The GLM name stands for General Language Model, a training algorithm Z.ai researchers published at ACL in 2022 using an "autoregressive blank infilling" strategy. GLM-5 is the fifth major iteration. It uses a Mixture-of-Experts (MoE) architecture with 744 billion total parameters and 40 billion active parameters per forward pass -- meaning that despite the enormous total parameter count, the actual compute cost per token is far lower than a dense model of the same size. The model was pre-trained on 28.5 trillion tokens, up from 23 trillion in its predecessor GLM-4.5.

One technical detail that carries significant geopolitical weight: GLM-5 was trained entirely on Huawei Ascend chips, with no NVIDIA hardware involved. The US Commerce Department had placed Z.ai (then Zhipu AI) on its Entity List in January 2025 due to national security concerns, restricting US companies from exporting certain technologies to the firm. GLM-5's Huawei-only training pipeline is a direct demonstration that China can develop frontier-class models without access to US-controlled hardware.

Abstract visualization of neural network connections representing open source AI architecture
GLM-5's MoE architecture activates 40B of 744B parameters per token -- enabling frontier performance at lower inference cost. Photo: Unsplash

What benchmark scores has GLM-5 achieved?

GLM-5 and its successor GLM-5.1 post results that match or exceed several closed frontier models on key benchmarks. Here is how GLM-5 compares against leading models as of mid-2026, based on Z.ai's published benchmark data:

Benchmark GLM-5 DeepSeek-V3.2 Claude Opus 4.5 GPT-5.2
SWE-bench Verified 77.8% 73.1% 80.9% 80.0%
HLE (w/ Tools) 50.4% 40.8% 43.4% 45.5%
AIME 2026 I 92.7% 92.7% 93.3% --
HMMT Nov. 2025 96.9% 90.2% 91.7% 97.1%
GPQA-Diamond 86.0% 82.4% 87.0% 92.4%

The standout number is the HLE (Humanity's Last Exam) with Tools score: at 50.4%, GLM-5 outperforms both Claude Opus 4.5 and GPT-5.2. This benchmark tests complex multi-step reasoning using external tool calls -- the kind of task that matters for real-world agentic workflows. For teams building autonomous agents, GLM-5's lead here is meaningful.

On the Code Arena leaderboard, GLM-5.1 holds an Elo rating of 1530, making it the top-ranked open-source model for coding tasks. The overall BenchLM.ai provisional score for GLM-5.1 is 82/100, placing it 19th out of 119 evaluated models -- ahead of many paid-only alternatives that cost $20 to $200 per month to access.

How can you download and run GLM-5 for free?

There are three practical ways to access GLM-5 without spending money:

For teams that need cloud deployment without managing their own GPU cluster, Spheron and other GPU-cloud providers offer one-click GLM-5.1 deployments billed by compute hour. NVIDIA has also released an optimized NVFP4 quantized version (nvidia/GLM-5.1-NVFP4 on Hugging Face) designed for high-throughput inference on NVIDIA hardware -- a somewhat ironic development given that GLM-5 itself was trained entirely on Huawei chips.

See our open-source AI models directory for a full list of MIT-licensed models you can self-host today.

Developer working on code deployment with multiple screens showing terminal output
GLM-5 can be deployed via Unsloth GGUF builds on consumer hardware or via cloud GPU providers for full-precision inference. Photo: Unsplash

How does GLM-5 compare to other leading open-source models?

The open-source AI landscape in mid-2026 is remarkably competitive. GLM-5 competes directly with several other major releases from the same period, all freely available:

According to the iternal.ai LLM selection guide, the gap between open-source and proprietary models has "effectively closed for coding tasks" in 2026. GLM-5.1's Code Arena Elo of 1530 sits alongside MiniMax M2.5's SWE-bench score as evidence of this shift. For developers who previously assumed they needed a Claude or GPT subscription for serious coding work, the free alternatives now rival or match those offerings on the metrics that matter most.

Check out our free vs paid AI model comparison to see exactly where each open-source model lands against its paid competitors.

What is GLM-5.1 and what changed from the original GLM-5?

GLM-5.1 is Z.ai's incremental update to GLM-5, released in the weeks following the original February 2026 launch. The architecture is the same -- 754B total parameters, 40B active -- but the post-training has been refined using Z.ai's proprietary slime RL framework, an asynchronous reinforcement learning infrastructure that the company developed to improve training throughput at scale.

The slime framework enables what Z.ai calls "more fine-grained post-training iterations" -- essentially more rounds of RLHF-style alignment and capability tuning than would be practical with traditional synchronous RL methods. The result is that GLM-5.1 shows incremental gains over GLM-5 on coding and agentic tasks without changing the underlying pre-trained model. Think of it as the same engine with better tuning.

GLM-5.1 also benefits from NVIDIA's NVFP4 quantization, which compresses the model's weights into a format optimized for NVIDIA GPU memory bandwidth. This makes full-scale cloud deployment significantly faster and cheaper on NVIDIA infrastructure -- again, somewhat ironic given GLM-5's chip-independent training story, but it demonstrates the model's pragmatic cross-platform reach.

What legal and geopolitical considerations should users know about?

GLM-5 is MIT licensed, which means nearly any use is permitted: commercial deployment, modification, redistribution, and self-hosting are all allowed with minimal restriction. For most individual developers and companies, there are no legal barriers to using GLM-5.

The more nuanced consideration involves Z.ai's place on the US Entity List. The Commerce Department blacklisted the company in January 2025, which restricts US persons from exporting certain controlled technologies to Z.ai. However, downloading and using the MIT-licensed model weights -- which Z.ai has publicly distributed -- is a different matter from exporting technology to Z.ai. Most legal analyses treat downloading and using open-source weights under a permissive license as distinct from the export control restrictions. That said, organizations in regulated sectors (defense, government contractors) should consult legal counsel before deployment.

There is also the "Pony Alpha" identity episode to consider. MIT researchers documented that GLM-series models identified themselves as Claude approximately 50% of the time when queried through non-standard methods -- a quirk that Z.ai has never publicly explained. It does not affect model performance, but it has been noted in enterprise evaluations where auditability of model identity matters.

For most developers, the practical reality is straightforward: GLM-5 and GLM-5.1 are freely available, MIT licensed, and benchmark-competitive with the world's best models. Track new open-source model releases as they happen via our free tier tracker.

๐Ÿ”‘ Key Takeaways

  • GLM-5 from Z.ai is MIT licensed and free to download on Hugging Face, making frontier-level AI accessible without any subscription cost.
  • Its Code Arena Elo of 1530 makes GLM-5.1 the top-ranked open-source model for coding tasks as of mid-2026, ahead of DeepSeek V4 and Kimi K2.5.
  • GLM-5 outperforms Claude Opus 4.5 and GPT-5.2 on HLE with Tools (50.4% vs 43.4% and 45.5%), making it especially strong for agentic workflows.
  • The model was trained entirely on Huawei Ascend chips despite US Entity List restrictions on Z.ai, demonstrating China's ability to build frontier AI without NVIDIA hardware.
  • Quantized GGUF builds from Unsloth let developers run GLM-5 locally via llama.cpp, lowering the hardware barrier for self-hosting significantly.

Frequently Asked Questions

Is GLM-5 completely free to use?

Yes. GLM-5 is released under the MIT license, meaning you can download the model weights from Hugging Face at no cost, run them on your own hardware, and use them commercially. Z.ai also offers a free API tier at chat.z.ai, though that has rate limits. Self-hosting via the Hugging Face weights has no usage cap.

How does GLM-5 compare to GPT-5 and Claude?

On several benchmarks GLM-5 competes with and occasionally beats closed frontier models. Its HLE with Tools score of 50.4% exceeds Claude Opus 4.5 (43.4%) and GPT-5.2 (45.5%). Its SWE-bench Verified score of 77.8% is close to Claude Opus 4.5 (80.9%). For pure coding, GLM-5.1 holds Elo 1530 on Code Arena -- the highest of any open-source model.

What is GLM-5.1 and is it different from GLM-5?

GLM-5.1 is Z.ai's updated release of the same base model. It shares the 754B total parameter count with 40B active parameters and the same MIT license. The architecture is essentially identical, but GLM-5.1 includes additional post-training iterations using Z.ai's slime RL framework, yielding stronger performance on code and agentic tasks. NVIDIA also released an optimized NVFP4 quantized version for faster inference.

Can I run GLM-5 locally on my own machine?

GLM-5 has 744B total parameters, which makes running the full model locally impractical for most consumer hardware. However, Unsloth maintains quantized GGUF versions that run on consumer GPUs via llama.cpp. The IQ2_M quantized variant is the most accessible. Spheron and other GPU cloud providers also offer one-click hosted deployment for teams needing full-precision inference.

Why was Z.ai added to the US Entity List?

The US Commerce Department added Z.ai (then Zhipu AI) to its Entity List in January 2025 citing national security concerns. This restricts US companies from exporting certain technologies to Z.ai without a license. Notably, GLM-5 was trained entirely on Chinese Huawei Ascend chips, demonstrating that Z.ai can develop cutting-edge models without access to US-made NVIDIA hardware.

Browse Open Source Models โ†’ Compare Free vs Paid AI

๐Ÿ”” Get Free AI Alerts First

When a model goes free, a paywall drops, or a deal appears -- you'll know before everyone else. No spam, just signal.