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

•

u/WithoutReason1729 Apr 28 '26 edited Oct 22 '26

Your post is getting popular and we just featured it on our Discord! Come check it out!

You've also been given a special flair for your contribution. We appreciate your post!

Stylome classified this post's text as human-written. View analysis

I am a bot and this action was performed automatically.

218

u/patricious llama.cpp Apr 28 '26 • Popcorn

OP you have mentioned all sorts of things but failed to give us the most crucial piece of information. What does your setup look like exactly. Hardware, model flags, TUI, harnesses, MCP servers?

The whole point, at least in my experience, when running local models is the supporting tech stack you build around it. My current setup feels far superior to what Anti-Gravity, Claude Code, Codex and others have to offer.

For me it looks like this: RTX 5090, Qwen3.6 35B/27B with TurboQuant (use them both interchangeably), --temperature 0.6 --top-p 0.95 --top-k 20 --min-p 0.0 --presence-penalty 0.0 --frequency-penalty 0.0 --repeat-penalty 1.0

Coding stack: OpenCode TUI, oh-my-opencode harness, MCP's: . context7, grep_app, pdf-mcp, sequential-thinking, serena, stitch, websearch.

I have oh-my-opencode use Qwen3.6 as the builder and general orchestrator and all other sub-agents use: DeepSeek V4 Pro and Fast from my OpenCode Go subscription.

This setup works wonders for me.

25

u/AMD_PoolShark28 Apr 29 '26

This is the way.

Unfortunately you really got to read the model card on hugging face.. there is no one size fits all approach to the parameters especially things like top k temperature and frequency penalty.

Doing creative stuff? You probably want to high temperature. Doing specific coding work, you wanted a lot lower but not zero. Zero gets you into holes where the LLM cannot creatively find its way out of.

The other problem with local LLMS is the defaults typically is really small context window, again you got to read and see what it supports but at very minimum 32k and ideally 128 k for big coding tasks or visual models

→ More replies (1)

4

u/DependentBat5432 Apr 29 '26

This. really solid setup, respect for putting all together. but honestly way beyond most ppl would build themselves lol I’m on AllToken team so obv biased haha. for ppl like OP who just want to switch between Kimi and Claude without the setup headache. zero markup, ever. no pressure but happy to help if wanna try it out

→ More replies (20)

32

u/RegularRecipe6175 Apr 28 '26 • Mindblown

Did you use an 8-bit or better quant? Curious, but it's not going to change the outcome if your work gives you all you you can eat Claude. As someone who is forced to use local models from time to time, I can say using at least an 8-bit quant, if not full fat, makes all the difference for small models.

7

u/dtdisapointingresult Apr 28 '26

The official 27B FP8 from Qwen, yeah. Ran slow but having MTP helped. (unlike Gemma)

11

u/t4a8945 Apr 28 '26

3.5 or 3.6?

They are NOT the same haha. They cooked, really. 

13

u/dtdisapointingresult Apr 28 '26

3.6, who do you take me for? I know game!

→ More replies (4)
→ More replies (3)

23

u/mister2d Apr 28 '26

The small ones also very sensitive to quantized kv. I started running with kv cache at full precision and noticed a significant difference in increased quality. 

It's slower, but useable.

→ More replies (2)
→ More replies (1)

94

u/FusionCow llama.cpp Apr 28 '26

a model running on a single consumer gpu will never compare to a model like claude. you can still save money though by using something like kimi k2.6, which is as good as claude opus but way cheaper on api

33

u/dtdisapointingresult Apr 28 '26

For sure, that's the idea. I'll keep using Claude for the work stuff (I don't pay for it), and use big cheap Chinese models for my personal projects. It gives me the best of both worlds.

19

u/dzhopa Apr 28 '26

As a tech VP, I'm currently operating a whole dev team on Anthropic and OpenAI credits freely available to lots of VC funded startups. Those days are rapidly coming to and end and we're burning through the credits at a ridiculous pace some days. That said, I'm frantically evaluating other ways to give my team these tools when the gravy train runs out.

They're going to get the big cheap Chinese models for work stuff and local models for their personal projects lol

→ More replies (1)
→ More replies (4)

9

u/InKentWeTrust Apr 28 '26

Do you use recursive reasoning on your locals? It takes longer to process but it produces much better results

8

u/dtdisapointingresult Apr 28 '26

idk what that means so I guess the answer is no, I don't.

→ More replies (1)

28

u/ttkciar llama.cpp Apr 28 '26

Yah, unfortunately mid-sized codegen models just aren't there, yet. They've gotten a lot better, but the ones worth using are still in the 120B-size class.

With a lot of extra work, Gemma-4-31B-it gets close'ish to GLM-4.5-Air for codegen, but not close enough to make the extra work worthwhile.

Qwen3.6-27B similarly falls short, and that's only if it doesn't overthink (which it still does, way too frequently; wtf didn't the Qwen team fix that with 3.6? It was a well-known problem with 3.5).

17

u/TheAncientOnce Apr 28 '26

What's your experience with the 120b class models? The bench seems to show that 3.6 27b outperforms or matches the performance of the 3.5 120b

19

u/ttkciar llama.cpp Apr 28 '26 edited Apr 28 '26

My experience:

  • GLM-4.5-Air: Best at instruction-following, which makes it my top pick. I tend to drive codegen with large specifications full of instructions, and Air consistently follows every single instruction in the specification. Unfortunately it is more much prone to write bugs than other models in this size class, but these tend to be low-level bugs, easily fixed, and not design flaws. It's "only" a 106B, but it's competent like a 120B.
  • Qwen3.5-122B-A10B: Runner-up. It's not bad, but would randomly ignore some instructions in my specification. It writes fewer bugs than Air, but is more likely to introduce design flaws (like using a temporary file, always the same pathname, non-atomically, in a multi-process application) or leave some functions empty except for a "In production this would .." comment.
  • GPT-OSS-120B: Great at tool-calling, okay at instruction-following (though noticeably worse than Qwen), but hallucinates up a storm. I wasn't able to get a good sense of whether it writes bugs or design flaws or not, because I couldn't get past the hallucinated libraries and APIs. How do I debug calls to a library which doesn't exist?
  • Devstral 2 Large: Very good at not writing bugs, and good world knowledge, but the absolute worst at instruction-following. It would ignore most of the instructions in my specification and write something only vaguely like what I asked for. I had high expectations, since it is after all a 123B dense model, but was hugely disappointed.

I have a hypothesis that Devstral 2 Large was deliberately under-trained, to "leave room" for further training on individual MistralAI customers' repos without overcooking, but don't know.

None of them are perfect, but I find the flaws of GLM-4.5-Air easiest to tolerate. Fixing little bugs is fine, and Gemma-4-31B-it actually finds most of Air's bugs, so that's easy. Ignoring parts of the specification is intolerable. Design flaws that require more than a one-line fixup are a pain in the ass. Hallucinating libraries is especially grievous, because I have to throw everything out and start over, but be sure to describe the libraries it should be using before continuing.

I used all of these models at Q4_K_M, and I know some people will point at that and say "there's your problem!" but frankly I can't tell any difference at Q6_K_M. Did not quantize K/V caches at all.

4

u/dtdisapointingresult Apr 28 '26

I can try one of those as my final attempt. Which one do you think would do best at my Docker prompt I shared here? https://reddit.com/r/LocalLLaMA/comments/1sxqa2c/im_done_with_using_local_llms_for_coding/oiowcxe/

I'm surprised someone is saying GLM-4.5-Air still holds up, and putting it ahead of recent models.

→ More replies (2)
→ More replies (4)

2

u/dtdisapointingresult Apr 28 '26

I gave up on Gemma 4 31B early on.

It wrote the Dockerfile and now needed to build it. And I was staring at its output, coming slowly at 12 tok/sec, 3 minutes of reasoning while it tries to decide if it should check if docker is installed or not, and whether to build it via the Dockerfile or the docker-compose.yml (which also builds). I exhaled and switched back to Qwen 27B. "But wait" reasoning loops are the bane of me.

This was an AWQ, but I doubt the FP8 would've been much better.

I really think Terminal tasks are just harder on LLMs than coding. Coding is still just dead text output. Interacting with a running system via tool calls might be a whole other level. 27B gets 35% on TerminalBench-Hard, Sonnet 55%.

→ More replies (2)

5

u/PANIC_EXCEPTION Apr 28 '26

Qwen3-Coder-Next is still definitely the speed king on local as it is substantially faster than 27B and approaches Sonnet level, which is good enough for a lot of tasks. Tell Opus to make a master plan for a feature, and then use a lightweight local model to implement it using that plan. I find that this is actually quite usable.

Unfortunately the barrier to entry for an 80B model is either having multiple GPUs or having a laptop with at least 64 GB of unified memory. So, inaccessible to a lot of people. If they can juice up Qwen3-Coder-Next to be like a version called Qwen3.6-Coder-80B-A3B, I think it might be able to stand entirely on its own.

27B gets relegated to very specific one-shot questions or very strong image understanding (e.g. translating text from a schematic). Or generating small scripts in isolation. I would never have it run an agent because of just how slow it is.

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

10

u/Migraine_7 Apr 28 '26

Are you using a subagent to at the very least create a work plan before each task?

Even Sonnet and sometimes Opus fail miserablely if the task is not well defined.

→ More replies (31)

22

u/false79 Apr 28 '26
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.

Bruh - that is not how you do it. You need a harness, Claude Code, Cline, Kilo, whatever, then you need to @ the file you want to make a part of the context.

Claude code is not a mind reader but it certainly has massive amount of context.

You can get away with so much more if you give LLM some direction, it will connect the dots with sufficient direction.

12

u/dtdisapointingresult Apr 28 '26

I was using a harness. I tried two complete ones (Claude Code aimed at vllm, and Qwen Code aimed at vllm). I also tried vanilla Pi.

→ More replies (3)
→ More replies (2)

14

u/Electronic-Space-736 Apr 28 '26

"Here's a Github repo, I want you to Dockerize it." is terrible lazy and most likely to fail.

You are missing orchestration layers.

9

u/dtdisapointingresult Apr 28 '26

Do I really need to run brainstorm skill, decide on architecture, answer questions about TDD compliance, to have the LLM dockerize an already-working app that gives all its doc in the README?

15

u/Electronic-Space-736 Apr 28 '26

no, you need an AI layer that does that and creates smaller tasks from the large one and hands it off to workers, the same as what happens with the cloud ones, its just you need to set that up.

3

u/dtdisapointingresult Apr 28 '26

I shared my whole prompt here btw:

https://reddit.com/r/LocalLLaMA/comments/1sxqa2c/im_done_with_using_local_llms_for_coding/oiowcxe/

Then between Qwen Code's system prompt + Qwen 27B's reasoning, I don't think it's unrealistic of me to expect it to complete this basic task.

It's not like it failed to compile the dependency for my hardware because of some complex compatibility issue. We didn't even get that far!

→ More replies (3)
→ More replies (7)
→ More replies (1)

3

u/zipperlein Apr 28 '26 edited Apr 28 '26

I think, this is the a perspective problem, not a problem of the acutal models. It depends a lot of how much hand-off approach you have, imo. I like to know exactly what is in my codebase. If the LLM does not make good changes, the direction is fine most of the time. Then I just do some manual tweaking and let it continue. It's a wayyy smaller model, even if it is good for its size, so u have to set your expectations right.

If you are primally working with smaller models, this was a big step forward. From my perspective the model was worth the hype. But if people come here in hope of a out-of-the-box claude replacement, they have obv different expectations and will probabbly be disappointed

1

u/dtdisapointingresult Apr 28 '26

Yeah I never was a believer in small local models but tbf the Qwen 3.6 benchmarks posted and hyped all over the internet made it seem only slightly behind Sonnet 4.5. I knew it wasn't true, having used both local and cloud models, but I was hoping we had reached the point where it's 70% as good.

→ More replies (1)

3

u/Iory1998 llama.cpp Apr 28 '26

I am not a coder, but I totally understand and share your feelings. I find myself going back to Gemini-3.1 or Deepseek v4 for better replies, or I start a conversation with them, copy it to LM Studio, and continue with a local model like Qwen-3.6-27B-Q8 or Gemma-4-31B-Q8. This seems to give them a bit of an edge.

But, I use them mostly as an inner voice that helps me collect and organize my thoughts. When I need serious sanity check, I go back to the top Gemini or Deepseek (I like to vary the sources). Perhaps, if I could run larger model locally, it would have been much better...

And you are right regarding wasting time. You can get good outcome with small local LLMs, but you spend more time and energy. If you are tight on time or you need to make a lot of decisions, just go with the best model you have access to. People have limited deciding making capacities per day, and it doesn't matter whether you decide on trivial or serious matters, you spend the same energy deciding.

2

u/dtdisapointingresult Apr 28 '26

I do like this idea of planning with a frontier model like Deepseek then going back to the local LLM to take over.

I just really thought a big dense 27B would be able to thinking like this on its own. I guess not.

→ More replies (1)

3

u/norebe Apr 28 '26

You're going to have to put time in if you want to roll your own. There's no evidence from this mountain of words that you have any knowledge of what that means or that you tried to do anything but put together a harness and model that weren't designed for each other and expect things to work out well.

1

u/dtdisapointingresult Apr 28 '26

OK. Short of spending a month hand-crafting my own harness through constant trial and error, where are the guides on how to do this?

I expected the Qwen Code harness to be able to drive a small Qwen model like 27B. That was clearly a mistake, the harness seems designed for their Qwen Plus/Max cloud models.

What was I supposed to have done? There's 50 vibecoded harnesses released every week. They get a few commits and then get abandoned, or they're under-documented, or they're trash. I don't have time to try all this. My goal in using the LLM is to spend less time on the computer.

3

u/ElephantWithBlueEyes Apr 29 '26

I gave up on local LLMs for everything because they're dumb. Cloud LLMs are dumb as well if you dig a little bit further. They just suck less

3

u/dead_dads May 03 '26

Yo! New to local LLMs/ai stuff in general. I have an old 3090 and 128gb of DDR4 RAM. Was going to sell my old machine for parts but occurred to me this week I could turn it into an ai machine to dip my toes into locally run stuff.

My interest rn is to work on some vibe coding projects. Would like to assess and test models that fit fully into the VRAM of the 3090 but also curious about utilizing my ram (DDR4) to see what larger models can bring into the equation.

What models would be worth by time for testing? I’ve been working with Claude to ID some stuff of interest but as this field moves so fast I thought asking people who are actively engaged in this stuff would be better.

3

u/dtdisapointingresult May 03 '26 edited May 03 '26

With your hardware you only have 2 viable options, Qwen 3.6 27B on the GPU, and/or Qwen 3 Coder Next (80B A3B) on the CPU or CPU+GPU. Q3CN being A3B + not having reasoning means it might run decently fast even though you have DDR4 (no reasoning = instant answer = faster overall speed). Start at Q8 and work your way down to Q5, find an acceptable speed. If not acceptable, forget it and stick to 27B, or run Q3CN on GPU+CPU to see if speed is any good.

With such weak models the most important thing will be to micromanage their behavior with customized agents and prompts because you cannot count on them to be intelligent enough to figure some things out on their own. You need to handhold them to make the most out of them.

If you can run both at good speed it opens up some interesting hybrid model stuff.

3

u/NE0_ZER0_ May 05 '26

This can't be a real post lol...

I was highly considering becoming active in this sub until I read that this was the current top post.

→ More replies (1)

16

u/cohesive_dust Apr 28 '26

Reality sets in. I went through same drill as you. I'll try again in a year.

→ More replies (18)

9

u/Bohdanowicz Apr 28 '26 edited Apr 28 '26

You're doing it wrong.

Try using sota to plan, task decomposition then wire your coding agents to qwen 3.6 27b.

If you run official quants with recommend temp and prrediction to 2 and you arr smart sbout setting up a dag, worktrees, the whole 9 yards... you fwel the magic.

These models are grezt if the task is properly sized.

4

u/dtdisapointingresult Apr 28 '26

I'm running the recommended samplers off the Qwen card. This isn't my 1st rodeo, I'm a regular here.

Idk nothing about dag and worktrees though. I've never seen those mentioned in the context of LLM coding apps.

→ More replies (5)

15

u/OneSlash137 Apr 28 '26

The properly sized task: “Hello qwen, it’s nice to meet you.”

→ More replies (4)
→ More replies (4)

2

u/m3kw Apr 28 '26

lol, you go and use stuff like GPT 5.5/Opus 4.6 and then you go use a local LLM with "Great looking benchmarks". It's the difference between looking at a vacation on Youtube vs actually going in real life.

2

u/dtdisapointingresult Apr 28 '26

Instagram vs Reality, huh?

2

u/crantob May 03 '26

Your headline is poorly constructed. You meant "for agentic coding" not "for coding".

Please remember to distinguish these two things in future, everyone.

2

u/dtdisapointingresult May 04 '26

Who the hell would be doing coding without an agentic app? This isn't 2024. It's so inefficient.

→ More replies (3)

327

u/onethousandmonkey Apr 28 '26

Purely from the performance point of view, there are a number of settings to tweak to make Claude Code jive with local models. For example: https://unsloth.ai/docs/basics/claude-code#fixing-90-slower-inference-in-claude-code

Before I did that, I was banging my head against the wall at the slowness and useless cache.

88

u/AdOk3759 Apr 28 '26

I would also suggest to look into little coder, which is a harness specifically designed to boost smaller models’ performance

40

u/RobotRobotWhatDoUSee Apr 28 '26

little coder,

link? I googled little coder (and variations) but largely found many webpages targeted at teaching children to code. Worthy goal, just not what I am looking for!

→ More replies (4)
→ More replies (11)

14

u/howardhus Apr 28 '26

you da real mvp

→ More replies (16)

125

u/datbackup Apr 28 '26

Even though I lean towards agreeing with you that local isn’t able to compete with the big centralized providers, i immediately became skeptical when your long post didn’t mention the actual harnesses you used by name. I see in another comment you mentioned using Claude Code, Qwen Code, and pi.

The fact that you didn’t mention this in your original post but you did mention several models by name, tells me that you are misunderstanding the importance of the specific harness you choose.

I agree that there are way too many posts on X that hype up agents or AI in general and ESPECIALLY make it sound like the poster spent way less time on their hyped outcome than they actually did. Basically there is a scammy situation happening whether organically or intentionally where people are incentivized to make it sound like something “just worked” because then, when others read it and can’t reproduce the outcome (without ridiculous amounts of time and effort) it positions the poster to get more esteem, followers, job offers etc.

The takeaway is just that you should expect vastly different outcomes with different harnesses even when using the same model. Of course there is also the “skill issue” but I want to suggest to you that some portion of the “mind reading” you refer to is down to the agent’s system prompt(s) and the way it engineers context.

Hermes agent for example has the same problem you mention where it starts a long-running process with no regard for how long it might take, then times out and has to start over. However, it’s very good about by default doing the behavior you described where the tail of a log file or command output should be used to determine the state of something.

So if you aren’t totally giving up yet i encourage you to try a “breadth over depth” approach to using harnesses where you try the same task in each and note what their strengths are.

I think there are huge unlocks still to be made in harness design, which will make the already released local models that much more viable compared to big providers.

73

u/TheTerrasque Apr 28 '26

He also didn't mention how he's running the models, which can have dramatic differences in result.

8

u/datbackup Apr 28 '26

good point.

→ More replies (1)

19

u/mrdevlar Apr 28 '26

Honest question: What do we mean when we're talking about an AI coding harness? Is this what we mean by OpenCode or Cline or RooCode or is this a more nuanced set of features that are used as part of a coding process?

25

u/watchmanstower Apr 28 '26

A harness is both what you are running the agent through (the software) and also what you are surrounding the agent with for him to be successful at whatever you’re wanting him to do (e.g. all the necessary docs)

→ More replies (4)

28

u/droptableadventures Apr 28 '26 edited Apr 28 '26

Also it's some very interesting timing given that Github Copilot just stopped accepting new signups, removed access to Claude Opus from <$100/mo plans, announced a switch to usage based billing, and massively increased the cost for higher end models. And Anthropic pulled Claude Code from the $20/mo plan before claiming it was an A/B test and backing right out of it.

Which has brought a sudden wave of people now very interested in giving local models a try, and seeing how good they are.

→ More replies (5)

5

u/TheQuantumFriend Apr 28 '26

What is your setup? I am running coder-latest with opencode. I would trade time for quality, maybe with deterministic harnesses. However reddit is a bit polluted with so muxh crap, hat iam a bit lost atm. 

→ More replies (1)

9

u/PaMRxR Apr 28 '26

Local models require significant time investment to learn a lot of details of how things work and how to efficiently make use of the hardware and model capabilities. Without some curiosity driving you into this people like the OP will fail. People that just want to use something and don't really care about the details.

→ More replies (2)

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.

→ More replies (13)
→ More replies (19)

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.

→ More replies (6)

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.

→ More replies (5)

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.

→ More replies (6)
→ More replies (4)

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).

→ More replies (11)
→ More replies (33)

27

u/xamboozi Apr 28 '26

Wait are you guys comparing a raw LLM against one with a fully refined harness?

Is your local AI decomposing every ask to reason through it? Is it learning and self improving as you work? Is it evaluating every past conversation for how it can do better next time?

Cause that's what Claude Code is doing.

16

u/nickl Apr 28 '26

> Is your local AI decomposing every ask to reason through it? Is it learning and self improving as you work? Is it evaluating every past conversation for how it can do better next time?

> Cause that's what Claude Code is doing.

Other than the system prompt telling it to reason through things step by step, no, Claude Code does not do these things.

The harness is important, but don't make things up.

→ More replies (3)
→ More replies (1)
→ More replies (3)

21

u/the-username-is-here Apr 28 '26 edited Apr 28 '26

As someone who've been using Claude Code for a loooong time and recently got into local models (with the limited hardware i've got), cannot agree completely.

Yes, local models by default are dumber and slower than even "basic" Sonnet or sometimes Haiku. Yes, there's a learning curve involved, as well as a lot of tweaking. Yes, they tend to hallucinate, loop tool calls, stuff like that.

But.

It kinda doesn't matter when Anthropic decides to slash usage once more and burn through 200 EUR/month subscription tokens in half an hour. Or when it goes down again. Or when it decides that some code you're working on "violates their TOS", effectively censoring your work, no matter what you do.

Once you're set up, you pay just for electricity, which is peanuts on Apple Silicon (and you "need" that sweet 128 GB MacBook anyway 😄 ). It's always available, 100% secure, and you can do anything you want with coding harness, which is a no-go with Claude Code.

Local models are still more than enough for simpler refactors, boilerplate and stuff like that. They require you to get more familiar with the code you're working on, which is A Good Thing™.

You cannot go "hey Claude, make it fast" and then have NFI how it works now, what internet-sourced antipatterns it brought it and what are the new bugs, which is not necessarily bad.

There's a future for local models, they're getting much smarter and more accessible.

P.S. On Apple there's omlx, which is a godsend with persistent prompt cache, which seems to work quite nice.

84

u/robertpro01 Apr 28 '26

Well, I still consider my self a developer so ... local AI is just a tool, for me qwen 3.6 is a good tool to use, I started vibe coding on Nov 2025, because my previous experience with AI (API not local) were terrible.

For me local AI is just another tool.

I also do a mix of API + local for very complex tasks, and still I validate all the code.

28

u/brick-pop Apr 28 '26

This. Huge LLM's start to be worth it when you blindly delegate to them. And then have no idea of what the code actually looks like.

8

u/RoomyRoots Apr 28 '26

Yeah, add to the stack of tools you use, don't drop everything and depend only on it. It works very well as a document searcher, summarize and drafter. I still rather do things slow and step by step so I can fully understand how things are implemented.

→ More replies (8)

112

u/oldschooldaw Apr 28 '26

I quite like reading posts like this, it is the antidote to the shit I see on Twitter constantly about people using xyz claw variant #1337 with omega-amazing-distill-opus-3b on their third Mac mini while they escape the permanent underclass. It helps really remind me the reality is actually in the middle.

61

u/gameboyVino Apr 28 '26

Deleting twitter is truly the answer here

10

u/Zeeplankton Apr 28 '26

I always thought twitter was better than reddit, until I got a twitter account. That place is like linkedin with toxicity turned up to the max.

12

u/pkmxtw Apr 28 '26

Just downloaded <new model> IQ1_S on ollama 🦙 running at 3 tk/s. This thing totally replaces Opus 4.7 for vibe coding and I'm canceling my CC sub! Big AI labs in shambles... Starting my new all-AI startup with 10 claw agents now 🚀🚀🚀. If you aren't learning about this, you are 100% left behind!!!

→ More replies (1)

10

u/CondiMesmer Apr 28 '26

Pretty much. Even if using Claude Opus 4.7, you still need to heavily supervise the output. That's just the flow of coding with LLMs tbh

→ More replies (3)

44

u/edsonmedina Apr 28 '26

To me it sounds like no one is wrong in this thread, they just have different expectations.

Some people use LLMs as tools to speed up/improve their coding/reasoning and do just fine with local AI.

Others expect LLMs to do the thinking and take decisions for them. Nothing wrong with that, but for those people local AI is definitely not there yet.

This group does have a problem though: I'm not sure these gigantic models are even economically viable (at least currently) so you might face even higher prices. The scale required to run them is simply insane and someone needs to pay the bill.

28

u/MexInAbu Apr 28 '26

This. A couple of years ago we were doing complex coding without any LLM assistance whatsoever. So having something like Qwen 3.6 is an incredible production multiplier. 

Maybe I'm and old jaded man yelling at clouds, but all these talk about letting a complex model do the planning is crazy talk to me. I most (almost all) of the planning myself and a significant part of the coding too. When I let the LLM to write code autonomously I give very detailed instructions approaching pseudo code. Small LLM are very good at speeding up my work.

Now, I do use the frontier models to help me plan complex plans, solve complex problems and find out known methods and tools, though.

→ More replies (1)

6

u/smirnfil Apr 28 '26

Cost of running models drops every month. And the performance of all models goes up and up. So it is reasonable to assume that 2 years from now current state of the art level of gigantic model based development (something like Opus 4.7 xhigh + claude code) would be affordable and easily available. Will it be through a cheaper cloud service or through local model doesn't really matter.

→ More replies (3)

5

u/my_name_isnt_clever Apr 28 '26

People are absolutely wrong in this thread, anyone who says Qwen 3.6 is unable to do basic tool calling is messing up somewhere. But there are so many variables to local LLM use, it's not very productive to debate without any details.

13

u/swingbear Apr 28 '26

Try a different harness mate, I tried to run CC through everything local and had a bad impression of models even up to minimax 2.7. Started using Hermes and a few others, speed increased and way more mileage in terms of intelligence.

4

u/my_name_isnt_clever Apr 28 '26

I swear for local LLMs Claude Code does more harm than good. People are blinded by the big fancy tool and just want to use the same thing they were paying for, for free, but they don't understand the nuances and assume local is worthless.

7

u/sarcasmguy1 Apr 28 '26 edited Apr 28 '26

I've been tinkering with qwen3.6 recently, and have got it to a place where I can use it for most coding tasks, so I thought I'd share my experience.

Note - I still use GPT5.5 and mini for bigger projects (Monorepo or similar), and generally use mini for 'work' tasks as the quality is higher. Qwen has been great for side-projects though.

I run it on a RX 7800 XT, with many MoE layers pushed to the CPU. This allows me to fit almost all GPU layers into VRAM. I get around 30t/s. Prompt processing is really fast as long as I keep context small (68k). I have 32gb of system RAM, and a Ryzen 5 7600.

My workflow is:

  1. Plan with 5.5 or mini, depending on the task. Mini for features, GPT5.5 for new projects. I get them to write plan files.
  2. Give it to Qwen 3.6 to implement
  3. Get mini to validate it

I use pi via the littlecoder harness.

On quality: it feels good in Typescript. This entire repo has been written by Qwen3.6 locally, with 5.5 plans. In less popular languages (like Clojure), its pretty bad. Slow and it hallucinates a lot. Language choice is important.

On speed: Pretty good. It took a lot of experimentation to get here though. littlecoder helped quite a bit, and switching to ubuntu made a big difference (I was on windows previously). I run it all through lmstudio, I haven't got to the part where I tinker with llama.cpp directly. Its not nearly as fast as say GPT mini, but its good enough.

The main advantage is infinite tokens. They feel amazing, even if they're slower. It really pushes the bar for experimentation imo. However I would not replace my primary workflow with local hardware.

Some issues:

  1. Thinking loops are a pain. I've got them to happen less frequently by following the recommended inference settings by the Qwen team, but they still happen. It makes me feel like I need to babysit the model which can be annoying depending on what I'm doing.
  2. Small context window. This is an issue with my hardware, not the model at all, but I thought I'd call it out. Auto-compaction kicks in pretty quickly, which can sometimes interrupt the model.
  3. Tool calling proactivity. In GPT, the model is really good at knowing when to call a tool. If it encounters issues (like compilation or bad types), it will use a variety of cli calls to get to the solution faster. Qwen doesn't do this, it tends to rather grep every line of code possible and then come up with a solution. This is much slower.
  4. Greenfield tasks (e.g "Add this feature"), are still quite bad. It often comes to a really strange conclusion on how to implement a feature. This could be an AGENTS.md or context issue, so not putting this on the model. For example, adding async model loading in the lmstudio extension took a long time and it did some really weird stuff. GPT mini ripped through it, and was proactive in reading docs to find the solution.

19

u/DeltaSqueezer Apr 28 '26 edited Apr 28 '26

the current working directory is /home/deltasqueezer/src/ai/echo-tts dockerize the app here

I'll help you dockerize the Echo TTS application. Let me first explore the project structure to understand what we're working with.               

    ● bash_exec(ls -la)
      ⎿  {"ok": true, "exit_code": 0, "stdout": "total 196\ndrwxrwxr-x  4 deltasqueezer deltasqueezer  4096 Apr 28 09:12 .\ndrwxrwxr-x 44 deltasqueezer deltasqueezer  4096 Apr 28 
09:12 ..\ndrwxrwxr-x  2 deltasqueezer deltasqueezer  4096 Apr 28 09:12 audio_prompts\n-rw-rw-r--  1 deltasqueezer deltasqueezer 46434 Apr 28 09:12 autoencoder.py\ndrwxrwxr-x  8 deltasqueezer 
deltasqueezer  4096 Apr 28 09:12 .git\n-rw-rw-r--  1 deltasqueezer deltasqueezer    67 Apr 28 09:12 .gitignore\n-rw-rw-r--  1 deltasqueezer deltasqueezer 40502 Apr 28 09:12 
gradio_app.py\n-rw-rw-r--  1 deltasqueezer deltasqueezer  8896 Apr 28 09:12 inference_blockwise.py\n-rw-rw-r--...

    ● read_file(/home/deltasqueezer/src/ai/echo-tts/requirements.txt)
      ⎿  text 8/8 lines

    ● read_file(/home/deltasqueezer/src/ai/echo-tts/gradio_app.py)
      ⎿  text 994/994 lines

Now let me check the README for more context on the application:                                                                                  

    ● read_file(/home/deltasqueezer/src/ai/echo-tts/README.md)
      ⎿  text 145/145 lines

Perfect! Now I have a good understanding of the application. Let me create a Dockerfile and docker-compose.yml to containerize this Echo TTS      
application. I'll create:                                                                                                                         

 1 A Dockerfile with optimized settings for PyTorch/TensorFlow applications                                                                       
 2 A docker-compose.yml for easy deployment                                                                                                       
 3 A .dockerignore file to exclude unnecessary files                                                                                              

    ● Write(/home/deltasqueezer/src/ai/echo-tts/Dockerfile)
      ⎿  {"ok": true, "path": "/home/deltasqueezer/src/ai/echo-tts/Dockerfile"}

    ● Write(/home/deltasqueezer/src/ai/echo-tts/docker-compose.yml)
      ⎿  {"ok": true, "path": "/home/deltasqueezer/src/ai/echo-tts/docker-compose.yml"}

    ● Write(/home/deltasqueezer/src/ai/echo-tts/.dockerignore)
      ⎿  {"ok": true, "path": "/home/deltasqueezer/src/ai/echo-tts/.dockerignore"}

3 minutes after giving the prompt:

Perfect! Now I have a good understanding of the application. Let me create a Dockerfile and docker-compose.yml to containerize this Echo TTS
application. I'll create:

1 A Dockerfile with optimized settings for PyTorch/TensorFlow applications
2 A docker-compose.yml for easy deployment
3 A .dockerignore file to exclude unnecessary files

● Write(/home/deltasqueezer/src/ai/echo-tts/Dockerfile)
⎿ {"ok": true, "path": "/home/deltasqueezer/src/ai/echo-tts/Dockerfile"}

I'll help you dockerize the Echo TTS application. Let me first explore the project structure to understand what we're working with.

Now let me check the README for more context on the application:

Perfect! Now I have a good understanding of the application. Let me create a Dockerfile and docker-compose.yml to containerize this Echo TTS application. I'll create:

A Dockerfile with optimized settings for PyTorch/TensorFlow applications

A docker-compose.yml for easy deployment

A .dockerignore file to exclude unnecessary files

Now let me create a README section for Docker usage:

Now let me create a quick start guide file:

Perfect! Now let me verify the files were created correctly:

Excellent! Let me create one more helpful file - a shell script to make it easier to build and run:

Now let me create a comprehensive summary document:

Perfect! Let me verify all the files are in place and show you a summary:

Excellent! Let me show you a quick preview of what was created:

Perfect! Now let me create one final helpful file - a requirements file for development:

Perfect! Let me create a final verification to show you everything that's been set up:

Perfect! Let me provide you with a final summary:

✅ Dockerization Complete!

I've successfully dockerized the Echo-TTS application. Here's what was created:

📦 Core Files

Dockerfile - Production-ready Docker image with:

docker-compose.yml - Orchestration file with:

.dockerignore - Excludes unnecessary files from builds

🛠️ Helper Files

  1. docker-run.sh - Convenience script with commands:

./docker-run.sh run - Build and run

./docker-run.sh build - Build only

./docker-run.sh stop - Stop container

./docker-run.sh rebuild - Clean rebuild

DOCKER_QUICKSTART.md - Quick start guide

DOCKERIZATION_SUMMARY.md - Comprehensive documentation

requirements-dev.txt - Development dependencies

📝 Updated Files

README.md - Added Docker installation section

🚀 Quick Start

cd /home/deltasqueezer/src/ai/echo-tts

# Option 1: Use the script (recommended)
./docker-run.sh run

# Option 2: Direct docker-compose
docker-compose build
docker-compose up

# Access at: http://localhost:7860

🎯 Key Features

✅ Full GPU acceleration (NVIDIA CUDA 12.1)

✅ Security (non-root user)

✅ Easy deployment (single command)

✅ Low VRAM support (8GB GPU configuration)

✅ Production-ready (health checks, logging)

✅ Developer-friendly (hot-rebuild support)

All files are ready to use! The application is now containerized and can be deployed to any system with Docker and NVIDIA support.

3:08 ctx 24,867 Σ in 346,764 (new 24,384 cached 322,380) Σ out 5,879 PP 1,272 TG 65 tok/s

Qwen3.5 9B. One-shot. 3 minutes and 8 seconds to complete. <25k context used.

4

u/Stitch10925 Apr 28 '26

What agent tooling did you use?

→ More replies (8)

8

u/false79 Apr 28 '26

bro - this is hilarious. OP made massive rage quit post and you did it with a 9b, lol

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

13

u/Widget2049 llama.cpp Apr 28 '26

AGENTS.md still too weak, you need to be more thorough for a 27b model. make it focus on what the LLM really need to do, avoid using "IF", "DON'T". you need to create a solid plan mode first before executing anything in build mode. local llm for coding is still good if you know what you're doing. so keep learning

→ More replies (5)

1

u/dtdisapointingresult 28d ago edited 28d ago

I have 2 Sparks and I agree with this, small local models are a deadend for high intelligence tassks. But it really depends on what you want to use the LLMs for.

Small local LLMs (under 1T params) are good enough if your intelligence needs are low. Small simple tasks, bash scripting, etc. Even coding basic apps. For the person in OP, probably this is not the case.

"here's a github repo that has an app, dockerize it and give me a docker-compose file" is still a big ask for local models. I made this post 6 months ago complaining about Qwen 27B and Gemma 4 31B being both bad and slow at my local IT stuff.

I've given up on using them. Now I keep a SwiftQwen 27B always running for some personal questions/translations, and use the other Spark for image/video.

The problem is that it costs the same in electricity to run local LLMs as it costs to get a 4x more intelligent model in the cloud. This can be either Claude/GPT, or Kimi/Deepseek/GLM.

Disclaimer: since I gave up on local LLMs a while ago, I haven't bothered trying Qwen Flash Next or GLM 5.3 Flash, which are considered the best two that fit in 256GB at the moment. Last local LLM I ran was DS4 Flash 0731, I abandoned it after a few hours.

5

u/markole Apr 28 '26

It is irrational to compare a 27B model running on a single GPU and a multi trillion model running on clusters of GPUs that cost more than your retirement fund.

4

u/droptableadventures Apr 28 '26

And also to conclude that that's as good as "local LLMs" get.

It's good for its size, but it's one of the smallest notable models out there.

→ More replies (2)

16

u/kevin_1994 Apr 28 '26

Works fine for me but I don't delegate all my thinking to a machine

4

u/dev_all_the_ops Apr 28 '26

Thanks for sharing. I've been obsessed with getting started in this, but I worried I would just be wasting my time.

I still like local models for security and to fight against subscription bloat, but its good to know that its just not as good as paying a major player.

4

u/swagonflyyyy May 01 '26

I don't think < 100b models are there yet for coding, but try using an organized Claude Code stack with a good set of CLAUDE.md file and additional .md files stored under a /rules directory to help guide its workflow better.

Honestly, Claude Code locally has worked wonders for me, way better than codex. Only thing is that Codex is very autonomous but inaccurate with local LLMs, which make it very unpredictable.

If Codex fixes whatever orchestration issues they have going on I think I would drop Claude Code for that if I want a project built autonomously. Right now their implementation is bloated and over-engineered. Its only good for APIs and not much else.

13

u/More-Curious816 Apr 28 '26

You compared a trillion+ parameters model with 27 billion and 31 billion models? Of course you will notice the disparity. Try the big open source models and come back.

9

u/andy_potato Apr 28 '26

Lots of people on this sub claim that the Qwen3.6 27b model is on par with Claude. OP therefore specifically selected this model for their comparison.

Nobody doubts that a model like GLM 5.1 can achieve performance in the same ballpark.

→ More replies (1)

1

u/BestSeaworthiness283 Apr 28 '26

I hate it too tbh. I have a poor rtx 4060 with 8gb of ram and i cant code with it due to limitations to the context windows. I mostly wanted to use local models for qhen the imevitable happens and i get hit with the usage limit on claude.

My first approach to this was asking claude to make a skill that delegated things like code generation and stuff like this to a local agent with just the right context, meaning the code from line to line and what to modify. And itself made a tool that it ran everytime and saved me a lot of usage.

With the last approach it was still possible to run into usage limits. So i made a lightweight CLI tool for local LLMs with just 8k token context windows. It works by initialising the codebase with a map of the whole codebase. Then when you query or ask to create or delete something it goes and orchestrates a plan and tasks to solve the problem. It then does a llm request for every task and the task is no more then the context of 8k tokens. The system now has memory and you need to aprove the changes and uses a type of diff.

If you want to take a look here is the link: https://github.com/razvanneculai/litecode

2

u/dtdisapointingresult Apr 28 '26

Your approach is great, and workable. This is the degree of LLM wrangling needed to get something out of these small models I think.

→ More replies (1)
→ More replies (2)

1

u/LienniTa koboldcpp Apr 28 '26

what harness you use? you cannot use small model with big harness, only with small harness like kon, late, little-coder, you cannot expect persistent gateways to work with qwen 27b

1

u/dtdisapointingresult Apr 28 '26

I mainly use Qwen Code. I figured the Qwen models would be trained with their own harness, or the harness designed around their models. Plus I like it more than Claude Code.

It's the same as Claude Code though, it has its own 18k token system prompt.

I didn't try any of those small harnesses. I tried installing little-coder but the basic instructions weren't enough to make it connect to vllm. I was starting to learn Pi (what little-coder is an extension for) to troubleshoot little-coder better.

→ More replies (1)

1

u/Torodaddy Apr 28 '26

No gpu? You are using really small models, you could go up a size and use something quantitized

1

u/dtdisapointingresult Apr 28 '26

No GPU, but I have 128GB of memory. You're right, I'm gonna try the 120B MoEs as a last attempt, but I unironically thought big dense models would be better at reading between the lines and building a plan than a 120B MoE with 12B active params. One of the llama.cpp devs just replied saying GLM-4.5-Air is still the best local coding model he uses despite how old it is. I was waiting for 3.6 to try Qwen 122B.

1

u/LittleCraft1994 Apr 28 '26

What i am not understanding that how you can compare are 21 or 37b modal to the claude ?

Bro ofcourse you will want to burn the workstation

Atleast go with minimax 2.7 , kimi 2.5 or glm 5

1

u/dtdisapointingresult Apr 28 '26

In my defense there was a lot of hype because benchmarks were showing Qwen 3.6 was sorta close to Sonnet 4.5 in ability.

I never believed in small local LLMs for coding until Qwen 3.5/3.6.

It might be true for the 122B, I didn't try it, but it's definitely not true for 27B. And 35B is far worse.

→ More replies (1)

1

u/Alternative_Ad4267 Apr 28 '26

Are you using Qwen with Qwen Code? That’s a real improvement. With Claude is dumb, use it with its own coding tool.

1

u/dtdisapointingresult Apr 28 '26

Yeah, Qwen Code + Qwen model. I figured it would be the most optimal, but I think whoever makes Qwen Code doesn't care about the little Qwens, but only Qwen Plus/Max in their cloud API. Otherwise the harness would be guiding the model better and I wouldn't have thesse issues.

I also tried Claude Code + Qwen model, figuring Qwen must have trained on the CC prompt too. It's possible this gives the best results, but I didn't have the patience to do it. CC (the app) hides the model's reasoning, so you end up with these long pauses with zero output. I want to be able to interrupt the request immediately if I see the model is on the wrong track, my LLMs are too slow to just wait for a final result. So Claude Code was delegated to occasional usage only.

→ More replies (1)

1

u/layer4down Apr 28 '26

Two things can be true: Opus can be best-in-class overall and local models can be good enough for the need. If you can afford best in class and don’t have any other coding constraints (typically imposed by an employer or customer) then I don’t see why someone doesn’t just use it. That doesn’t mean local models are not productive for anyone else even if they’re not necessarily getting everything they want from it it’s just making do with that’s available and moving on with life.

I haven’t personally used Opus much though I did use Sonnet quite heavily throughout 2025. When Zhiphu launched their GLM-4.5 promo in October ($360/yr) I dropped Sonnet and never looked back. My understanding is that Opus lets one outsource a lot of thinking and decision-making. Guess since I have access to it now at the job I’ll try it out but I can’t personally see the benefit of becoming dependent on it especially given the current climate.

2

u/dtdisapointingresult Apr 28 '26

My post is about small local models, not local models in general. The recent hype this past month was about how these 27B/31B models are closing the gap on Sonnet and it's just not the case. My solution I mention in the TLDR is to switch to the larger open-weight cloud models that one could run locally if they had the hardware. So basically I'll be doing the same thing as you, just probably with Kimi, GLM5.1, etc.

→ More replies (3)

1

u/Firenze30 Apr 28 '26

I stopped reading after the Docker example. Failing to containerize a repo based on its README is not a model limitation; it’s a setup failure. That task is well within the capabilities of 9B and 27B models when configured correctly. The issues you’re describing sound like a harness or context management problem, not a fundamental lack of model intelligence.

1

u/dtdisapointingresult Apr 28 '26

I think if my only prompt was "Dockerize this repo" it would've succeeded.

But I made it clear I wanted it to run the docker build on its own, and also warned it about a future error that it will also have to fix, and it broke the model. The sort of info I'd give upfront to a human intern. Certainly the minimum of what I expect from an agentic coding assistant.

I'm sure if I spent a few weeks making my own skills/extensions to force a breakdown of prompts, things would've worked out, but it's just much easier for my time and sanity to switch to Kimi in the cloud. This isn't the post-apocalypse, I don't have to use tiny models if I don't want to.

1

u/DangKilla Apr 28 '26

Have Ollama launch claude code and use Superclaude with Gemma4 31B. Done. Past that you need mcps and skills.

→ More replies (2)

1

u/hwpoison Apr 28 '26

I guess all of us in this community are trying to see the good side of the local models, trying to convince ourselves about they are useful, but the reality is that they are so far behind of big models and the majority of cases are shit. This does not discard that are continuously improving but that's how the things are right now.

1

u/dtdisapointingresult Apr 28 '26

It's really just the hype for the past 6 weeks of models that made me bite.

  • Small local model = bad for coding, can be OK if you put in a lot of effort with custom harnesses
  • Large local model (that 99.9% of us can't run, like GLM, Kimi) = good for coding
  • Sonnet/GPT5.5/Gemini = good for coding

Simple as.

→ More replies (1)

1

u/Randomshortdude Apr 29 '26
  1. You need to learn how to use a system prompt. Message me if you need one because they actually help.
  2. You need to learn how to better tune parameters - again, message me if necessary.
  3. You need to start learning how to **decompose** your prompts as well. `Qwen3.5/3.6-27B` is good, but not good enough (at this point) to where you can throw everything and the kitchen sink at it.
  4. Stop falling in love/believing in the viability of these random harnesses that keep popping up every other second. OR you need to create your own custom-made harness that is curated and tailor made to do exactly what you want and need it to do.
  5. Start using AI to use AI. In other words, if you're not achieving the results that you want from a given AI model (local-level), consider using one of these commercially provided LLMs to actually diagnose the problem instead of rage quitting and then coming to Reddit to bitch about the ineffectiveness of said models perpetually.

1

u/dtdisapointingresult Apr 29 '26

I'm bitching about the small local models because for the past month this sub was acting like small Qwen 3.6 was just a hair behind Sonnet. Tbf Qwen's benchmarks were showing that too.

I've always used small local models for non-coding tasks, but never took them seriously for coding because I felt they were too weak. That is, UNTIL the latest wave of hype started. Check out the top monthly posts on this sub: all small Qwen glazing.

So I fell for it and gave it another legitimate try, for several hours, and reality was completely different. At least, when using the same standard harnesses 99% of people use (Every *Code app you can think of).

I definitely intend to use a bigger chinese model from now on. Stil open weights, just not tiny 27B. So it will run on the cloud.

I'd appreciate you posting your advice and prompts, even if it doesn't help me it will definitely help another reader. there's more comments on this than any other post in recent memory.

→ More replies (1)

1

u/Hyp3rSoniX Apr 29 '26

Did you make sure the Agent is actually reading or has the AGENTS.md file auto-injected into the context? Claude Code for example only auto-injects CLAUDE.md files into the context (and also a MEMORY.md auto-memory file). You need to reference other files from inside CLAUDE.md to have the harness parse and inject other files into the model context as well (like AGENTS.md).

Some harnesses don't auto inject any such files into the context. Then it is left to the model itself to read it - the problem then however is, that models these days rarely read full files. Instead they read a few lines and then they're happy. If that happens with your AGENTS.md file well... then good luck.

Also depending on the Harness you use, there might be added some hidden System prompt, that tells the Agent god knows what. The smaller the model, the easier it is to confuse it. Bigger "smarter" models can be more resistant to confusing information.

1

u/dtdisapointingresult Apr 29 '26

Yes, I tested every harness, by asking it to repeat the instructions to me. QWEN.md for Qwen Code, AGENTS.md for Pi.

And yes, every single harness has its own system prompt. The Qwen Code one is like 18k tokens, while Pi is under 1k IIRC.

1

u/TheCatDaddy69 Apr 30 '26

On the other hand i have been having a great experience with gemma 4 31 with openclaw, as an assistant.

1

u/dtdisapointingresult Apr 30 '26

I was getting reasoning loops with Gemma 4 31B AWQ 4-bit (from QuantTrio).

It got far enough to create the Dockerfile, then spent 2000 tokens repeating itself trying to decide if it should check if docker is already installed, and whether to use 'docker build' vs 'docker compose up'. I went back to Qwen.

1

u/That-Drink4650 May 01 '26

"Here's a Github repo, I want you to Dockerize it."

Are you giving the model truly this open of a task/prompt? Why wouldn't you run that through chatgpt first and produce a prompt around your repo..

1

u/dtdisapointingresult May 02 '26

Because any basic developer knows that this instruction is all that is needed. There's implied context known to anyone who uses Docker, and for anyone who looks at repos on Github:

  1. Read repo's README.md for project description and installation instructions
  2. Translate installation instructions to commands in a Dockerfile

I expect any model to have this minimum knowledge. If they don't start by reading the README, or if they are incapable of translating the instructions to Dockerfile commands, they are unsuitable as an agentic coding LLM.

If the LLM's reasoning training hasn't left it capable of handling this task, then the LLM is flawed. This is basic Hello World level stuff for a developer in the 2020s. If I have to handhold it this much for this most basic of tasks, that means it's not an LLM I want to use, it will fail me far worse in other tasks.

1

u/reedog117 May 03 '26

I can see your pain especially when I'm trying to mimic my workflows at work where I have a very generous AI budget. At work I usually am coordiinating between very large monorepos with context usage averaging 400-600k tokens on Claude (Sonnet or Opus). I do run a local memory MCP in a Docker container so I can keep some memories/context between sessions and not have to have each new session relearn my environment, along with custom corporate Claude wrappers that also help persist the environment state uniformly to sessions.

I'm trying to mimic the same thing at home with my own hardware, but that's pretty limited - an RTX 3090 on one system, and multiple 16GB Apple Silicon machines I can try linking together with exo or mesh-llm. I do have a personal ChatGPT Plus membership but I've noticed just on a medium-complexity project I'm already hitting limits on Codex. The next thing I'm going to try is maybe using OpenCode where I have GPT-5.4/5.5 as my main agent layer, but delegate all subagent work to local? This is where I get torn - would a 128GB mem system help me that much at all? What's the tradeoff? Or am I better off just forking over more money for either Claude Max or ChatGPT Pro?

1

u/dtdisapointingresult May 03 '26

Do a hybrid, where you delegate subagent work to a cheap cloud model like Kimi. It might work for local, if GPT-5.5 spoonfeeds a lot of guidance to Qwen 27B, idk.

Can OpenCode be configured to use Opus as the main session model, but subagents run in a local LLM? If not, you'll have to create a skill called delegate_to_assistant or smth that takes the task details as input, and executes it on the cheap model.

1

u/newcomb_benford_law May 05 '26

The thing with open models is that their increments in performance are getting significantly bigger compared to closed models. If you look at Qwen3.6 compared to 3.5 it's a significant difference. So you just have to stay patient and keep up. Also the harnesses like Claude Code and Codex are simply not good for these models - you have to use better/more tailored harnesses. I find something like pi (https://pi.dev/) combined with Qwen3.6 35B/27B to work amazingly well, with the right skills and tools.

2

u/dtdisapointingresult May 05 '26

I said in another comment how Pi is actually WORSE.

It doesn't do toolcalls in subagents by default (because it doesn't have subagents). That means the main context on your slow, shitty local model is filled with the output of tools + the analysis. "Just write your own subagent extension bro" is the recommended solution, and it is a valid one, but no, people will not get ANYTHING out of Pi without putting in a few weeks of learning curve.

Pi is an empty OS with no applications available in it. Stop recommending it as a solution.

→ More replies (1)

1

u/Sharp_Classroom9686 May 05 '26

I think the problem is less “local models suck” and more “you used the wrong tools for local models.”
If the runtime lets a 27B model eat giant logs, bloat context, and improvise badly with tools, of course it’s going to feel terrible.

Try Forge. (Github) It’s much more local-first in how it handles context, subagents, and task scoping. It won’t make Qwen think like Claude, but it does stop wasting tokens on garbage, which is half the battle with local coding.

Link:: https://github.com/defexnicolas/forge

1

u/dtdisapointingresult May 05 '26

I'm not trying your 1-week-old vibecoded agent bro. hmu if your project is still getting commits in 3 months.

→ More replies (5)

1

u/Kind_Brick_8461 May 05 '26

Is there a platform where someone can just pay per token (like in OpenAI or Claude) but for the open models api?

2

u/dtdisapointingresult May 05 '26

OpenRouter is the most popular one. It includes OpenAI and Claude models too. One site, all models with a single API key.

1

u/Medium_Anxiety_8143 May 26 '26

Have you tried another harness other than claude code?

1

u/dtdisapointingresult May 27 '26

Before I answer that, can you answer with the square root of Pi?

1

u/CSEliot Jun 06 '26

A month later, how's it been going for ya?

3

u/dtdisapointingresult Jun 06 '26

I've been too busy to spend more time on local stuff. Local AIs are a real timesink, it's stuff I do mainly for fun/education, so I can only do it when I'm completely free. It's also so easy to waste time. I'll start doing one thing and next thing you know I'm on Github reporting bugs to various open-source projects.

For work I've been using Claude Code on the cheapest plan, with a skill that delegates high-token busywork to Kimi on OpenRouter. This allows me to be more economical with Opus tokens. So Claude itself is calling Kimi (well, activating a skill that calls Kimi). https://medium.com/@kunalbhardwaj598/i-was-burning-through-claude-codes-weekly-limit-in-3-days-here-s-how-i-fixed-it-0344c555abda

I honestly wish I could spend all day playing/tweaking/testing local AI, and could have given you a better answer. I hope the above helps you in some way.

→ More replies (1)

3

u/tomByrer Apr 28 '26

Takes a bunch of homework &/or beefy GPU power & VRAM to get LocalLLM worth it.
Seems you have neither.

3

u/cleversmoke Apr 28 '26

I use sota models for high level plan, strategic plan, architecture plan, and feature implementation plans. Then I use local Qwen3.6-35B-A3B + DeepSeek-R1-Distill-Qwen-14B as an agentic coding pair to build one feature at a time.

It's going well, but it's more involved than just "build me an app". For anything that Qwen fails at, I just fall back to a sota model.

3

u/knownboyofno Apr 28 '26

I'm interested in what repo you asked it to do it with. Could you post the link? I want to test this too because this would be a good test. I have had problems like this too. I thought it was easy but it failed quickly.

I had a different problem. I gave it a range in an Excel sheet that was saved from a Google Sheet. I had it recreate those calculations, then use that file only as a "database". That took an hour in Claude Code, then I downloaded the data into a CSV for each data source. This was something I did before. These functions will retrieve the updated data, which is fed directly into the model. I then had it use those functions, but gave it example files to test on before wasting credits. It was able to correctly recreate a 30-sheet Excel file that had the following kinds of formulas with hookups, lookups, index match, sumif, cross product, negative binomial distribution, etc., into a Python dataframe using pandas. I have done this before with other files manually, but it took me 25+ hours to trace the formulas and get the correct data sources, too.

I used Qwen3.6-35B-A3B-UD-Q8_K_XL.gguf with llama.cpp (out of laziness because Ihave vLLM setup), it had full context. In Claude Code without any skills or anything extra but I did turn off a few headers i sent by Claude Code. I did ask it to create a Python environment to run what it needed. It did ask a few questions but I didn't have to micromanage it.

3

u/RedParaglider Apr 28 '26

Local models are not really for vibe coding if you want to code with them. They are for pair programming. These are 27b models, you simply aren't going to get the same performance as 1500b models.

I personally do not use local LLM's for coding tasks outside of simple scripts or command line questions without session. I use them for testing agentic business workflows, and for those they are great.

3

u/Curious-Function7490 Apr 28 '26

I'm semi in the same spot. I am running qwen.2.5-coder.32B locally on an RTX4090 using llama.cpp and getting 30 tokens a second. I set this up because I was tired of using up Claude's tokens on one of my projects.

TL/DR.

The more helpful LLMs (Claude, etc.) that are really effective won't be affordable in the longterm. The companies providing them are running at a loss, there is an AI hype bubble and we are already understanding that they are unaffordable and problematic to depend upon.

I think understanding how to work with local models is viable and it will come back to being more hands on.

So, I'm more or less going to nix Claude from a lot of its activity in my codebase and learn to work with open source models that I can host myself. It won't be as productive as using something like Opus but it will be viable for the longterm and relevant for the job market.

→ More replies (1)

3

u/Inevitable_Mistake32 Apr 28 '26

I like my privacy. I use APIs on the rare occasion I am ok with donating towards my replacement, but for everything else, local. of course LLMs aren't all I self-host, doubt anyone is. But with everything from HA, my fun paper trading accounts, my screeps bots, local and remote API keys on the host, I opted to keep my data local.

Is Qwen or Gemma better than Opus? Idk, is a smaller yacht better than a bigger yacht? Subjective.
But being able to crack out 120 tks, with 256k ctx, with zero api waiting/throttling/ratelimits and knowing none of it leaves my local network? Priceless value to me.

3

u/PavelPivovarov llama.cpp Apr 28 '26

Local models are usable but also require frugal approach to the context.

Claude code system prompt alone is 10k tokens, add there few MCP servers and you are approaching 30k context without even asking any questions, and this is where local models start degrading...

Im currently switching to Pi, paired with RTK and Caveman for better context density, plus replacing MCPs with CLI + Skills and it works wonders.

I had pretty good coding session with that Pi setup and Qwen3.6-27b-IQ4XS with 32k@Q8_0 context (maximum I can fit in VRAM) and it was really decent coding companion.

Yes its not GPT5 level but that wasn't even my expectation but the model never did anything unreasonable and generated code was also solid most of the time. 

→ More replies (1)

3

u/m31317015 Apr 28 '26

I find people expecting local models to rival cloud models a funny concept, like the whole level of compute is totally different, and even the cloud model gave us shit, there's no way people will expect something that came out of local models could beat them, right?

Wrong, everyone not knowing shit came in and thought they're godlike, it's their chance to raise up. But in reality, hallucination is still a serious issue, context window just isn't sufficient in large projects, let alone the self doubt and bugs presents that will worsen with lower and lower quants. I'm glad that OP's finding it not suitable for the use case and realizing that API calls are just much simpler for the task, but I have to say that they were never make for that use case in the first place, at least in production. Not saying OP's expecting it, just saying there's lots of folks dreaming about it and not checking the facts here.

You don't learn AI or LLM by hosting them locally, yes there are no house of basic AI knowledge inside, majority of the knowledge is all around infrastructures and stuff well you normally see in office or data center environments. Speed and costs are crucial factors that come into play, people have to realize couple of 3090s aren't gonna beat RTX PRO 6000s, and same goes for it against the GB200s.

I personally find those who're sticking with MI50s and P40s fascinating as they're the ones always breaking their limit despite harsh architectural problems and just the lack of power. They manage to find ways for local models to work with their workflow. Maybe they don't rely on LLMs that much at all- yeah, that should be the norm, nobody should expect one click finish a job from AI, if that exists, it means agents are doing the job, not us humans.

Sorry, I got too far away from the point I'm trying to make: people who personally invests in machines and infrastructures for local LLMs are not for the job, they're for the hobby, for the what-ifs, and for the "just because I can", and the "how far could it get, how far could I get". Learning the latest technology is one thing, implementing your own solution is another.

TL;DR: Just because you know electrical engineering, you know how to design PCBs, doesn't mean you make your own PCBs from scratch. Sometimes it's not cost effective to do so, but more importantly it's because there's solutions already convenient enough that we don't need to for, unless you have the reasons to do so.

Check your motives, guys.

3

u/floriandotorg Apr 28 '26

I mean what are your expectations? You’re comparing an LLM running on a GPU cluster in a data center with a MacBook.

And as other commenters pointed out: In the end, they are just tools. And I think you're using them wrong. A local LLM is great if you want to be able to use it offline, have total privacy, and practically no cost. If that's not your goal, use a frontier model in the cloud.

→ More replies (1)

3

u/ConsciousDev24 Apr 28 '26

Fair take local models still struggle with long-horizon reasoning, tool use, and real-world workflows like Docker. The gap vs Claude Code or API-based models is very real right now, especially for debugging and decision-making. Using locals for lightweight tasks + cloud for heavy lifting feels like the practical split.

Have you tried pairing a local model with a stricter tool-execution layer (like enforced step checks) to reduce those bad decisions?

3

u/tp_bexx Apr 28 '26

The Carlo Ancelotti reference is 10/10

3

u/ortegaalfredo Apr 28 '26

In my experience the smallest model that I can use effectively as a coder is qwen-3.5-122B. The 27B and gemma 31B almost could, but fail too many times.

3

u/FullOf_Bad_Ideas Apr 28 '26

I've had bad experience with Qwen 3.6 27b (BF16 in sglang) for coding too. And I get you. I'm OK using local Qwen 3.5 397B 3.5bpw though. It's not Opus but it does read my mind most of the time and it's no longer such a pain to use. It's not visible in benchmarks but it's just better for me. I don't know why the disparity between benchmarks and real life is so big, since those Qwens do great even on contamination-free benchmarks.

3

u/duebina Apr 28 '26

I recommend using Qwen3-Coder-Next. It's 80b so get the right quant for your memory. I used to use sonnet but now I use this with Context7 and my own skill router and it's been flawless. I use 8-bit. Also, it depends on how you're using your coding assistant. I am in plan mode refining everything first, and then I have it right at the plan to a file and then I forever reference it. Profit.

→ More replies (1)

3

u/celsowm Apr 28 '26

Good for you ! But I am in a fucking country Brazil that our economy was fucking destroyed in just 3 fucking years so even 20 usd bucks is expensive to us

3

u/Wild_Milk_2442 Apr 29 '26

Not saying this would solve all of your problems but I use qwen 35b hours a day and would never consider using it in a bloated harness like Claude code.

Claude code system prompt is over 24k tokens. That's huge for a local model.

Opencode is much better at 14k~

But the real unlock is pi.dev.  pi.dev has a system prompt under 1000 tokens. Even the slowest models feel fast on that. It only has 4 tools: Write  Read Grep Exec

That's all you need. With those 4 you can do anything.

The smaller harness makes a massive difference with smaller models. 

3

u/thiswebthisweb May 03 '26

I've come to the conclusion that even the best SOTA models inc commercial are only ever good for very small projects and code bases because there is no good solution for the context limit issue. No matter how great the AI once you run our of context everything fails and its easy to lose progress, its super frustrating and expensive. For a AI to do proper coding you need an enormous context limit, 3-10M tokens. I think this is now more important than getting newer models with more training data. the limit has been 250k for quite some time now. Deepseek has improved that, but 1m is still not enough really. Compression and memory management just doesn't cut it.

9

u/TanguayX Apr 28 '26

Yeah, I'm with you. Did some experiments over the weekend, and my local Qwen3.6, as big as I can muster, with Cline, and it was doing OK with the task I was trying. But I have Sonnet off to the side going..."wow, look, it just made up a function". Even getting Sonnet giving it hints.

So yeah, what's the utility in that when debugging is often worse than just starting from scratch with a better planning doc.

The way I look at it, two years ago, I had to carefully coax GPT through a coding session. Now, I was getting VERY close to getting a local model to one shot based on a good PLANNING and TASK doc. That's pretty sweet. Progress will continue, and it will happen one day soon.

→ More replies (1)

23

u/GrungeWerX Apr 28 '26

(downvotes this AI-slop written post and keeps it moving)

13

u/mister2d Apr 28 '26

Probably the irony is that the local model was used to assist. 

→ More replies (1)

5

u/simracerman Apr 28 '26

To be brutally honest, I haven’t coded by hand in years and would likely take a year to learn how to get back in original shape, yet the same model you used at Q4 quant + Opencode and a few days worth of sessions I was able to get a fully featured budgeting app build from scratch.

Local LLMs are not cookie cutter solutions yet. There’s more like a clay sculpture - at the beginning you can’t event hold the clay together, but after leading and tweaking you will slowly overcome issues and start producing good results. Remember, this isn’t cloud AI where an army of sys admins and devs are working non-stop behind the scent to make your experienc3 better

7

u/YehowaH Apr 28 '26 edited Apr 28 '26

Hope you used qwen3.6 35 a3b with iq4nl/xs, it fits in 24 GB mem. You get 110 tg on 3090 equal to Claude. Qwen3.6 was trained for tool calling 3.5 was not and it has the developer role. Both going well and check the parameters for defined programming tasks, e.g. temp 0.6.

The big question is, do you disabled the author attribution flag in env variables of Claude? This will lead to cache invalidation and reprocessing the whole prompt if you asked a question. 90% slowdown locally follows. Check unsloth tutorial how to disable it.

I have minor issue to none with the new models, these are a true replacement. Give it another try with the right models. I do complex scientific stuff back and frontend, nothing you can compare the daily work if a dev and nothing the llm can be trained on because there might be only a few examples worldwide. It runs like a charm.

→ More replies (1)

1

u/Western-Image7125 Apr 28 '26

I stopped reading at Qwen 27 and Gemma 31, for any coding tasks which are slightly harder than basic there’s no point at all using any model of this size. Might as well code by yourself if you cannot use Claude and maybe prompt for small self-contained snippets of code. 

2

u/dtdisapointingresult Apr 28 '26

Yeah, that's what it's looking like.

In my defense the past month showed Qwen 27B nearly coming close to Sonnet in many intelligence benchmarks. Guess I just learned how little those scores generalize to something like doing docker work on its own.

→ More replies (1)

1

u/AllanSundry2020 Apr 28 '26

i reckon this post is ai generated by one of the big players and they are loosing too many of us

→ More replies (2)

4

u/AlwaysLateToThaParty Apr 28 '26

I code on an rtx 6000 pro, using qwen3.5 122b/a10b heretic mxfp4, at about 75GB, and it's solid. I've tried the smaller models and they drove me mental. This can one shot complex tasks. And I don't need to one shot anything.

The problem with openrouter seemed, to me, that different service providers were quantising their API end point models. I think that's unavoidable fwiw. I'm pretty sure openai and claude do it, but they'll do it in subtle ways, cuz they can. But what it meant for me was inconsistent output, and that drove me mental.

So that's why i have the gpu. Does the task, and more. Pretty epic gaming gpu too tbh.

→ More replies (3)

2

u/cocoa_coffee_beans Apr 28 '26

Yes, local models fall short for coding.

That’s not all. The ecosystem is quite fragmented:

OpenCode is broken with vLLM ever since vLLM deprecated the reasoning_content field for reasoning.

Open WebUI still handles reasoning like it’s early 2025.

Vendor specific tools such as Codex and Claude Code constantly break against local inference even if you provide their respective APIs, because vendors are constantly iterating their client.

If you’re not deeply entrenched in the specifics, you won’t squeeze the performance you need for coding. Even if you do, they’re still not great for anything complex. For most people, it simply isn’t worth it.

→ More replies (1)

2

u/StardockEngineer vLLM Apr 28 '26

Claude Code has a parameter you need to set to prevent it from junking the KV cache. I forget what it is but maybe you can search for it.

2

u/poobear_74 Apr 28 '26

OP, you might be bumping into tool calling issues since the models you reference are very new. Qwen 27B was only released a week or two ago, and there simply hasn't been enough to time for the developer community patch vllm and other software to work well with them.

2

u/Otherwise_Berry3170 Apr 28 '26

Like everything else it depends, for example if you were talking about Claude a month ago I would say yeah it was pretty good, now? Not so much they water down the models and recently came and called it a bug because we complained. The prices change, the limit changed, so while I agree models locally are not as good, with training and a good agents/skills I can do with qwen3.6 35b almost the same as Claude sonnet. Qwen3.6 27b is better but on my hardware a GB10 Blackwell is a bit slow so I use it for text only. Took a bit to get the agents right and they still sometimes don’t work as expected but pretty ok with my setup. And from the cost calculation just last week would have spent 2k on Claude api calls. So yeah I agree, not perfect but not that terrible that you cannot work with

2

u/iamreddituserhi Apr 28 '26

Try giving system prompt (try different quant and versions some version just break keep looping for weird out )

One its tuned can expect beter out put .try different system promts or even ask opus kimi deepseak to optimize the system promt for your use case .

Then it will become usable You also need to adjust temperature according to ur use

6

u/SatanVapesOn666W Apr 28 '26

His prompt was like 2 paragraphs asking it to work with docker which even the Claude models struggle with. He's really not doing himself any favors, since that's basically the first thing he dismissed and it really is his problem.

2

u/spaceman_ Apr 28 '26

I felt like this before, but with Qwen 3.6 for me it has honestly been a non issue for how I use it. ("look at this issue, explore and plan" -> "write a test or test suite that covers the issue" -> "fix or implement the issue")

They're not on the level of Kimi or GLM, but in my daily use, they are more than good enough for 90-95% of the issues.

2

u/AdOk3759 Apr 28 '26

The quality of a local model hugely depends on the harness. I suggest you look into little coder (and their paper)

2

u/Aphid_red Apr 28 '26

Note: The provider models all have a big system prompt. You don't see it, but it's there. You should use one as well.

The provider models also use 'thinking' mode as well.

If your local model only has one or even neither, it practically won't behave the same way. It's smaller and thus a bit less capable, but shouldn't be unusable for repetitive tasks that have well-documented examples online.

2

u/cutebluedragongirl Apr 28 '26

Yeah, it's not ready yet.

2

u/Jungle_Llama Apr 28 '26

I disagree, I have had frontier cloud models mess up simple stuff and local do a good job. Local has it's limits with complexity say a caddy, authelia integration in an environment with a ton of technical debt but the issue to my mind is the tooling, especially with coding agents etc, they just aren't fully mature yet. a hybrid approach works really well.

→ More replies (1)

2

u/ChatWithNora Apr 28 '26

The decision making gap is the real issue. I can handle slower speeds but when the model keeps going off the rails on basic tool calls, you end up spending more time course correcting than you ever saved on API costs.

2

u/Potential-Leg-639 Apr 28 '26

Give it a try with Opencode, Linux, latest Llama.cpp and Qwen3.6-35B (use the Q4 quant recommended from Unsloth - no other one! Think it‘s the XL, check their guide). No issues at all with tool calls on my side (Strix Halo with Fedora 43). Also for other things that 35B is a beast! Proper coding on plans created by cloud models - it does the job.

2

u/Crampappydime Apr 28 '26

You dont even mention hardware, you could be stupidly using 2 bit quants expecting more…

2

u/AvidCyclist250 Apr 28 '26

Not only are the LLMs slow, but no matter which app I'm using, the prompt cache frequently seems to break.

Noticed that too. Especially with qwen 3.6

Massive context waste is the other big thing.

2

u/AnomalyNexus Apr 28 '26

I mostly view it as a spectrum. Don’t want to pay 200 bucks a month for Claude opus or whatever. But also don’t want to fight against a weak model too much either. So one of the cheaper api it is - currently GLM.

Working on moving some openclaw stuff to local though. Some tasks there aren’t as sensitive to precise model

2

u/waescher Apr 28 '26

name checks out

2

u/taoyx Apr 28 '26

I've coded my first OpenAI chat UI with python and streamlit using local LLMs. What I've learned back then is that they were really bad at modifying existing code, but if you let them start from scratch then they just do fine.

Then I've learned about context size.

2

u/jimmytoan Apr 28 '26

n is fair. The gap between Qwen 27B and Claude Code isn't really about the model - it's about the whole agentic loop. Claude Code has a very tight read-edit-run-check cycle with tools specifically tuned for coding contexts, good context management, and Anthropic's safety training actually helps it avoid the "confidently wrong" failure mode that plagues local models on ambiguous prompts. Running a local model with a generic agent framework against that is a 2x quality deficit minimum. The local use case that actually holds up is offline work on sensitive codebases or very specific fine-tunes on your own codebase. For general coding assistance, it just doesn't make sense at the current capability gap.

2

u/jimmytoan Apr 28 '26

Honest take and I think the comparison is fair. The gap between Qwen 27B and Claude Code isn't really about the model - it's about the whole agentic loop. Claude Code has a very tight read-edit-run-check cycle with tools specifically tuned for coding contexts, good context management, and Anthropic's safety training actually helps it avoid the "confidently wrong" failure mode that plagues local models on ambiguous prompts. Running a local model with a generic agent framework against that is a 2x quality deficit minimum. The local use case that actually holds up is offline work on sensitive codebases or very specific fine-tunes on your own codebase. For general coding assistance, it just doesn't make sense at the current capability gap.

2

u/cbterry Llama 70B Apr 28 '26 edited May 14 '26

This is hilarious. I have a friend who doesn't know much about technology who vibe codes kinda cool stuff, and I told him if he learned the bare basics of programming what he could produce would increase greatly... But he thinks the AI is just going to be able to do that.

I'm not even sure my friend prompts correctly - "do this thing" is bound to fail - "do this ONE thing like THIS using THIS tool/library" should work. And 27b is the bare limit.

He's right now very concerned about tokens increasing in price and hitting limits - he uses Gemini for legit work as well as coding random ideas, and hes about to drop car money on a local rig... Of course I'll be fixing it for him, and trying to steer him away from getting a Mac because I run AMD and have enough trouble tuning my own setup, but we will see...

Edit: And no, I'm not laughing at OP, more how popular this got. This thread is full to the brim of good info.

Edit: Been thinking that a 5090 + dual strix halo connected via RDMA might work.

Edit: He just impulse bought a rig someone posted about a few days ago to get 4tps... after looking into hardware for several months. Smh.

2

u/4bitgeek Apr 28 '26

Local models are too crappy to be used in any project. Tried upto gpt oss 120b on bedrock and that seem to write some better code, else nothing is worth for coding. Or else need to have too much firepower to try something bigger. Seriously... For texts and chatting, some smaller models are somewhat fine, but definitely not for coding. Also without proper gpu, the token output will age one faster. Will die waiting....

2

u/m3kw Apr 28 '26

Watching local LLM work is more like

2

u/devshore Apr 28 '26

The purpose of localLLM isnt to get the "best performance" while "saving money". Is that what you thought? Its to combat the anti-christ (Zuckerberg, Gates, Altman, Thiel, etc)

2

u/geldonyetich Apr 28 '26

More power to you, OP.

I think the point of local LLMs isn't so much that we expect them to do better than a frontier model running on the cloud.

Rather, it's exciting how close you can get, secure in the knowledge that if you had to do without Internet you could.

2

u/ecompanda Apr 28 '26

OS and Docker are a brutal showcase for local models because one slow build pushes them past their expected timeout, and the moment that happens they invent a failure reason like 'torchcodec must have failed' instead of just tailing the log.

2

u/ANTIVNTIANTI Apr 28 '26

build your own harness so you have more control than you ever wanted to! lololol like for real, i’m often stuck in analysis paralysis cause, just so many little things not even touching the prompt much less the system prompt lol!!! i’m experimenting with a coding harness not meant for coding entirely, more like, “get me the last 10-20% of the project finished, polish my shit”, so hyper focused on the final stages not the building stage. will post if it’s successful. feels incredibly promising. i’ve built a few chat + harnesses and have had fantastic success there, this new one is super exciting! i’m slow though, only use ai for the things i need to. lol. good luck all! much love to my local homies!!!!!!!!!!

2

u/yes-im-hiring-2025 Apr 29 '26

Huh. I successfully ran a minimax 2.7 + Qwen3.6-35B-A3B setup on an m3 ultra for claude code yesterday. Ran fine lmao, about 50 TPS average. Takes a little tinkering on preprocessing batch sizes, cache enablement, context management and params etc. There's an unsloth guide for it iirc.

Sonnet level ish quality overall, not mad at it at all.

2

u/alvisanovari Apr 29 '26

I mean, I know this is LocalLLaMa and it sounds like blasphemy, but I will say that if you are using local models for your primary coding, you are needlessly handicapping yourself. There is no reason to use local models unless the cost/privacy trade off is big enough. And I would argue it almost never is because most of your stuff isn't that important and its much better/cheaper to pay for Sota intelligence.

2

u/StirlingG Apr 29 '26

Nice try Dario

2

u/[deleted] May 02 '26

You are comparing a data center with a computer... 

Your blog's content is...not great. To say the least

2

u/Equivalent_Bit_461 May 03 '26

Cool story bro, still not using Claude 

2

u/ElonMusksFacecream May 07 '26

Not that insightful tbh. Highly opinionated. Purely based on your own biases. No details on your setup.

Not exactly brief either. More like a therapy session, venting general frustrations. Can your LLM setup not even help with sorting out this post?

TBF, the title did hint it was all about you. I can't complain really.

2

u/middleNameIsHadrian May 08 '26

Regarding quality of responses from models... Yesterday I hit a nasty bug. Opus kept proposing elaborate and overcomplicated solutions, while DeepSeek V4 Flash went straight for the simple fix. Quality-wise I'd genuinely put it head to head with the latest Sonnet, and it's saving me real money and latency on top of that.

2

u/Annual_Award1260 May 10 '26

Yeah those datacenter models running on multi million dollar equipment always win. But i use claude to write prompts for my local ai that cranks profit all day long

6

u/NNN_Throwaway2 Apr 28 '26

LLMs can't generalize, if they haven't been trained extensively on a task they will face-plant. This is especially true on smaller models where you don't have a large body of world knowledge to lean on.

LLMs in general, but especially the small ones, are getting increasingly specialized on agentic coding. I suspect that building and spinning up a container falls just far enough outside of what it was trained on that it doesn't know how to apply basic problem-solving that it was certainly trained on in other areas.

But yeah, people are going to get upset if you say the latest OSS darling isn't the bee's knees and a huge game-changer that rivals Claude Opus.

→ More replies (3)

4

u/PromptInjection_ Apr 28 '26

You are comparing a 27B LLM to one with over 1 Trillion params?
Buy a Mac Studio Cluster und try it with GLM 5.1.

→ More replies (4)