Best LLMs for Laptop or PC with 8 GB RAM: what runs locally
10 of the 40 open-source models in our directory fit on a laptop or PC with 8 GB RAM, the biggest being Gemma 4 E2B. Below: which ones, at which quality, and our picks for chat, coding and reasoning.
With 8 GB of RAM and no graphics card, the model runs on the processor. The operating system needs part of the memory, so we count about 5 GB as usable.
No graphics card needed; runs on the processor, so expect slow answers.
Our picks for Laptop or PC with 8 GB RAM
- Everyday chat & writing: Qwen3.5 4B at Q6_K (about 4.7 GB)
- Coding: Qwen3.5 4B at Q6_K (about 4.7 GB)
- Reasoning, math & agents: Qwen3.5 4B at Q6_K (about 4.7 GB)
Picks are our editorial choice based on what each maker says the model is built for and on its size; they are not benchmark results.
All models that fit (10)
| Model | Best format that fits | Memory needed* |
|---|---|---|
| Gemma 4 E2B 5.12B | Q5_K_M | about 4.5 GB |
| Qwen3.5 4B 4.66B | Q6_K | about 4.7 GB |
| Qwen3 4B Instruct 2507 4.02B | Q6_K | about 4.1 GB |
| Nemotron 3 Nano 4B 3.97B | Q6_K | about 4.1 GB |
| Phi-4-mini Instruct 3.84B | Q8_0 | about 5.0 GB |
| Granite 4.1 3B 3.4B | Q8_0 | about 4.5 GB |
| Llama 3.2 3B Instruct 3.21B | Q8_0 | about 4.3 GB |
| SmolLM3 3B 3.08B | Q8_0 | about 4.1 GB |
| Qwen3.5 2B 2.27B | Q8_0 | about 3.2 GB |
| LFM3 1.7B 1.73B | BF16 / FP16 | about 4.3 GB |
* Estimates: parameters × bits per weight ÷ 8, plus about 10% overhead and a cache for an 8K-token conversation. Longer conversations need more. How we calculate this.
Just too big
These need more memory than this setup has, even at 4-bit: Olmo 3 7B Instruct (about 5.4 GB), Gemma 4 E4B (about 5.8 GB), Llama 3.1 8B Instruct (about 5.9 GB), Ministral 3 8B (about 6.4 GB).
Questions
What is the biggest AI model that runs on a Laptop or PC with 8 GB RAM?
Of the models we track, Gemma 4 E2B (5.12B parameters) fits at Q5_K_M, needing about 4.5 GB by our estimate.
Which local model is best for coding on a Laptop or PC with 8 GB RAM?
Our pick is Qwen3.5 4B at Q6_K (about 4.7 GB). This is an editorial choice based on the model's stated focus and size, not a benchmark.
How to run them
Install Ollama or LM Studio; they run on the processor when there is no supported graphics card. Close other programs to free memory, and prefer small models or mixture-of-experts models with few active parameters for usable speed.
Other computers without a graphics card
- Laptop or PC with 16 GB RAM – 17 models fit
- PC with 32 GB RAM – 24 models fit
- PC with 64 GB RAM – 26 models fit