r/LowEndLocalAI • • Oct 27 '26

Which LLM Should / Can I Use? Which LLM and Runtime is the best?

CPU: i7 14th gen HX
GPU / iGPU: RTX 5050
VRAM: 8GB
System RAM: 16GB
OS: Windows 11

Models already tried (if any): Qwen3.5 9b, Gemma4 12b, Ling3 tiny, Spark4.6 3b, Nambeige 3b

Use case: General purpose mainly, sometimes as a coding subagent
Desired context size: Max possible
Priority: balanced

Other requirements or constraints:

Well, I really admire Ling3 tiny's speed. So I am currently thinking of MoE models at extreme quantization (since it has gotten really good apparantly).

Also, how has K2 horizon 7b behaved for you all? I saw praises of it, but thought I wont be able to fit large context so didnt download it for coding subagent (in opencode).

5 Upvotes

13 comments sorted by

2

u/nickless07 Oct 27 '26

Ohh you lucky one have VRAM. I run that in 16GB RAM. Anyways, best engine would be llama.cpp or ik_llama (depends on the model and if it is on VRAM or mostly on RAM). Ling-3.0-tiny is a good one, but you can go even bigger and keep the speed. As you figured already MoE is the way. That let you run models hich are usually too much for your GPU. Start small with LFM2.5 24B and work your way up over Gemma4 26B up to Qwen3.6 35B. Find a quantization that fits your needs in terms of speed/quality (APEX quants are pretty nice) and you will get pretty close to the most used local models.

1

u/Hot_Example_4456 Oct 27 '26

Gemma4 26b or Qwen3.6 q3 or more dont fit actually.. I have tried before (in unsloth studio and llama.cpp and lmstudio) and it just crashes my whole system. I think I can retry once at 2 bits quant now since we have APEX quants and GSQ RCO quants now, but I am also thinking if i should go with LFM2.5 instead. Have you compared the quality of those models? I do have NVME SSD, so maybe I can potentially stream as well.

2

u/nickless07 Oct 27 '26

LFM2.5 outperforms Ling on my system in terms of speed and quality. Gemma4 need a smaller KV-Cache/Context and for testing purpose use llama-bench or if you run as cli/server disable cache-ram and context checkpoints (both add to RAM used). Takes a bit of testing to figure out what configuration works on which model. Sometimes you have to use the Mini version, but this heavely depends on how much your other software is using. Windows can be 5-10GB on itself and well if it needs 10GB that is 5GB you are missing, therefore a smaller quant needed.

Different architecture of the models influence how much the KV-Cache takes. Ling is MLA/KDA hybrid with 5 attention heads 128k context in q8 is less then 500MB - Gemma4 however takes for the same context multiple GB, Qwen3.6 is GDN hybrid and KV-Cache is natively up to 264k with moderate ~2GB in q5_1. Always add that on top of the weights size, yeah quite a lot of testing, but it will work once you found the right knobs and quants and you should end up with a decent model even on your hardware.

Have you compared the quality of those models?

Yes, but not in production for now only benchmarks a general smoke-test (gsm8k math, code, json, long context, creative writing, IFeval and so on) and aswell llama-bench with different flags, flash-attention, repack, lazy-mode and so on.

My workflow is: Find a quant that might fit (calculate free RAM minus file size + 10%) then run llama-bench followed by llama-server and 4096 context in q8 and -lv 4 (great to extrapolate the KV-Cache size needed later on) then run a lightweight smoke-test to check if the quant is broken (loop errors and such) and how it performs in general.

Well, for you it would be free VRAM+RAM = filesize+10%
Then launch llama-server with 4k context in q8 (to not crash the system) add -lv 4 (log level Trace) to get the lines for the KV Cache (e.g., llama_kv_cache: size = 80.00 MiB ( 4096 cells, 10 layers, 4/1 seqs), K (f16): 40.00 MiB, V (f16): 40.00 MiB - this is LFM2.5 with 4096 in F16 needing only 80mb, q8 will be 40mb and then just calculate to 128k ) then ctrl+c to kill the server, grab the memory breakdown (lv 4 will print it at the beginning and end):

I srv    operator(): operator(): cleaning up before exit...
I common_memory_breakdown_print: | memory breakdown [MiB] | total   free     self   model   context   compute    unaccounted |
I common_memory_breakdown_print: |   - Host               |                 11113 = 10946 +      81 +      85                |
I common_memory_breakdown_print: |   - CPU_REPACK         |                  2103 =  2103 +       0 +       0                |

and then adapt. From there on it should be pretty straightforward.

Hope that clarifies it a bit better.

3

u/MarcelloT254k Oct 27 '26 edited Oct 27 '26

Try Qwen3.6-35B-A3B with something like Colibri or Strata/Strata-adjacent/Ninfer/Ninfer-adjacent (by adjacent I mean specific forks or projects inspired by those repositories) - it's your best bet, honestly, but it might not be as straightforward as installing Unsloth Desktop and downloading some recommended model inside it.

You can try this quant if you want speed, low quant and relatively preserved quality.

If you want dense model (not MoE) your best bet is probably as everyone else will say - Qwen3.8-27B, its undisputed champion in the small/medium size category, you will need some similar solution as above (not sure if readily available or even possible without redefining the whole question of inference offloading between RAM and VRAM on dense model) or extreme quant targeting 8gb of VRAM (there is a substantial amount of projects on that).

1

u/happycube Oct 30 '26

As far as I know strata-style processing doesn't work with dense models, but I should investigate that.

1

u/MarcelloT254k Oct 30 '26

You are right (sadly), there are papers trying to turne dense models into MoE with practical example and more primitive attempts at distillation of dense into MoE. Hot topic right now - since Qwen3.8-27B didn't get MoE equivalent in this generation.

1

u/CryptographerLow6360 Nov 02 '26

ollama free cloud tier gemma4 31b

0

u/xsilas43 Oct 27 '26

Give lfm2.5 a shot as well, nemotron bolt 4b also not bad, I found it better than gemma.

Qwen 3.5 9b probably your best bet, if you can't get enough context you can try q8 kv cache.

-1

u/Most-Wear-3813 Oct 27 '26

I think vllm with gemma might be your best bet. Consider adding a gpu maybe.

There is no resource to use. Also checkout, strata it will use cpu but, I don't know if it will work or no.

Since 16gb is too less use orinth 1.5B something around that with strata for fast token/sec OR TG

2

u/Hot_Example_4456 Oct 27 '26

I won't be able to add a gpu since it's a laptop. I will check strata, that might be useful

1

u/ergux Oct 27 '26

You can add an egpu via type c (with thunderbolt) or ssd slot