HW AI Hardware · Practical
How much VRAM do you need to run local LLMs?
A practical way to estimate GPU memory for local language models, with the formula, rule-of-thumb sizes for common model classes and the factors that change the answer.
For local language models, GPU memory (VRAM) is usually the first limit you hit. If the model and its working memory fit in VRAM, responses are fast. If they do not, the runtime has to split work between GPU and system RAM, and speed drops sharply.
The basic estimate
The weights of a model take roughly:
memory for weights ≈ parameters × bytes per parameter
Bytes per parameter depend on precision (quantization):
| Precision | Bytes per parameter | Typical use |
|---|---|---|
| FP16 / BF16 | 2 | Full precision, training, reference quality |
| 8-bit (Q8) | ~1 | Near-original quality |
| 4-bit (Q4) | ~0.5–0.6 | Most common for local inference |
So a 7–8 billion parameter model at 4-bit needs about 4–5 GB just for weights, while the same model at 16-bit needs about 15–16 GB.
Add working memory
On top of the weights, the runtime needs memory for the context (the KV cache) and its own buffers. The KV cache grows with the context length and with the number of simultaneous requests. As a starting rule, add 20–30% for a single user with moderate context, and plan more for long documents or several concurrent users.
Rule-of-thumb sizes (4-bit, single user)
| Model class | Approx. weights | Comfortable VRAM |
|---|---|---|
| 7–8B | 4–5 GB | 8 GB |
| 13–14B | 8–9 GB | 12–16 GB |
| 30–32B | 18–20 GB | 24 GB |
| 70B | 38–42 GB | 48 GB or more |
These are estimates for planning, not guarantees. Exact numbers depend on the model architecture, the quantization format, the runtime and the context length you configure.
What changes the answer
- Concurrency. Ten people asking questions at once need far more KV cache than one. This is often what separates an office-class server from an entry one.
- Context length. Feeding long contracts or many retrieved passages into the model increases memory use.
- Multiple models. Running an embedding model for search, an OCR model and a chat model at the same time adds up.
- Multi-GPU. Two 24 GB cards can serve a model that needs ~40 GB, but splitting a model across cards adds overhead and depends on runtime support. One larger card is simpler when available.
- Memory bandwidth. Two GPUs with the same VRAM can differ a lot in speed. VRAM decides what fits; bandwidth largely decides how fast it generates.
When system RAM matters
System RAM still matters: it holds the operating system, applications, document indexes and file caches, and it is where model layers go when they do not fit on the GPU. For a business server, 32 GB is a practical minimum and 64–128 GB is common for multi-user setups.
Check your own machine
If you already have a workstation with a capable GPU, the AI Readiness check estimates which MolinaVerse Node class it is closest to, using the published thresholds.
