1. Estimate memory before downloading
A quick first approximation for quantized dense models:
That means a 7B model is easy territory for many GPUs, while 27B–32B usually moves into 24 GB VRAM, high unified memory, or partial CPU offload.
The goal is not merely to make a model load. A good local setup should be repeatable, measurable and stable under the prompt sizes you actually use.
A quick first approximation for quantized dense models:
That means a 7B model is easy territory for many GPUs, while 27B–32B usually moves into 24 GB VRAM, high unified memory, or partial CPU offload.
llama.cpp is excellent for GGUF and mixed CPU/GPU execution. Ollama is convenient for simple model management. vLLM is aimed more at high-throughput serving on supported GPUs.
4-bit formats are popular because they dramatically reduce memory. Higher-bit quantization typically preserves more fidelity but consumes more memory and bandwidth. The best choice depends on the task and model family.
A model may advertise a very large context window, but local inference at maximum context can demand substantial additional memory. Benchmark the context length you actually need.
Measure model load time and initial memory use from a clean start.
Use a fixed prompt of meaningful size and record prompt-processing throughput separately.
Generate a fixed number of tokens with the same sampling settings and record decoding tokens per second.
Keep a small suite of your own tasks: coding fixes, extraction, reasoning, summarization or structured JSON. Speed without useful output is not a win.
| Hardware | Comfortable model range | Typical strategy |
|---|---|---|
| 8 GB VRAM | 3B–7B | Q4/Q5, modest context, full or near-full GPU offload |
| 12 GB VRAM | 7B–14B | Q4, leave headroom for KV cache |
| 16 GB VRAM / unified memory | 9B–14B, some larger | Q4/Q5, multimodal models become practical |
| 24 GB VRAM | 14B–32B | Q4/Q5, strong local coding and reasoning setups |
| 48 GB+ memory | 32B+ and larger sparse models | workstation/server deployment, longer context |