AI News Today
← All episodes
Episode 1 · April 12, 2026 · 12:50

Z.ai's GLM-5.1 Just Changed AI Agents Forever

GLM 5.1: The New 8-Hour Autonomous AI Agent Changing Coding


China's Z AI just released GLM 5.1, a massive open-source model that ranks top three globally for coding and can work autonomously for 8 hours straight. Discover how its 'long horizon' capabilities allow it to self-correct and outperform giants like GPT-4o and Gemini.


00:00 - Intro: GLM 5.1 Changes AI Agents

01:18 - Long Horizon Task Capability

02:44 - AI That Closes the Loop

04:06 - Benchmarks vs GPT & Gemini

05:23 - Mixture of Experts Architecture

06:19 - The 8-Hour Autonomous Linux Build

07:50 - The Open Source Revolution

11:06 - Building Agentic Workflows

Full transcript

Zed AI's GLM 5.1 just changed AI agents forever. So China just launched an AI that works for eight hours straight, ranked itself number three in the world for coding, and it's completely free and open source. So GLM 5.1 from Zed AI just changed what we thought about open source AI and what it could do forever. And here's the thing that makes this, well, this isn't some startup nobody's heard of.

GLM 5.1 just dropped and jumped 90 points over its last version in the code arena. It passed GPT 5.4, it passed GML 3.1, and the only thing still ahead of it in coding is called Opus 4.6 and called Sonnet 4.6. And it did all of this as a free open source model anyone can download and use. Let me put that into plain English.

The most powerful AI labs in the world, OpenAI, Google, Anthropic, have been building behind closed doors. And now a Chinese lab called Zed AI just released a model that runs toe-to-toe with them for free. This is a big deal for any business owner who uses AI tools to get work done because what happens at the top of the leaderboard eventually trickles down to every tool you use every day. So let's go deep on what GLM 5.1 actually does, why it matters, and what it means for you.

First of all, what makes GLM 5.1 different from every other model out there right now in AI? Well, most AI models, they work in short bursts, right? You give them a task, they give you an answer, done. Even the best models, you know, Claude, GPT 5.4, Gemini, they tend to plateau after a certain point.

You might give them more time, but they don't get better. They just spin their wheels. GLM 5.1 was built around a completely different idea. The longer it runs, the better it gets.

Zed AI's research team ran it on a vector database optimization problem, a standard AI model in a 50-turn session, which is roughly a normal working session, managed 3,547 queries per second. That was the best result anyone had ever achieved in that setting, and that was the benchmark to beat. GLM 5.1 didn't just beat it, it ran for 600 iterations, over 6,000 tool calls, and it hit 21,500 queries per second. That is six times better than the previous best in AI.

Not a small improvement, six times. And it didn't just get lucky once. It hit major structural breakthroughs six separate times during that run. Each time it analyzed its own results, figured out where the bottleneck was, changed its approach, and started climbing again.

It did all of that without a human telling it what to do. That's not how most AI works. That's something different. Now, if you think, oh, this is only irrelevant for developers, stick with me, because this has huge implications for how AI tools work for you, for agencies, for freelancers, for content creators, and anyone else running a business right now.

So right now, if you use an AI tool to do a task, for example, write content, research leads, generate a proposal, it does it once and it hands it back to you. You check it, fix it, run it again, check it again, right? You're the loop, you're the person catching mistakes and trying to make it better. GLM 5.1 is showing us a version of AI that closes that loop itself.

It runs the task, checks its own works, finds the weak spots, fixes them, then runs it again hundreds of times over and delivers something dramatically better than what a single pass could produce. Now, if you want step-by-step coaching on how to build AI systems like this into your business, how to set up agents that work for you whilst you sleep, how to use long horizon AI workflows to get more leads and serve more clients, that's exactly what we work on every single week inside the AI Profit Board. And we've got members right now building automated client workflows using the latest coding agents and AI models. There are 2,800 business owners inside, four coaching calls every week, daily tutorials on the newest tools, and a 30-day roadmap that shows you exactly where to start with AI automation.

Link in the comments description or go to theairprofitboard.com to get access. So now let's talk about benchmarks because numbers are genuinely impressive. On SWE Bench Pro, which tests how well an AI can fix software engineering problems, GLM 5.1 scored 58.4. That beat GPT 5.4 at 57.7.

It beat Gemini 3.1 at 54.2. It beat Claude Opus at 57.3. It's the new number one on that benchmark as an open source model. On NL2 Repo, which is about building entire code repositories from a plain English description, GLM 5.1 scored 42.7.

GLM 5 scored 35.9. That's a massive generation jump, right? GPT 5.4 was at 41.3. Gemini 3.1 Pro was at 33.4.

On Terminal Bench 2.0, which tests real world tasks done through a terminal, GLM 5.1 hit 69.0 using Claude Code as its framework. That's a competitive score against every closed model on the list. Now look, benchmarks aren't everything. Anyone who's used these tools before knows the leaderboard scores don't always match how something actually feels to use.

But when you see a model jump 90 points in Code Arena, hit number one on SW Bench Pro, and do it as a free open source model release, that's not a fluke. That's a real jump in capability. Now, here's what's important to understand about why GLM 5.1 could do what it does. The model is a mixture of experts architecture.

754 billion total parameters, but only around 40 billion active at any given time. That's how it stays fast whilst being enormously capable. It's not running all 754 billion parameters on every single response. It routes each task to the right expert clusters inside the model.

But really, what makes this separate and separates GLM 5.1 is what ZAI calls long horizon task capability. They trained it to stay aligned on a goal for hours, not minutes, hours. Most models drift, right? They lose the threat.

They start looping or making mistakes as the task gets longer. GLM 5.1 was specifically trained to fight that drift, to keep track of what it's doing, why it's doing it, and where it is in a long chain of steps. Think about what that means practically. Let's say you're running a content agency.

You need someone to research a competitor, write a comparison article, pull all the stats, format it, and check it for accuracy. Today, that is a multi-step process where you're the glue between each step. You prompt the AI, check the output, fix it, move to the next step. You're the person holding this all together.

The trajectory is GLM 5.1 is pointing toward an AI that handles the whole chain itself. You give it the task at the start. It figures out all the steps. It runs them.

It checks them. It delivers a finished result, right? We're not fully there yet for that kind of business workflow, but GLM 5.1's eight-hour Linux desktop build is a sign of where it's heading. It's an operating system that's just running autonomously.

It's an agent 24-7. It built an entire functional desktop environment, file browser, terminal, text editor, system monitor, calculator, games from scratch in a single eight-hour autonomous session with no human even stepping in. And every time it finished a section, it reviewed its own work and decided what to build next. It handled the whole loop.

That is a real research result that came out of the tests with GLM 5.1. Now, let's talk about what this means for the AI industry more broadly. For the last couple of years, the gap between closed and open-source models has been real. OpenAI, Anthropic, and Google were building things that open-source models just couldn't match.

And that gap has been closing fast. Meta's LLAMA models pushed it forward. Mistral pushed it forward. DeepSeek pushed it hard earlier last year.

And now GLM 5.1 just pushed it to a place nobody expected, top three globally in coding. Arena AI called it the first frontier-level open model to break into the top three. That's a meaningful milestone because once an open-source model reaches that level, every tool builder, every platform, every AI product can plug it in, right? No API fees, no rate limits, no pricing changes from a vendor.

The model runs wherever you put it. This creates a real competitive shift because right now, using Claude or GPT 5.4 means paying per token for an API or a subscription. GLM 5.1 is MIT-licensed. Anyone can download it, host it, and run it.

At 754 billion parameters, it's not something a small agency is gonna run on a laptop. You'd need serious GPU hardware, but cloud providers are already serving it, right? OpenRouter has it, Facel has it, Requesty has it, Hugging Face has it, right? The infrastructure is going in fast.

And there's something else worth noting here. GLM 5.1 works directly with Claude, Code, and OpenClaude's frameworks. So if you're running Claude, Code, or OpenClaude for agentic workflows, you can actually swap in GLM 5.1 as the underlying model. Now, ZAI's coding plan is priced at $27 per quarter.

For the light tier, that's $9 a month and includes access to GLM 5.1, running through Claude, Code. For comparison, Claude, Pro runs $20 a month. The GLM coding plan claims three X usage of Claude, Pro at less than half the price. Surprising dynamic worth paying attention to, especially if you are using AI coding tools at volume.

Now, let me tell you what the real bet ZAI is making here, because it's not about beating benchmark scores. It's about a fundamentally different definition of what a useful AI actually is. Right now, the industry mostly measures models by how smart they are in a single run. You ask a question, it answers, and then you score it, you rank it, you move on.

But GLM 5.1 is actually betting that the right measure is how long a model can work reliably on a real task before it falls apart. That's a totally different race. And right now, GLM 5.1 is running it better than almost anything else out there, with Claude Opus 4.6 still ahead on the kernel benchmark long horizon optimization test, hitting 4.2x speedup versus GLM 5.1's 3.6x. But GLM 5.1 is right behind it.

So let's put some real numbers on what that translates into. The kernel bench level three test takes real machine learning workloads and asks models to make them run faster on GPU. Standard PyTorch with max optimization settings gets about 1.49x speed improvement. GLM 5.1 gets 3.6x.

That means tasks that used to take an hour now take 17 minutes, and work that used to take a full day is done before lunch. Now that's in a specific technical benchmark, but the underlying principle holds across types of work. More iterations, better judgment about what to try next, and the ability to sustain that over a long session compounds into dramatically better outputs. Not slightly better, dramatically better.

And here's the open loop that matters for you right now. The AI tools you're using today, the ones used for content, for lead generation, for client workflows are going to get better as the underlying models improve. But the businesses that pull ahead aren't gonna be the ones who wait for their current tools to automatically update. They're gonna be the ones who understand how these long horizon agentic workflows work early and build them into their operations early too.

That's the actual shift happening here. It's not about using chat GPT to write one email faster. That's a joke, right? It's about building systems where the AI handles chains of tasks, checks his own work, and improves the output over multiple passes whilst you focus on what only you can do.

GLM 5.1 is the clearest public demonstration of what that looks like in practice. A model working for eight hours straight, running 655 iterations on a single problem, getting 6X better results than any single past session could produce. And it's open source. The gap between AI models you're using and this level of capability is closing.

The question is whether you're building the skills and the systems to work at this level when it arrives in your tools. Right now, inside the AI Profit Boarding, we're already walking through members exactly how to set up long horizon agentic workflows, how to use AI systems that run multiple passes, improve their own output, and deliver finished work without you babysitting every step. If you want a step-by-step 30-day roadmap to build that into your business with four coaching calls every week with people who are deep into this stuff, daily tutorials on the newest model drops as they drop, and a community of 2,800 business owners all building with the same tools, link in the comments description or go to theaiprofitboarding.com to get access. GLM 5.1 is open source.

It's already in cloud code. It's already beating GPT 5.4 and SWE BenchPro. It works for eight hours without stopping. And it's $9 a month through ZAI's coding plan, or you can download it for free and run it locally.

The model is here. The real question is, are you building workflows that use it?

More episodes

Browse all episodes →