In this categoryLocal AI · 34
- How to Install Ollama on macOSStart
- How to Install Ollama on Windows
- How to Run Llama 3 Locally with Ollama
- How to Pick the Right Local AI Model for Your Hardware
- Best GGUF Models to Run by VRAM Tier (8GB, 12GB, 16GB, 24GB, 48GB)
- Run LLMs in Your Browser With WebGPU: No Install, No Server (WebLLM)
- How to Use Ollama as a Drop-In OpenAI API
- GGUF vs MLX vs NVFP4: Local AI Quantization Formats Explained
- Best GPU for Running AI Locally in 2026Start
- How Much RAM Do You Need for Local AI?
- Mac vs PC for Local AI: Which Should You Choose?
- How to Build a Local AI Workstation on Any Budget
- How to Set Up Local AI on 8GB of VRAM
- How to Set Up Local AI on 12GB of VRAM
- Best Local LLM for 16 GB VRAM: Setup, Quantization and Real Speed
- How to Set Up Local AI on 24GB of VRAM
- Best Local LLM on Mac M4 16 GB: Setup, MLX vs GGUF and Real Speed
- Best Local LLM on Mac M4 Pro 48GB: Setup, Quantization and Real Speed
How to Set Up Local AI on 8GB of VRAM
An 8GB GPU runs the 7B to 8B model class comfortably at Q4 quantization, and Phi-4 14B just barely fits. Here is exactly what to install, which quantization format to pick, and real measured tokens-per-second so you know what to expect before you download anything.
An 8GB GPU is enough for real local AI work: Qwen3 8B and Llama 3.1 8B both need about 5GB of VRAM at Q4 quantization, leaving headroom for context. Install Ollama, pull a model, and you are generating text in under five minutes. On an RTX 4060 8GB, Llama 3.1 8B generates around 42 tokens per second, fast enough for interactive chat and coding help.
Written by Priya Raghunathan, local-AI hardware reviewer. I test consumer GPUs and Apple Silicon against real llama.cpp and MLX benchmarks before recommending them, because vendor VRAM numbers rarely match what actually loads.
What actually fits in 8GB
At Q4 quantization, the default Ollama serves for every model, the 7B to 8B class is the comfortable zone for an 8GB card. Phi-4 14B is the outlier: its 14 billion parameters compress down to about 8GB at Q4, so it fits, but with almost nothing left over for a long context window.
| Model | Params | VRAM at Q4 | License | Best for |
|---|---|---|---|---|
| Qwen3 8B | 8B | ~5 GB | Apache 2.0 | All-round chat, tool calling |
| Llama 3.1 8B | 8B | ~5 GB | Llama 3.1 Community | 128K context, general use |
| Qwen 2.5 Coder 7B | 7B | ~4 GB | Apache 2.0 | Coding |
| Mistral 7B v0.3 | 7B | ~4 GB | Apache 2.0 | Chat, summarization |
| Phi-4 14B | 14B | ~8 GB (tight) | MIT | Coding, math reasoning |
Which quantization to pick
On an 8GB card the answer is simple: GGUF at Q4_K_M, which is what Ollama pulls by default. MLX only matters on Apple Silicon and NVFP4 only matters on NVIDIA's Blackwell cards (RTX 5090/5080/5070 Ti), so neither applies here unless your 8GB card happens to be a 5070-class Blackwell part, in which case NVFP4 checkpoints will run a touch more accurately at the same 4-bit size. For the full comparison, see the GGUF vs MLX vs NVFP4 explainer.
Install and run
Real-world speed: what to expect
GPU rental provider DatabaseMart's RTX 4060 Ollama benchmark (Ollama 0.5.11, updated August 2026) measured Llama 3.1 8B at 41.7 tokens per second and Mistral 7B at 50.9 tokens per second on an 8GB RTX 4060 at Q4 quantization. Models under 5GB stayed above 40 tokens per second consistently; the moment you cross into the 13B to 14B range, that same card dropped to roughly 8 tokens per second, low GPU utilization the benchmark attributed to the model no longer fitting cleanly in 8GB. That is the practical ceiling of this tier: the 7B to 8B class is fast, Phi-4 14B works but generates noticeably slower.
Where to go from here
- Need more headroom for bigger models? See the 12GB and 16GB VRAM setup guides.
- Want to understand quantization formats before you pick a model? Read the GGUF vs MLX vs NVFP4 explainer.
- Comparing GPUs before you buy? Best Local LLM for 8GB VRAM has verified hardware picks and FAQs.
Local models run better with more VRAM. CompareRTX GPUs on Amazonbefore you upgrade.(affiliate link. We may earn a commission at no extra cost. Disclosure)
Related guides
How to Set Up Local AI on 12GB of VRAM
12GB of VRAM is the mixture-of-experts sweet spot: OpenAI's gpt-oss-20b needs about 12GB at Q4 and, because only 3.6B of its 20B parameters activate per token, generates at nearly 7B speed. Here is how to install it, which quantization it actually ships in, and cited real-world tokens-per-second.
GGUF vs MLX vs NVFP4: Local AI Quantization Formats Explained
Three names keep showing up when you go to download a local model: GGUF, MLX, and the newer NVFP4. They are not interchangeable, and picking the wrong one wastes memory or leaves your hardware idle. Here is what each format is, which one your machine actually wants, and how to choose in ten seconds.
Watch related tutorials
14:50
9:42
10:30
11:05
12:20
14:15Weekly local AI drops
New models, what runs on your hardware, and the guides to set them up. One email a week, unsubscribe any time.