Best Ollama Models for 16GB VRAM (16GB VRAM)
gpt-oss:20b and the 14B class at Q5 — what 16GB unlocks
The best Ollama model for 16GB VRAM in 2026 is gpt-oss:20b — OpenAI’s open-weight MoE at ~14–16GB, generating at small-model speed because only ~3.6B params are active per token. Qwen 3 14B at Q5 (~11GB) is the dense alternative with context headroom, and Devstral 24B (~15GB) the agentic-coding pick. 32B models still need 24GB.
Models that fit in 16GB VRAM
Reference card: RTX 4080 / RTX 4060 Ti 16GB. Figures are for Q4_K_M with a modest context window.
| Model | Size | Build | VRAM used | Ceiling tok/s* |
|---|---|---|---|---|
| WINNERgpt-oss:20b OpenAI’s open-weight model, sized for 16GB cards — MoE, so it generates at small-model speed. A tight fit: run it alone. ollama pull gpt-oss:20b | 20.9B (MoE, ~3.6B active) | MXFP4 | ~14–16GB | MoE — ~3.6B active per token; bandwidth is not the limit; not measured |
| Qwen 3 14B Ollama ships Qwen 3 14B only at q4_K_M (9.3GB), q8_0 (16GB) and fp16 — there is no q5 or q6 build. On a 16GB card the q4_K_M leaves ~6GB for context; the q8_0 does not fit once a context window is added. ollama pull qwen3:14b | 14B | Q4_K_M | ~9.3GB | ceiling ~77 tok/s (717 ÷ 9.3GB) |
| Devstral 24B Purpose-built agentic coder (multi-file edits) — fits 16GB only with a short context. ollama pull devstral:24b | 24B | Q4_K_M | ~14GB | ceiling ~51 tok/s (717 ÷ 14GB) |
| DeepSeek-R1 14B Chain-of-thought reasoning with plenty of KV headroom at this tier. ollama pull deepseek-r1:14b | 14B | Q4_K_M | ~9.0GB | ceiling ~80 tok/s (717 ÷ 9.0GB) |
| Phi-4 14B STEM/reasoning specialist — pairs well as the “second model” beside a loaded coder. ollama pull phi4 | 14B | Q4_K_M | ~9.1GB | ceiling ~79 tok/s (717 ÷ 9.1GB) |
* Ceiling tok/s = the card’s vendor-listed memory bandwidth ÷ the model’s file size as Ollama lists it — the rate a dense model cannot exceed, because every generated token reads the whole weight set once. We have not measured these cards. Real-world generation usually lands at 50–80% of the ceiling and falls as the context grows; mixture-of-experts rows read only their active parameters, so no ceiling is quoted for them.
What won't fit in 16GB
- ✗Qwen3.6 27B (needs ~17GB) — The current 24GB-tier headline pick — a hair over 16GB at Q4.
- ✗Qwen 2.5 Coder 32B (needs ~20GB) — The SOTA local coder needs a 24GB card.
What can your machine actually run?
Chapter 1, “Pick by Hardware: What to Run at 8, 12, 16 and 24GB+”, gives a verdict-first pick for each memory tier, free with an account. No card. The other 13 chapters cover picking by job, quant formats, real usable context, honest speed measurement and building an eval from your own work.
How to fit more in 16GB
- →gpt-oss:20b is a tight fit — load it with nothing else on the GPU, keep num_ctx modest, and confirm `ollama ps` reports 100% GPU.
- →Use 16GB’s headroom for quant, not just size: a 14B at Q5_K_M (~11GB) plus a long context usually beats a 22–24B dense model squeezed in at Q4.
- →Dense 22–24B models (Devstral, Codestral) fit only with short contexts — the MoE gpt-oss:20b gives you 20B-class reasoning while reading a fraction of the bytes per token.
Quick start
curl -fsSL https://ollama.com/install.sh | shollama run gpt-oss:20bGo from "it runs" to actually building
All 561 chapters — running local models, RAG, agents, fine-tuning — plus the Python Lab and every course added later.
Frequently asked questions
What are the best GGUF models for 16GB VRAM?
gpt-oss:20b (~14–16GB, ships in MXFP4) is the flagship; Qwen 3 14B at Q5_K_M (~11GB) and Devstral 24B at Q4 (~15GB) round out the tier. Ollama pulls are GGUF under the hood, so the same picks apply if you load them in LM Studio.
Can 16GB VRAM run gpt-oss:20b?
Yes — that is the card it was sized for. OpenAI ships it in MXFP4 at ~14–16GB, and because it is MoE (~3.6B active params per token) it generates far faster than a dense 20B. Keep desktop GPU use light while it is loaded.
Should I squeeze a 32B model onto 16GB?
Usually no — Qwen 2.5 32B only fits at Q3 (~14GB) with a short context, and a 14B at Q4/Q5 is faster and typically better on real tasks. For full-quality 32B, this tier’s ceiling is real: you want 24GB.
Related guides
Ready to Go Beyond Tutorials?
25 structured courses with hands-on chapters - build RAG chatbots, AI agents, and ML pipelines on your own hardware.
Was this helpful?