# How much VRAM a local LLM really needs: numbers from an 8 GB RTX 4060

> Source: <https://dev.to/qunirice_verase_1ab0caeba/how-much-vram-a-local-llm-really-needs-numbers-from-an-8-gb-rtx-4060-2ob0>
> Published: 2026-11-28 10:08:24+00:00

**Recommendation:** Size local models to fit entirely in VRAM (file size plus KV cache plus overhead) and stop each model between runs to measure cold-load tokens/s, since CPU spillover collapses throughput.
More in the playbook "Inference and self-hosting": <https://wpnews.pro/playbooks/inference-serving>

Everyone says "8 GB is enough for a 7B model at Q4", but I wanted actual numbers from a machine I own, not a chart from someone else's review. So I ran three models through Ollama on a laptop RTX 4060 with 8 GB of VRAM, watched `nvidia-smi` during generation, and wrote everything down.

Nothing exotic here — this is a fairly typical 2024–2026 laptop:

`ollama stop` before each one)
Cold load matters. If you benchmark a model that is already resident in memory, you skip the load time entirely and the first numbers look better than what you actually get on a fresh start.

| Model | File size | Load time | Tokens/s | VRAM used by model | 
|---|---|---|---|---|
| `llama3.2:1b` | 1.3 GB | 2.86 s | **116.6** | 1546 MB | 
| `llama3.2:3b` | 2.0 GB | 2.67 s | **58.8** | 2556 MB | 
| `qwen2.5:7b` | 4.7 GB | 3.09 s | **26.4** | 4650 MB | 

All three ran fully on the GPU. The weights file plus the KV cache fit inside 8 GB with room to spare, which is why throughput drops roughly in line with model size: 1B is about 4.4× faster than 3B, and 3B is roughly 2.2× faster than 7B.

Load times were surprisingly flat — 2.7 to 3.1 seconds regardless of size. The bottleneck at load is disk and initialization, not the model itself.

VRAM needed ≈ model file size + context (KV cache) + a bit of runtime overhead.

That is the whole rule. A 4.7 GB Q4 file plus a modest context window lands around 4.7–5 GB of actual usage, as the measurement above shows. With 8 GB you can comfortably hold up to 7–8B at Q4 while leaving the desktop compositor and a browser some room.

The 8 GB row is measured. Everything else below is an estimate from the formula above — treat it as a planning hint, not a benchmark.

| VRAM | Fits at Q4 | Expected speed | 
|---|---|---|
| 4 GB | 1–3B | 30–120 tokens/s | 
| 6 GB | 3B, 7B partially | 20–60 tokens/s | 
| **8 GB** | **up to 7–8B** | **25–60 tokens/s** | 
| 12 GB | 14B | 15–30 tokens/s | 
| 24 GB | 32B | 8–15 tokens/s | 

The important failure mode: if the model does not fit, Ollama pushes some layers onto the CPU. Speed does not degrade gracefully — it collapses by several times, because memory bandwidth becomes the limit rather than compute. A 7B model that spills a third of its layers to CPU can feel slower than a 3B model that fits entirely.

```
ollama pull llama3.2:1b
ollama run llama3.2:1b --verbose "Explain what model quantization is"
```

The `--verbose` flag prints an `eval rate` line when generation finishes — that is your tokens/s. To watch VRAM while it generates, open a second terminal:

```
nvidia-smi --query-gpu=memory.used --format=csv -l 1
```

Run your model three times, throw away the outliers, and stop the model between runs with `ollama stop <model>` so you are always measuring a cold load.

If you compare these figures to another review and get different results, that is expected. Tokens/s depends on the GPU, the quantization, the context length, and the runtime version — all four move the number. That is also why I listed the exact prompt, token count, and Ollama version instead of just publishing a table: without those, a benchmark is not reproducible.

On 8 GB of VRAM, a 7B model at Q4 is not a compromise — it fits (about 4.7 GB), runs entirely on the GPU, and gives around 26 tokens/s on this hardware. If you want more speed, drop to 3B and get roughly 59 tokens/s; if you want a small assistant that feels instant, 1B at over 100 tokens/s is genuinely usable. Pick the largest model that fits with context headroom, and never let it spill to CPU.

This article was originally published on AI Release — [https://ai-release.org](https://ai-release.org). More measurements and release notes are posted on the channel: [https://t.me/ai_release1](https://t.me/ai_release1).
