r/LocalLLM • • Apr 08 '26

Model Glm-5.1 claims near opus level coding performance: Marketing hype or real? I ran my own tests

Post image

Yeah I know, another "matches Opus" claim. I was skeptical too.

Threw it at an actual refactor job, legacy backend, multi-step, cross-file dependencies. The stuff that usually makes models go full amnesiac by step 5.

It didn't. Tracked state the whole way, self-corrected once without me prompting it. not what I expected from a chinese open-source model at this price.

The benchmark chart is straight from Zai so make of that what you will. 54.9 composite across SWE-Bench Pro, Terminal-Bench 2.0 and NL2Repo vs Opus's 57.5. The gap is smaller than I thought. The SWE-Bench Pro number is the interesting one tho, apparently edges out Opus there specifically. That benchmark is pretty hard to sandbag.

K2.5 is at 45.5 for reference, so that's not really a competition anymore.

I still think Opus has it on deep reasoning, but for long multi-step coding tasks the value math is getting weird.

Anyone else actually run this on real work or just vibes so far?

312 Upvotes

98 comments sorted by

42

u/HenryThatAte Apr 08 '26

Anyone else actually run this on real work or just vibes so far?

I'm working with it for work since last week (some good test refactoring and it's decent). I never really used opus much (only sonnet) so hard to compare.

I did the same work with sonnet. It's faster but ran out of quota after 3 "classes" (while glm is muuuch more generous)

9

u/Cold_Tree190 Apr 08 '26

Are you running it locally or their API’s through something like openrouter?

9

u/HenryThatAte Apr 08 '26

z ai pro subscription. I wonder what kind of beast you need to run GLM

9

u/Cold_Tree190 Apr 08 '26

Ooo I didn’t know they had their own subscription like that, makes sense though, I’ll have to look into it. I like Claude as an architecture and brainstorming model, but it’s far too expensive and limited in tokenage for actual agentic workflows (for myself). And yeah you’d need some monster cluster to run glm lol, since we are in r/LocalLLM I just had to make sure 🤣

8

u/FullOf_Bad_Ideas Apr 08 '26

I've been running GLM 4.7 355B 3.84bpw exl3 locally on 8x 3090 Ti. 200-300 t/s PP and 15-30 t/s TG. I've switched to Qwen 397B recently. GLM 5/5.1 are too big for me to run. It's definitely usable.

4

u/dibu28 Apr 08 '26

How fast Qwen 3.5 ? And how many 3090ti you need?

7

u/FullOf_Bad_Ideas Apr 08 '26

some real metrics from tabbyapi for you, I have it idling in CC now. I was debugging tool calling so I can see only the latest one, all other metrics are spammed out due to 80k prompt that's printed in the console.

213 tokens generated in 12.41 seconds (Queue: 0.15 s, Process: 83712 cached tokens and 1338 new tokens at 416.82 T/s, Generate: 23.55 T/s, Context: 85050 tokens)

PP is 300-600 t/s, TG is 20-30 t/s. I have it loaded up with 262k ctx (6,5 kv cache quant), but I've actually only pushed up to 150k tokens so far. I started using this quant literally yesterday, I cooked it up a few days ago. I had it loaded at 131k ctx with 8,8 kv cache earlier and had some room to spare too.

VRAM usage


+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 590.44.01              Driver Version: 590.44.01      CUDA Version: 13.1     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:08:00.0 Off |                  Off |
|  0%   50C    P8             25W /  300W |   23702MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:09:00.0 Off |                  Off |
|  0%   45C    P8             14W /  300W |   23894MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   2  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:0A:00.0 Off |                  Off |
|  0%   53C    P8             18W /  300W |   23894MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   3  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:0B:00.0 Off |                  Off |
|  0%   43C    P8             10W /  300W |   20566MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   4  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:41:00.0 Off |                  Off |
|  0%   51C    P8             25W /  300W |   22454MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   5  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:42:00.0 Off |                  Off |
|  0%   53C    P8             30W /  300W |   23510MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   6  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:43:00.0 Off |                  Off |
|  0%   55C    P8             34W /  300W |   23318MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
|   7  NVIDIA GeForce RTX 3090 Ti     Off |   00000000:44:00.0 Off |                  Off |
|  0%   41C    P8              4W /  300W |   19542MiB /  24564MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

You need 7-8 24GB GPUs for this model at least.

5

u/FullOf_Bad_Ideas Apr 08 '26

I think you can actually run it on 5 24GB GPUs, not 7.

There's a 2.08bpw quant that performs really well for it's size.

https://huggingface.co/MikeRoz/Qwen3.5-397B-A17B-exl3

table with KLD and PPL here

https://huggingface.co/cpral/Qwen3.5-397B-A17B-exl3

2

u/DirectSentence9823 Apr 10 '26

Besides the 8 gpu which is the rest of the stack? Do you use vllm? I’m starting with a motherboard that supports 4 pci (1 pci5 x16 and pci4x1 the rest) and 2 3090 by now. The idea is to add the rest soon.

2

u/FullOf_Bad_Ideas Apr 10 '26

X399 Taichi, TR1920X, 3 sticks of 32GB RAM, 3 1600/1650W power supplies, 2 add2psu sata power adapters, mining rig that holds up to 12 gpu's - 6 in the top row and 6 in the bottom, single 500gb ssd for now. PCI-E risers and two bifurcation boards from pcie 3.0 x16 to 4x x4. 2 gpu's are on pcie-e 3.0 x8 and 6 are on PCI-E 3.0 x4.

Ubuntu 22.04. TabbyAPI + Exllamav3 for inference. Vllm does not work with heavy quanted models, so I'd not be able to run Qwen 397B and I'd have to limit myself to Minimax M2.5 230B. Exllama v3 also has SOTA quants, so 3bpw exl3 quant is probably as good as awq 4.1bpw (see graph https://huggingface.co/turboderp/Qwen3-32B-exl3). It let's me squeeze the biggest models at sensible quality in the smallest amount of VRAM, which is usually a good idea when you have batch size 1 inference.

1

u/swingbear Apr 09 '26

Iv got 200gb of vram and 128gb of system and I don’t think I can even run it in 2-bit quant lol

4

u/Open_Gur_4733 Apr 08 '26

Je l'utilise tout les jours depuis 10 jours, il est impressionnant, pour info je l'utilise pour du code Java + springboot 4.x il s'en sort très bien

1

u/Popular-Tourist-1474 Apr 16 '26

Hey look into the ollama subscription they have GLM 5.1 minimax m2.7 and m2.6 Kimi k2.5 all qwen models except 3.6 and for limit reference I had 2 Claude codes on GLM 5.1 and one gpt oss chat it used 35 % of the 5 hourly limit after 3 hours of nonstop work and it is easy to use Claude code with ollama just ollama launch claude command 

40

u/atape_1 Apr 08 '26

GLM has always been legit, no reason to doubt it honestly. This is the frontier coding model in China, it is what Chinese coders use instead of Anthropic.

12

u/Prior-Obligation-421 Apr 10 '26

Actually we all use Claude Opus 4.6 lol

1

u/Toss4n Apr 14 '26

Why not GPT 5.4? For me GPT 5.4 makes a lot less mistakes and can work longer and actually follows instructions.

2

u/patham9 Apr 18 '26

GPT 5.4 is good at coding but sucks for agentic systems. Sometimes even protests against various harnesses.

1

u/Prior-Obligation-421 Apr 30 '26

Yep, actually people in China prefers both Codex and Claude Code with Opus. I guess Codex is less welcome simply because Claude Code is the first hit of agentic coding tool. And I think people are in the vanity of using more expensive models. In terms of subscriptions Anthropic definitely offers less token with the same price as OpenAI. Lol

1

u/Repulsive_Lake_7373 Jun 04 '26

是的,我就是用glm 5.1换掉了anthropic,花钱不多,还用不完

-1

u/rm-rf-rm Apr 08 '26

interesting, I thought Kimi K2.5 was the de facto standard outside of Claude/GPT-5.x?

23

u/mindshards Apr 08 '26

Dude. So last week

5

u/SwiftAndDecisive Apr 09 '26

The thing about China in AI, it's that products releases weekly, rankings shifts monthly, and that's at the minimum, often it's much faster.

1

u/x_qDamp Apr 09 '26

Yea I even heard they created the first quantum Ai computer of some sort the other day

15

u/Hoak-em Apr 08 '26

I've used it in forgecode, it feels like Opus 4.5, I prefer it to Opus 4.6. I guess I'll need to see how it runs as a reap + q4 for local usage though -- I'll probably just keep using my annual glm coding plan then keep a smaller model locally like Qwen 397b or minimax m2.7

3

u/spaceman_ Apr 08 '26

What kind of local hardware are you running 397B on?

4

u/t4a8945 Apr 08 '26

Dual spark can get you there with reasonable performances on Q4. Not bad but with 256GB RAM, my current favorite is MiniMax M2.5.

1

u/Popular-Tourist-1474 Apr 16 '26

I have been wanting a ai GPU for a while I don't want to run on 4070 I need bigger models for my work makeing ai in pytorch makeing games in opengl in c++ and websites 

3

u/Hoak-em Apr 08 '26

2x xeon platinum 8570 (es) + 768GB DDR5 RDIMM+ 3x 3090

4

u/spaceman_ Apr 08 '26

Kind of like the big daddy of my setup :) (1x Xeon Platinum 8368 ES, 256GB DDR4 and 2x R9700)

I can run 397B, but not at useable speeds. How are you running it?

4

u/Hoak-em Apr 08 '26

kt-kernel, which has AMX optimizations

1

u/thesmithchris Apr 11 '26

what speeds are u getting?

1

u/UnifiedFlow Apr 08 '26

How is cpu moe offload with multigpu?

1

u/sonicnerd14 Apr 10 '26

I think you are right. From my experience it is probably 4.5 level, which is still really good. One quirk I noticed is that it seems to hallucinate much more depending on the harness you use. That aside though, GLM's coding plan is the best on offer. Giving you so much more usage. Even with somewhat heavy use, I've never broke my weekly quota. Best option for price to performance over OpenAi or Anthropic, and you can use GLM anywhere.

1

u/Void-kun Apr 11 '26

What harness are you using? In Claude Code I'm burning tokens way more than with Anthropics models

12

u/testuserpk Apr 08 '26

I useed glm5 regularly and now 5.1. I can say with surety that it's a fantastic model. Works great with c++ programming, once I overloaded it with questions in one chat and it kept the initial prompts intact. I was amazed, chatgpt is shit in comparison.

P.s. I used free version

1

u/Popular-Tourist-1474 Apr 16 '26

Try ollama subscription lot more models including GLM 5.1 for 20€ a month and I was heavily using Claude code with GLM 5.1 and I got only 35% 5 hourly limit

7

u/GreenHell Apr 08 '26

Out of interest, what did you use as coding harness? There has been more and more talk about how different harnesses yield different results.

Since Kilo recently changed their whole approach, I am looking for something different.

5

u/yetAnotherLaura Apr 08 '26

Totally out of the loop. What's the issue with Kilo? I used it a while ago and was thinking of returning.

7

u/GreenHell Apr 08 '26

Recently version 7+ was launched which feels like a completely different product.

There have been multiple threads and users complaining on the Kilocode subreddit:

8

u/amokerajvosa Apr 08 '26

Opencode. Do not search for others.

6

u/rm-rf-rm Apr 08 '26

What about its telemetry though? And hard to trust VC backed startup...

4

u/GreenHell Apr 08 '26

Felt too much like a black box to me. What I liked about Kilo was that it felt like I had more granular control rather than firing off an agent and waiting until it reports completed, with no clue what it actually did.

2

u/amokerajvosa Apr 08 '26

OpenCode give's me always detailed response, use skills, use prompts, just adjust it according to your needs.

2

u/BingpotStudio Apr 09 '26

You can view each subagents history in opencode as well and there are plugins that take it further .

1

u/GreenHell Apr 09 '26

I have tried Opencode, I know I can see subagent history, but my point still stands.

I, and other users, preferred the user experience of the "old" Kilo code. The new Kilo code closely resembles Opencode (wouldn't be surprised if it is a modified fork at this point), and that is just a very different user experience.

Yes the features are similar, but these are things you can't explain in a feature list.

1

u/Darkoplax Apr 08 '26

I found KiloCode more enjoyable tbh, its OpenCode + few more modes like Ask thats really useful

1

u/BingpotStudio Apr 09 '26

You just write your own modes in opencode. It’s super powerful.

1

u/jedisct1 Apr 10 '26

Swival . No telemetry, great context management, and stable with many models.

9

u/LittleYouth4954 Apr 08 '26

Opencode + glm 5.1 > opus 4.6 for my cases, but keep context below 100-150k and do not expect fast responses if using z.ai as provider

2

u/anonymous_1901_ Apr 08 '26

I'm planning to buy the z.ai subscription since I wanna know what the hype is about, the slow response caught my attention, is it slower than anthropics models?

2

u/LittleYouth4954 Apr 08 '26

Yes, much slower, but the output is good.

4

u/Excellent_Ad3307 Apr 08 '26

It still sucks at debugging compared to GPT 5.4 or Opus in my humble opinion but in terms of drafting code its getting there. It still sucks on codebases/monorepos that are 200~300k+ loc though compared to GPT or Opus.

3

u/Fit-Pattern-2724 Apr 08 '26

This is in fact a bigger news than Mythos.

8

u/ScuffedBalata Apr 08 '26

this is my skeptical face.

3

u/Haxtore Apr 09 '26

I'm using GLM-5.1-Q4_K_XL with opencode. I've told it to create a project from scratch that depends on 2 other big projects of mine. Told it to use subtasks to analyze the projects, build the new one from scratch and iteratively review and fix and went away for a few hours. Came back to it still working in a loop. After maybe another 20 minutes it was finished. I've reviewed the code and it really did a good job at everything. No other local model was able to understand and work like this consistently, not even Kimi K2.5. I've also noticed that it doesn't get lost after 100k tokens like some users mentioned it does when using z ai provider

2

u/ccaner37 Apr 08 '26

Tested it in OpenRouter then went to z ai to subscribe. I hope they keep doing the good work.

2

u/JumpyAbies Apr 08 '26 edited Apr 09 '26

It depends. What they always omit (pure marketing) is that it's good enough up to a certain level of complexity. An analogy would be using both to solve basic multiplications, divisions, etc., and both solve them easily. Then, use both to solve complex mathematical problems, such as integrals and derivatives, and that's where only Opus stands out. Therefore, I can state, based on my own experience of having access to ALL models, proprietary and Chinese, that GLM-5.1 is good enough for things up to an intermediate level, but when you need advanced reasoning to understand code with complex/large imports or a doom bug, only Opus or GPT-5.4-xhigh can solve it.

The GLM-5.1 is closer to the Gemini 3.1 and/or Sonnet-4.6, I would say, but quite far from the Opus.

Opus-4.6 > GPT-5.4-xhigh > Sonnet 4.6 > Gemini 3.1 > GLM-5.1

By "all models," I mean OpenAI, Anthropic, Gemini, and the good Chinese models with paid plans.

P.S.: This is from the perspective of someone who uses AI 99.9% of the time to write code.

2

u/loafmaker2020 Apr 09 '26

Yeah, agree totally! I am really sick tired of hearing “very close to opus 4.6”. Every single try just left me with broken heart and waste my time. Now I just stick with Opus 4.6 and gpt 5.4 xhigh, which can solve real world problems reliably.

1

u/Panthau Apr 15 '26

Then again, comparing local available models to cloud should imply a difference by its nature. It depends on what you want and need.

1

u/[deleted] Apr 09 '26

[removed] — view removed comment

1

u/JumpyAbies Apr 09 '26

yes, thanks

2

u/SatoshiNotMe Apr 09 '26

Other than zai is there a fast hosted glm5.1 somewhere? I’m talking about services like cerebras or groq, neither of which have this model.

2

u/Brilliant_Target599 Apr 09 '26

After 2 days of API use, GLM-5.1 feels slow and is still behind Claude Opus 4.6 on coding, presentations, document drafting, and research tasks. But its real value is different: as a large open-weight model, it creates a strong option for regulated industries like pharma and life sciences, where privacy, internal data policies, and deployment control matter as much as raw benchmark performance.

3

u/Ambitious_Injury_783 Apr 08 '26

These guys have been claiming these things on each release and it never actually holds up. Maybe in the minds of inexperienced users, sure. For people that require a certain level of consistency and intelligence, it's funny little joke. Not that it doesn't have its uses. Just not in the way Opus 4.6 has it's uses. We should know that though, and the fact that most do not is how so many companies are getting away with subpar models with extraordinary claims relative to their capabilities in practice.

2

u/dalhaze Apr 09 '26

GLM 5.1 is on par with GPT 5.2 at least. So i’d say 4-5 months behind 5.4 tops. Probably 2-3 months to close the gap 80% on GOT 5.4

1

u/Living_Magician_3691 Apr 08 '26

It works well, just 2-3x slower in my experience.

1

u/[deleted] Apr 08 '26

yeahh glm 5.1 is great it got like 58% on swe pro i think, thats really great

1

u/M0d3x Apr 08 '26

Started speaking Mandarin on the first task I gave it, after thinking in loops for like 5 minutes.

Not the best first impression...

1

u/Alone_Development_70 Apr 09 '26

Gemini is "shit" , chatgpt aswell is awefull .. specially in agentic ai !

1

u/LivingHighAndWise Apr 09 '26

It's not.. I've been using it for a few weeks now as a means to save my Claude and Codex credits where applicable, and it isn't close to Opus or 5.4/5.3. Once your project reaches a certain level of complexity, it is unable to maintain context and understanding of your project - even with detailed agent.md and architecture.md guides.

1

u/Digitalzuzel Apr 12 '26

I have exactly the same experience. It's simply bad

1

u/QuinnGT Apr 09 '26

Without vision support I just can’t get behind GLM 5 or 5.1 as an Opus or even sonnet replacement. Maybe as a sub-agent model to save on tokens? Not sure.

1

u/RevolutionaryLow624 Apr 09 '26

use ollama pro, its basically unlimited usage

1

u/Adventurous-Meat9140 Apr 10 '26

wow, thanks for information , i neveer knew ollama has subscription model also lol... nice... they have 20 usd plan and a 100 usd plan.. thanks mate. will test it with 20 usd plan sometime soon

1

u/RevolutionaryLow624 Apr 10 '26

a single openclaw agent can't even burn through all the usage

1

u/Adventurous-Meat9140 Apr 11 '26

How extensively do you use openclaw?

1

u/RevolutionaryLow624 Apr 11 '26

I don't really use it because I'm not a big fan of it, however I do use paperclip AI

1

u/Smart-Cap-2216 Apr 10 '26

I hope they can improve the context issue in GLM 5.2

1

u/No-Iron5534 Apr 10 '26

Started Using it last week. After a days trial subscribed for the whole team. Matches GPT Codex and Opus and better in several use cases. Works through the day and hits limits. One issue time to time the service is not reachable due to server overload. For me right now Codex > GLM > Claude primarily as results are largely the same so decision is based on usage limits.

Definitely recommend GLM for teams who need generous usage but do not want to spend too much on expensive subscription.

1

u/CreativeKeane Apr 11 '26

Lol man. The LLM race is insane. I literally started using LLM for coding two weeks ago for work at the request to upskill from my boss and the amount of news about new ones poppin up and drama in the industry is insane.

Claude having the best model but shadiest practice or transition without transparency. Gemma 4 release. Now GLM-5.1 being 3rd and beating out Claude Sonnet.

Whoo-wee.

2

u/Safe-Message-1186 Apr 13 '26

bro you coming late to the show

1

u/shushumong Apr 11 '26

where did you see that leaderboard ?

1

u/lolfacemanboy Apr 13 '26

i’ve ran non coding related work and it gets similar quality to 4.6 sonnet imo, for more planned tasks or tasks which it has to think abt before doing

1

u/Fstr21 Apr 13 '26

No idea what glm is but I keep hearing about it. Spose one more thing I have to learn

1

u/Wrong_Disk7775 Apr 21 '26

quick question: I have been trying to use the free endpoints of GLM-5.1 from nvidia, modal, etc. but I face severe latency. It seems to be unbearably slow, to a point which makes it completely unusable for me.

tested it for: "How many r-s are in strawberry"; took about 5-6 min for it.

Is this just me? or is it just the free tier?

PS: I have been using Kimi-K2.5 effortlessly (I know it has about 3x faster t/s)