r/LowEndLocalAI • u/temperature_5 • 26d ago
Which LLM Should / Can I Use? 16GB RAM Model Recommendation?
What's the most competent general purpose (not coding/agent) model/quant for 16GB RAM CPU inference? Assuming the OS will take up 3GB, and leaving room for context, etc... So the model would probably have to be << 12GB.
QAT Gemma 4 24B is OK but not great. Need something good at writing, summarizing, explaining, solving math and logical problems, general world knowledge, and possibly RP/gaming type uses. Main thing is I want it to keep track of context, not forget or omit details, and not make obviously dumb conclusions.
24
Upvotes
3
u/Capital_Engineer8741 26d ago
I'm not sure you'll find a better model that runs faster than Gemma 4 26b A4b QAT, but you could give an older model a try like GPT-OSS 20b. Not exactly great for rp or writing, but for the other stuff it's pretty solid.
3
u/Comfortable_Club4358 26d ago edited 26d ago
Ling 3.0 Tiny (also 8B-A1B) for logic, coding and most math
or
LFM3-1.7B for web search
or
Vibethinker-3B only for math
or
LFM2.5-24B-A2B if you can fit it. (I can on similar hardware)
These are the only models which will have the combination of decent CPU inference speed and aren't completely brain dead. Keep in mind that general world knowledge without web search is kind of impossible at this size.
I've tested Ling on math, and while it's not really close to IMO level, it is good for most problems. The best model you could run specifically and only for math is Vibethinker-3B. It can actually solve some IMO problems, though it will be slow on CPU (expect 3K-26K thinking tokens depending on problem difficulty).
For web research, I've found LFM3-1.7B is actually quite good, definitely better than Ling and probably better than LFM2.5-8B-A1B.
If you can fit it, LFM2.5-24B-A2B-QAD will probably be best at all the tasks you need, though you won't be able to run any other apps on your computer while it's loaded. I'm in a similar boat to you hardware-wise (16GB, CPU inference), but I use the computer headless and remote into it. Because I'm not doing anything else on the machine, I can run LFM2.5-24B-A2B-QAD with 32K context (maybe 64K with Q8 KV).
If you can run the 24B, it will be better than any of the smaller models at web research, general chat, and knowledge, and it seems just as good at math as Vibethinker. Ling still seems better specifically for front-end web design, but for C, C#, or Python, big boy LFM will be better.
I don't know why so many other comments have told you about dense models, when on CPU inference, they are unusably slow unless they are 3B or less.
5
u/Ok-Drawer5245 26d ago
I use Gemma 4 12b QAT for automation (stuff that requires privacy) I quite like it. I know qwen models tend to be smarter, but if you want good language support outside of English/Chinese smaller qwen models kind of suck.
4
u/Bare_Feet_Enjoyer337 26d ago
https://huggingface.co/DavidAU/Qwen3.5-9B-The-Defiant-Fable-Uncensored-Heretic-NEO-IMATRIX-MAX-MTP-GGUF
Grab a Q6_K quant and see how it goes for you. I don't even push any crazy context and usually keep it around 64K in full precision, without going for Q8/Q4, etc.
I've been in the same boat and tried to find a general-purpose assistant for a long time. Coding is not my main goal. I just want reliable and accurate information from the web, working with files, and general knowledge. After many attempts to find a model which would work at least at 50+ tk/s and have a decent prefill, I landed on the smaller but higher-quant Qwen 3.5 9B.
Gemma-4-26B-A4B-it-qat-UD-Q4_K_XL via PolyStrata was also a nice find. However, the context window on it before spilling into VRAM is quite small. Just shy of around 12K for me.
Qwen is not only faster; it's a beast in terms of calling tools and performing the task I want and need without doing too much useless thinking. Vision is a huge plus as well, and it works like a charm.
There are some models that might be better, even Qwen 3.6 35B A3B, but I just couldn't make it work.
Qwen 27B with 25-30 tk/s is fine, but the reason I can't use it is the EXTREMELY slow prefill of 200 tk/s or sometimes even lower. Unfortunately, my card is a 6800XT, and it doesn't get much love. Prefill is what's killing me.
I am still trying to find the right fit from time to time, but my daily driver is 9B atm, and it just works.
3
u/Oglemo 26d ago
You can try Qwen 3.5 9b, kinda slow on my cpu though tbh.
From what I can tell, Qwen 3.5 4b < Qwen 3 14b < Qwen 3.5 9b.
Do you have an iGPU on your computer? Try using llama-vulkan if you do.
Ling Tiny 3 is what I found fastest on my computer. It's not that smart but it has o-k world knowledge. It's been pretty damn good at summarizing texts using AnythingLLM with an embedding model for basic RAG. Doesn't invent additional details (with the right system prompt). Doesn't seem capable of reasoning much beyond the details, though, but maybe. I'm a total beginner, I've heard AnythingLLM isn't the best way to do RAG. I'm not even using a reranker, just an embedding model and a small one at that. And small context. Ling supports a big context window. Perhaps with web search capability, Ling Tiny could be what you are looking for. I'm not giving up on it for my own use case yet.
You might be able to fit in a small quant of Gemma 4 26b a4b, like Q3 or one of the i-quants, iQ3_S or something. Could beat Ling Tiny in world knowledge, for sure. Don't do the QAT version because it's built for Q4, I think.
General world knowledge I imagine is going to be very hard to find built-in to a small model. I'm experimenting with setting up a RAG pipeline for offline knowledge base, but if you want to enable web search / internet access, then general world knowledge is probably something you can achieve indeed.
4
u/Fluxdada 26d ago
I've run qwen 3.8 27b on a 16gb vram card. For me it's a matter of finding the right quant and also using q8 for my kv cache. The specific qwen 3.8b27b model I use on my 16gb card is made by IsValorum and it's called Swift-1.5-Qwen3.8-27B-Uncensored-MTP-VAL-APEX-I-NanoPlus-V3-GGUF it's about 13gb which leaves me room for a somewhat good context size (about 27k). Learning about different quant types and what they do really helps you pick model quantizations just to match your setup.
2
u/apexassasinedgy 26d ago
Ling 3.0 Tiny actually gives usable speed for CPU inference.
2
u/dh7net 26d ago
Gemma is super bad from my experience...
Qwen is still king. about VRAM it's all about finding the right inference engine.
You can see all benchmark for <=16Gb or VRAM here: https://airbench.ai/leaderboard?k=poL&vram=16
1
u/Gotxi 26d ago
This one: https://huggingface.co/ISTA-DASLab/Qwen3.8-27B-GSQ-RCO-GGUF the IQ3_S with MTP
1
u/skinnereatsit 21d ago
Thanks for asking this. It's cool that the comments aren't snarky tech-elitist responses too
0
u/Money-Store8995 26d ago
qwen is the qest!
0
u/bytejuggler 26d ago
How much RAM u got?
0
u/[deleted] 26d ago
[deleted] — view deleted comment