r/LargeLanguageModels • • Sep 11 '26
What’s the best small local model for coding rn? 16GB RAM limit
Looking for a good local model for coding + terminal stuff. Not really interested in huge context or benchmark scores. My hardware limit is 16GB system RAM. I’m not specifically looking for 4B/8B, if a bigger model fits and runs well, I’m down. But I’d also love to know what the best 4B to 8B or smaller coding models are?
Main things I care about:
- Good code quality
- Reliable terminal/tool use
- Doesn't hallucinate randomly
- Don't falls into a loop <------------
- Agentic/tool calling
- Snappy enough to actually use
Tbh Qwen3.8 27B is a great model but I can run it on my hardware : ( so I want its nearest younger cousin
So if you had 16GB RAM, what coding model would you actually use?
And what's the best small model you've tried in the 4B to 8B range or smaller?
Real-world experience > benchmarks. Also curious what quant/runtime you use
THANKSSS!!!
3
u/PizzaDevice Sep 15 '26
Uder 27B models are terrible for real coding and tool calling. Better go for API as the system RAM interference will be super slow and on the cost of electricity burned at home would buy you speed and more intelligence from the API.
2
u/kittenheart Sep 12 '26
This one small, fast and good enough: https://huggingface.co/jica98/qwen3.5-4B-super-coder
2
u/No_Cobbler6661 Sep 19 '26
Bonsai new model, some 27B but 1 bit, so around 6 gb size and retains most intelligence.
2
u/den0rk Sep 17 '26
None, you need more power, forget about models with 16GB of RAM.
3
u/Gabriel83730 Sep 11 '26
The best model is to stop daydreaming and use an API
1
u/itsvivianferreira Sep 11 '26
Qwen Coder 3.6 30B A3B Instruct model does well on 16GB VRAM with up to 50 TPS, and goes down to 10-20 TPS on 50k tokens. It is pretty good for coding.
It works best with PI or DeepSeek harness, and for coding, Dflash is also good for speculative decoding if you want to try other methods.
1
u/Fast-Throat-7752 Sep 11 '26
Anything Chinese
1
u/funbike Sep 11 '26
Qwen family. Not sure which model.
Be aware that nothing will beat the top 20 frontier cloud models.
1
u/No-Entrepreneur-5099 Sep 11 '26
3.6 a3b reap with experts offloaded
1
u/Tall_Abrocoma_3533 Sep 11 '26
the first 2 I'd try is qwen3.5-9B, and Ling3.0 tiny
Ling is really fast, and still retains decent intelligence
1
u/Commercial_Rent8797 Sep 11 '26
You can run the iq3 on 16 gb of vram. I got it running with full context and no vision matrix on a p100 I’m sure you can
1
u/Actual-Requirement-2 Sep 11 '26
l have tested many local models for 16gb ram and 8gb vram
1
u/searchblox_searchai Sep 12 '26
You can test with smaller models and also use prompt optimization to make it effective https://inference-server.searchblox.com/blog/right-model-right-task.html
1
u/borobinimbaba Sep 13 '26
I'd wait a year for the Chinese hardware and use their apis until then.
How do I know there would be cheap hardware ? Everyone used to go to printshops for a hard copy and someday they had an affordable printer on their desk.
1
u/time_pass_done Sep 13 '26
try ornith-1.5 9B model, i find it good for 9B
1
u/Parlament-Carioca Sep 28 '26
Ornith for agentic and qwen 3.5 9b for coding
1
u/MiddleLtSocks Sep 11 '26
16GB SYSTEM RAM? Or VRAM? If the former, nothing. Nothing will be "snappy." You are looking at a few tokens per second and a few ktok of context before even that is false on a tiny model.
16GB VRAM? If what you say is true and large context isn't important to you - eg. you aren't using Claude Code or tool use or heavy agentic loops - you can run Qwen3.8 27B on aggressive quants with decent performance. Try IQ3 with 4_0K and 4_0V at 64k context, fa on, qat, MTP? Failing that it depends on whether you have speedy CPU and system RAM on which to fall back (Qwen3.6 35B A3B or Gemma4 26B A4B?) or not (Gemma4 12B is surprisingly capable).
0
u/SysAdmin_quark Sep 16 '26
Gpt-oss-20b
2
u/Unnamed-3891 Sep 11 '26
Forget about running toys on RAM.
16gb+ VRAM or bust.
0
u/[deleted] Sep 12 '26
[deleted] — view deleted comment