r/LocalLLaMA • u/nick-baumann • Aug 29 '25
Tutorial | Guide Qwen3-coder is mind blowing on local hardware (tutorial linked)
Hello hello!
I'm honestly blown away by how far local models have gotten in the past 1-2 months. Six months ago, local models were completely useless in Cline, which tbf is pretty heavyweight in terms of context and tool-calling demands. And then a few months ago I found one of the qwen models to actually be somewhat usable, but not for any real coding.
However, qwen3-coder-30B is really impressive. 256k context and is actually able to complete tool calls and diff edits reliably in Cline. I'm using the 4-bit quantized version on my 36GB RAM Mac.
My machine does turn into a bit of a jet engine after a while, but the performance is genuinely useful. My setup is LM Studio + Qwen3 Coder 30B + Cline (VS Code extension). There are some critical config details that can break it (like disabling KV cache quantization in LM Studio), but once dialed in, it just works.
This feels like the first time local models have crossed the threshold from "interesting experiment" to "actually useful coding tool." I wrote a full technical walkthrough and setup guide: https://cline.bot/blog/local-models
•
u/WithoutReason1729 Aug 30 '25
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!
I am a bot and this action was performed automatically.
23
u/po_stulate Aug 29 '25
No.
qwen3-coder-30b-a3b-instructdoes not deliver that at all. It is fast, and can do simple changes in the code base when instructed carefully, but it definitely does not "just work". qwen3-235b-a22b works a lot better but even that you still need to babysit it, it is still far worse than an average junior developer who has understanding to the code base and the given task.3
u/derHumpink_ Sep 03 '25
would be fantastic if we could enable "compact prompt" independently of the provider. I use vLLM for hosting for multiple users, with the same limitations as when using LMStudio, but cannot use the 'compact prompt' setting :(
113
u/JLeonsarmiento Aug 30 '25
The other one that shines on cline is Devstral small 2507. Not as fast as Qwen3-30b but equal if not a little better (in the way it plans and communicate back to you)
But yes, qwen3-30b best thing since web browsers.
96
u/NNN_Throwaway2 Aug 29 '25
I've tried qwen3 coder 30b at bf16 in vscode with cline, and while it is better than the previous hybrid version, it still gets hung up enough to make it unusable for real work. For example, it generated code with type hints incorrectly and got stuck trying to fix it. It also couldn't figure out that it needed to run the program with the python3 binary, so it kept trying to convert the code to be python2 compatible. It also has an annoying quirk (shared with claude) of generating python with trailing spaces on empty lines, which it is then incapable of fixing.
Which it too bad, because I'd love to be able to stay completely local for coding.
23
u/[deleted] Aug 30 '25
Cline also does not appear to work flawlessly with coder:
Unexpected API Response: The language model did not provide any assistant messages. This may indicate an issue with the API or the model's output.
What quants are people using to get this working consistently? It did one task and failed on the second.
Classic coder, unfortunately.
14
u/[deleted] Aug 29 '25
So this just magically works in cline now? It didn't last time I tried it :D
10
u/mr_zerolith Aug 30 '25
Very unimpressed with it for anything other than toy programs. It doesn't fully listen to instructions, it has bad taste, and it's depth of knowledge in the coder model is too shallow :/
The main thing it has going for it is speed.
Try glm4 or Seed OSS 36B for a good time
5
u/No-Mountain3817 Aug 31 '25
https://huggingface.co/BasedBase/Qwen3-Coder-30B-A3B-Instruct-480B-Distill-V2
I'm using Q8, and it's amazing, it can generate code that runs without any errors on the very first try.
Excellent local model.
10
u/InterstellarReddit Aug 30 '25
What screen recorder is this? I love the zoom effects
3
u/gobi_1 Aug 30 '25
Time to first token and token /s please?
I'm close to buying the base studio m4 max, is 36gb or ram enough? Memory pressure in red when running your stack?
3
u/rjames24000 Aug 30 '25
do you think it could run this well with only 24gb of vram?
3
u/MeYaj1111 Aug 30 '25
what the heck i guess im missing out, ive never seen an llm build and manage multiple files like that before. I have LM Studio and Qwen Coder, what am I missing? Any time I'm working with it for coding it outputs code and I copy and paste it in to a file and run the file my own way.... Yours builds out a whole directory of files? That sounds pretty useful haha
4
u/hidden_kid Aug 30 '25
in my opnion building from scratch is flawed way to test llm capability. Yes they are doing pretty good in what they are doing, but can they add or update in existing project?
4
u/steezy13312 Aug 30 '25
As someone who's been trying to - and struggling with - using local models in Cline (big Cline fan btw), there are generally two recurring issues:
OP, have you read this blog post? Curious to your thoughts as it may apply to Cline. https://smcleod.net/2025/08/stop-polluting-context-let-users-disable-individual-mcp-tools/
2
u/cruzanstx Aug 30 '25
Gotta redownload and give it another shot. At least for unsloth quants I saw some updates to their quants along with updates from cline and kilo code that made function calling more reliable with qwen3 coder.
2
u/Relevant-Draft-7780 Aug 30 '25
What’s your context length like? Cuz I doubt you’re getting more than 64k tokens
2
u/tmvr Aug 30 '25
You mean you have to enable FA and use quantized KV cache?
2
u/Various-Divide-3764 Aug 30 '25
I don’t get it :(
API Streaming Failed :(
2
u/mortyspace Aug 31 '25
I see "mind blowing" I downvote, this is not X, you don't need farm engagement
4
u/NoahZhyte Aug 30 '25
I honestly found it pretty deceiving. Local running model are so far from public api. The comparison is not fair, but if it’s not usable for work, I don’t see the point of using it
3
u/Old_Championship8382 Aug 30 '25
this video is not true. it is fast forwarded. in a ryzen 5800x3d with 64gb ram this very model is sluggish and slow like a cow poop
2
u/AleksHop Aug 30 '25
no, it does not rust at all
2
u/phenotype001 Aug 30 '25
What I dislike about Cline with local models is the amount of prompt processing. I don't know, it could be just my hardware (mostly offloaded to CPU but I do have 11 GB VRAM on a 2080ti), but at some point it takes *hours* to continue because the prompt is so fucking big.
1
u/JLeonsarmiento Aug 30 '25
Agree.
1
u/chisleu Aug 30 '25
https://convergence.ninja/post/blogs/000017-Qwen3Coder30bRules.md
Qwen 3 coder one shot a containerized local TTS with kokoro.
Love your video man. That's really well put together.
1
u/OrdinaryAdditional91 Aug 30 '25
I tried it on my machine, and a simple task would loop infinitely. I wonder if there is something wrong with my settings.
1
u/SilentLennie Aug 30 '25
Improved tool calling matters a lot.
But I guess Cline still doesn't use native tool calling ?
Not bad for a 4-bit quantized
1
u/jonydevidson Aug 30 '25 edited Feb 16 '26
This post was mass deleted and anonymized with Redact
memory gaze cover physical treatment cheerful fly shocking unique smart
1
u/premium0 Aug 30 '25
Asking it to shit out a random idea (that’s been tested thousands of times so obviously in training) data doesn’t show anything. Use it against a complex existing code base and have it implement something. The true power of any coding agent is its ability to understand the existing code base and implement something according to the standards present in the existing code. Not these lame one shot make me x app please from scratch!
1
u/Elibroftw Aug 30 '25
...
1
u/pedroserapio Aug 31 '25
No luck with my RTX3090, it takes some time to load and after I request anything from Cline, it just takes forever, to a point that I just give up and cancel, and close both VSCode and LM Studio to force it to stop.
1
u/RecoJohnson Sep 02 '25
Is cline whats recommended for qwen3-coder? What else works well for tasks like these?
1
u/perelmanych Sep 06 '25
Man I don't know how you are able to use qwen3-coder-30B in q4 with good tool calling results. I have problems even at q8_0, unfortunately q8_XL is a bit out of reach for my VRAM setup. Now Cline has free Grok and Qwen3-Coder-480B-A35B-Instruct, so for now I am sticking to those.
1
u/abst_paintings Sep 06 '25
Which app did you use to screen record this?
1
u/ZeshanMubshir Sep 08 '25
Will this also work on 16G RAM, and VS Code continue extension? Because I am trying to have it on my local MacBOOK Pro with OLLAMA, but it is not responding.
1
u/Apprehensive_Monk367 Sep 28 '25
Cline only works properly with Claude 4 sonnet
1
u/sammcj 🦙 llama.cpp Aug 29 '25
Hey Nick, congrats to you and all the team at Cline - you folks have done fantastic work over the past year.
1
u/AlxHQ Aug 30 '25
It's possible to run with llama.cpp on 5060ti 16GB and 64GB RAM?
1
u/isuckatpiano Aug 30 '25
This comment section is just AI bots chilling together
0
u/jonasaba Aug 30 '25
What not llama.cpp? Do not use closed source LM Studio.
0
u/cleverestx Aug 30 '25
Will this run well enough off a PC w/ a Ryzen 9, 96GB of RAM and a RTX 4090?
0
u/[deleted] Aug 30 '25
[deleted] — view deleted comment
0
u/[deleted] Aug 30 '25
[deleted] — view deleted comment