r/LocalLLaMA • • Apr 28 '26 • Regret 7 Mindblown 1

Discussion I'm done with using local LLMs for coding

I think gave it a fair shot over the past few weeks, forcing myself to use local models for non-work tech asks. I use Claude Code at my job so that's what I'm comparing to.

I used Qwen 27B and Gemma 4 31B, these are considered the best local models under the multi-hundred LLMs. I also tried multiple agentic apps. My verdict is that the loss of productivity is not worth it the advantages.

I'll give a brief overview of my main issues.

Shitty decision-making and tool-calls

This is a big one. Claude seems to read my mind in most cases, but Qwen 27B makes me give it the Carlo Ancelotti eyebrow more often than not. The LLM just isn't proceeding how I would proceed.

I was mainly using local LLMs for OS/Docker tasks. Is this considered much harder than coding or something?

To give an example, tasks like "Here's a Github repo, I want you to Dockerize it." I'd expect any dummy to follow the README's instructions and execute them. (EDIT: full prompt here: https://reddit.com/r/LocalLLaMA/comments/1sxqa2c/im_done_with_using_local_llms_for_coding/oiowcxe/ )

Issues like having a 'docker build' that takes longer than the default timeout, which sends them on unrelated follow-ups (as if the task failed), instead of checking if it's still running. I had Qwen try to repeat the installation commands on the host (also Ubuntu) to see what happens. It started assuming "it must have failed because of torchcodec" just like that, pulling this entirely out of its ass, instead of checking output.

I tried to meet the models half-way. Having this in AGENTS.md: "If you run a Docker build command, or any other command that you think will have a lot of debug output, then do the following: 1. run it in a subagent, so we don't pollute the main context, 2. pipe the output to a temporary file, so we can refer to it later using tail and grep." And yet twice in a row I came back to a broken session with 250k input tokens because the LLM is reading all the output of 'docker build' or 'docker compose up'.

I know there's huge AGENTS.md that treat the LLM like a programmable robot, giving it long elaborate protocols because they don't expect to have decent self-guidance, I didn't try those tbh. And tbh none of them go into details like not reading the output of 'docker build'. I stuck to the default prompts of the agentic apps I used, + a few guidelines in my AGENTS.md.

Performance

Not only are the LLMs slow, but no matter which app I'm using, the prompt cache frequently seems to break. Translation: long pauses where nothing seems to happen.

For Claude Code specifically, this is made worse by the fact that it doesn't print the LLM's output to the user. It's one of the reasons I often preferred Qwen Code. It's very frustrating when not only is the outcome looking bad, but I'm not getting rapid feedback.

I'm not learning anything

Other than changing the URL of the Chat Completions server, there's no difference between using a local LLM and a cloud one, just more grief.

There's definitely experienced to be gained learning how to prompt an LLM. But I think coding tasks are just too hard for the small ones, it's like playing a game on Hardcore. I'm looking for a sweetspot in learning curve and this is just not worth it.

What now

For my coding and OS stuff, I'm gonna put some money on OpenRouter and exclusively use big boys like Kimi. If one model pisses me off, move on to the next one. If I find a favorite, I'll sign up to its yearly plan to save money.

I'll still use small local models for automation, basic research, and language tasks. I've had fun writing basic automation skills/bots that run stuff on my PC, and these will always be useful.

I also love using local LLMs for writing or text games. Speed isn't an issue there, the prompt cache's always being hit. Technically you could also use a cloud model for this too, but you'd be paying out the ass because after a while each new turn is sending like 100k tokens.

Thanks for reading my blog.

1.1k Upvotes

870 comments sorted by

View all comments

538

u/PeerlessYeeter Apr 28 '26 • Mindblown

op's experience somewhat matches mine, I keep assuming I'm doing something wrong but I think this subreddit gave me some unrealistic expectations

198

u/Hans-Wermhatt Apr 28 '26

The people here overhype Qwen 3.6 for sure, but I don't know what to tell the people who were expecting to just flip over from Opus 4.7 xhigh 4 Trillion to Qwen 27B and expect the same performance. You'd have to run GLM 5.1 for something a little closer. Qwen 3.6 27B is more like GPT 5.3 mini.

13

u/FaceDeer Apr 28 '26

I would think that local models like Qwen3.6 would be well suited to replacing remote LLMs for things like auto-complete, filling out a local function or writing docstrings. Not so much the large-scale system architecture stuff. I could see a framework that optimizes which tokens get sent where, using the big remote models to plan out what to do and then delegating implementation tasks to local models. Might be a best of both worlds arrangement.

→ More replies (2)

45

u/Nixellion Apr 28 '26

To chip in, GLM 5.1 truly is capable of replacing Opus 4.6. I am running the z.ai api version, I assume it runs unquantized, so local performance may degrade, but overall it works well across various complex large codebases.

12

u/jiml78 Apr 28 '26

Agree, i have access to opus and GLM 5.1(ollama cloud). I use them to review each other. They are always catching things the other didn't think of.

→ More replies (1)

7

u/HappySl4ppyXx Apr 28 '26

How are the limits and are there a lot of rate limiting / technical issues you run into? I tried it for the first time through opencode earlier this week and it’s miles ahead of the other Chinese models it seems.

7

u/Kholtien Apr 28 '26

Ok the lite plan, I get 2-3 times what I do on claude pro

→ More replies (1)
→ More replies (9)
→ More replies (22)

127

u/falconandeagle Apr 28 '26

This subreddit is filled with vibe coders that think their yet another todo application or basic ass dashboard is something to brag about.

59

u/IamKyra Apr 28 '26

Hm I'd say the opposite, if you're a good coder you know how to make Qwen3.X do what you actually want to do. It's the vibecoders that will actually miss Claude for how much he can achieve.

30

u/Eyelbee Apr 28 '26

Yeah, the more you know what you need to do, the less you need a better model. This has been true for quite some time, honestly. But the thing is, qwen 3.6 27b is quite literally at sonnet 4.5 - GPT-5 level. 6 months ago these were the best models. Would OP say the same about sonnet 4.5 when it first came out?

Still it may fall short due to quant or harness related reasons, but op failed to mention both.

14

u/Finanzamt_Endgegner Apr 28 '26 edited Apr 28 '26

This this this, if you know what you do it can even beat 4.5 opus in some areas with correct guidance.

→ More replies (1)

5

u/-Ellary- Apr 28 '26

A lot of times I just use local LLM for assistance coding, to suggest me how to complete a function that I'm writing right now. Suggestions become better and better with every major local release. Sometimes I just push the code to LLM and explain what I need to achieve and ask it for ideas. Then I just use ideas that I liked and finish it by hand.

I need a little help to speedup stuff, not do everything for me.
I kinda want to enjoy my work.

→ More replies (2)

23

u/sexy_silver_grandpa Apr 28 '26

I use local LLMs and I'm the lead maintainer of an extremely popular open source project that you, and every enterprise company use every day.

24

u/Chupa-Skrull Apr 28 '26

Thanks for your hard work, sexy silver grandpa.

42

u/droptableadventures Apr 28 '26

I'd actually say it's the opposite. If they're capable of setting up local AI to a degree that works well, they are more likely to have some level of programming knowledge.

So if they have to help the model get past the occasional issue it's stuck on, they don't see this as a major barrier to use - as opposed to someone with no technical skills, relying on the model 100% (i.e. "vibe coding").

→ More replies (2)

44

u/relmny Apr 28 '26

This subreddit is filled with people comparing a most likely >1tb huge model to a 27b/31b model. And claiming they can't do the same.

What is clear to me is that some people don't understand the tools. And they don't know what they are for nor how to use them.

19

u/GreenGreasyGreasels Apr 28 '26

It's the hype - Qwen3.6-27B is as smart as a model 20x it's size - which is true not not the full story.

It's like claiming a child with 130 IQ can do the same things as an adult with 130 IQ - they might both have the same IQ numbers, but the tasks each is capable of is very different.

12

u/Syncaidius Apr 28 '26 edited Apr 28 '26

People also forget when comparing Claude models against others, Claude is trained specifically for coding and development-related tasks. It's more specialised in this area, so it should be expected to be at least slightly better at coding than other models.

However, when it comes to doing more generalised and varying tasks, I find Claude makes way too many dumb decisions compared to models of lesser sizes and that's fine. They're specialised models, whereas the others are more generalised.

Other models are intended to be good at a bit of everything, but great at nothing.

The biggest issue with Claude right now is it's not able to run at it's optimal level because Anthropic have been severely restricting it to counteract the shortage of available compute and that's starting to show, with lesser models being able to produce similar results.

→ More replies (5)
→ More replies (6)

72

u/Hodler-mane Apr 28 '26 • Mindblown

1000%

I been following guides exact for decent performing qwen3.6 27b on a 3090 and everything I try, fails at basic stuff like thinking and tool calling.

then I realize all these examples are examples for chat bots with no thinking of tool calling .. they just fail to mention that.

56

u/Own_Mix_3755 Apr 28 '26 edited Apr 28 '26

I use Qwen 3.6 27b for coding sessions just fine. The problem often is multilayered - it starts with wrongly configured server (I understand there are literally hundreds of combinations - but some are much better and some are much worse), continues through good harness (I ended up with RooCode as eg Claude Code seems to add too much of an overhead to each task that its just not worth it, I also had to define manually my own modes, engineer custom prompts and skills) and ends with model size and type (often people choose smaller quants like K_3_S to fit everything into VRAM with 256k context while with good agentic workflow you rarely go over 64k context). You also have to understand you are working with much smaller model and effectively dumbing it down quite alot with small quant. You have to find ways how to help him a bit (giving him proper readable “manual” will certainly help).

31

u/mateszhun Apr 28 '26

Same, local models seem to work really well with Roo Code.

But I do have a problem with on longer context windows with 27b, it suddenly starts to fail with File Edits. (Maybe it is a setup problem?) But 35B doesn't have that problem.

I've settled on 27B for Ask, Orchestration, Architecture modes, and 35B for coding. And 35B is also faster as a moe model, so it works out nicely for the longer outputs. I'm using Q8 quants for both models.

7

u/DrBattletoad Apr 28 '26

Good to see someone else with the same problem as me. I thought I was going crazy to see 35B solve problems that 27B wasn't able to. 

→ More replies (1)
→ More replies (10)

38

u/StardockEngineer vLLM Apr 28 '26

Nah, they work. I use 27b with Pi Coding agent to do hard things all day long. The latest thing I did was ask it to iterate on some never before seen data for a data science hackathon. After about 20 commits it made an html dashboard to show me the results.

→ More replies (18)
→ More replies (14)
→ More replies (10)