How much VRAM a local LLM really needs: numbers from an 8 GB RTX 4060 A developer benchmarked three local LLMs on an 8 GB laptop RTX 4060 using Ollama, measuring cold-load times, tokens per second and VRAM use via nvidia-smi. Llama 3.2 1B ran at 116.6 tokens/s using 1546 MB, Llama 3.2 3B at 58.8 tokens/s using 2556 MB, and Qwen 2.5 7B at 26.4 tokens/s using 4650 MB, all fully on GPU. The developer's rule of thumb is that VRAM needed equals model file size plus KV cache plus runtime overhead, and that CPU spillover collapses throughput rather than degrading it gradually. 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