Best local LLMs for 12GB VRAM
What you can run with 12 GB of GPU memory (11 GB usable after ~1 GB overhead), at 16k context with an f16 KV cache. Speeds use data measured on GeForce RTX 4070 12GB where available.
Models that fit 12 GB, largest first
| Model | Params | Quant | Fit | Memory | Tok/s | Speed source |
|---|---|---|---|---|---|---|
| Flint 40B-A2.5B | 39.79B MoE | UD-Q4_K_XL | MoE offload to CPU | 25.6 GB | 53 | estimated |
| Qwen3.6 35B-A3B | 35.95B MoE | UD-Q4_K_M | MoE offload to CPU | 22.5 GB | 49 | estimated |
| Ornith 1.5 35B-A3B | 35.95B MoE | Q4_K_M | MoE offload to CPU | 22.3 GB | 51 | estimated |
| Laguna XS 2.1 | 33.44B MoE | Q4_K_M | MoE offload to CPU | 21.3 GB | 50 | estimated |
| Nanbeige4.3 33B | 33.12B | Q4_K_M | partial offload (slow) | 24.3 GB | 4 | estimated |
| DeepSeek R1 Distill Qwen 32B | 32.76B | Q4_K_M | partial offload (slow) | 24.1 GB | 4 | estimated |
| Nemotron 3 Nano 30B-A3B | 31.58B MoE | Q4_K_M | MoE offload to CPU | 24.8 GB | 31 | estimated |
| Nemotron 3.5 Lightning 30B-A3B | 31.58B MoE | UD-Q4_K_M | MoE offload to CPU | 25.4 GB | 36 | estimated |
| Gemma 4 31B | 31.27B | Q4_K_M | partial offload (slow) | 20.5 GB | 6 | estimated |
| GLM-4.7-Flash | 31.22B MoE | Q4_K_M | MoE offload to CPU | 19.2 GB | 58 | estimated |
| Qwen3-Coder 30B-A3B | 30.53B MoE | Q4_K_M | MoE offload to CPU | 20.2 GB | 47 | estimated |
| Qwen3.6 27B | 27.78B | Q4_K_M | partial offload (slow) | 18.1 GB | 7 | estimated |
| Qwen3.8 27B | 27.78B | UD-Q4_K_M | partial offload (slow) | 17.8 GB | 7 | estimated |
| Inkling 2 Mini | 26.39B MoE | Q4_K_M | MoE offload to CPU | 19.4 GB | 27 | estimated |
| Gemma 4 26B-A4B | 25.81B MoE | UD-Q4_K_M | MoE offload to CPU | 17.5 GB | 46 | estimated |
| Mistral Small 3.2 24B | 24.01B | Q4_K_M | partial offload (slow) | 17.0 GB | 8 | estimated |
| LFM2.5 24B-A2B | 23.97B MoE | Q4_K_M | MoE offload to CPU | 14.9 GB | 100 | estimated |
| gpt-oss 20B | 20.91B MoE | Q4_K_M | MoE offload to CPU | 12.0 GB | 121 | estimated |
| Mellum2.1 12B-A2.5B Instruct | 12.15B MoE | Q5_K_M | fits fully | 10.2 GB | 159 | estimated |
| Gemma 4 12B | 11.96B | Q6_K | fits fully | 10.4 GB | 43 | scaled from measured |
| Qwen3.5 9B | 9.65B | Q8_0 | fits fully | 10.1 GB | 51 | measured |
| Ornith 1.5 9B | 9.65B | Q8_0 | fits fully | 10.1 GB | 51 | scaled from measured |
| Qwen3-VL 8B | 8.77B | Q6_K | fits fully | 9.1 GB | 71 | scaled from measured |
| Gemma 4 E4B | 8B | Q8_0 | fits fully | 8.5 GB | 58 | scaled from measured |
| DeepSeek R1 Distill Qwen 7B | 7.62B | Q8_0 | fits fully | 9.0 GB | 59 | scaled from measured |
| Qwen3.5 4B | 4.66B | Q8_0 | fits fully | 5.1 GB | 89 | measured |
| Nemotron 3 Nano 4B | 3.97B | Q8_0 | fits fully | 4.6 GB | 89 | scaled from measured |
| LFM3 1.7B | 1.73B | Q8_0 | fits fully | 2.1 GB | 191 | scaled from measured |
Copy-paste commands for the top pick
Mellum2.1 12B-A2.5B Instruct Q5_K_M, 16k context.
llama-server -hf bartowski/Mellum2.1-12B-A2.5B-Instruct-GGUF:Q5_K_M -c 16384 -fa on --jinja -ngl 99
OLLAMA_CONTEXT_LENGTH=16384 ollama serve ollama run hf.co/bartowski/Mellum2.1-12B-A2.5B-Instruct-GGUF:Q5_K_M
How much context fits in 12 GB?
Largest context where weights plus KV cache stay inside 11 GB, by KV cache type (q8_0 halves and q4_0 quarters the cache). Native limits and YaRN extension apply per model.
| Model | Weights | f16 KV | q8_0 KV | q4_0 KV |
|---|---|---|---|---|
| Mellum2.1 12B-A2.5B Instruct Q5_K_M | 10.0 GB | 64k | 128k | 128k |
| Gemma 4 12B Q6_K | 9.8 GB | 32k | 64k | 128k |
| Qwen3.5 9B Q8_0 | 9.5 GB | 32k | 64k | 128k |
| Ornith 1.5 9B Q8_0 | 9.6 GB | 32k | 64k | 128k |
| Qwen3-VL 8B Q6_K | 6.7 GB | 16k | 32k | 64k |
| Gemma 4 E4B Q8_0 | 8.2 GB | 128k | 128k | 128k |
| DeepSeek R1 Distill Qwen 7B Q8_0 | 8.1 GB | 32k | 64k | 128k |
| Qwen3.5 4B Q8_0 | 4.5 GB | 128k | 256k | 512k |
Try the exact numbers for your setup in the interactive advisor.
What does not fit fully in 12 GB
Flint 40B-A2.5B (needs 26 GB at 16k, ~53 tok/s with offload); Qwen3.6 35B-A3B (needs 23 GB at 16k, ~49 tok/s with offload); Ornith 1.5 35B-A3B (needs 22 GB at 16k, ~51 tok/s with offload); Laguna XS 2.1 (needs 21 GB at 16k, ~50 tok/s with offload); Nanbeige4.3 33B (needs 24 GB at 16k, ~4 tok/s with offload); DeepSeek R1 Distill Qwen 32B (needs 24 GB at 16k, ~4 tok/s with offload); Nemotron 3 Nano 30B-A3B (needs 25 GB at 16k, ~31 tok/s with offload); Nemotron 3.5 Lightning 30B-A3B (needs 25 GB at 16k, ~36 tok/s with offload); Gemma 4 31B (needs 21 GB at 16k, ~6 tok/s with offload); GLM-4.7-Flash (needs 19 GB at 16k, ~58 tok/s with offload); Qwen3-Coder 30B-A3B (needs 20 GB at 16k, ~47 tok/s with offload); Qwen3.6 27B (needs 18 GB at 16k, ~7 tok/s with offload); Qwen3.8 27B (needs 18 GB at 16k, ~7 tok/s with offload); Inkling 2 Mini (needs 19 GB at 16k, ~27 tok/s with offload); Gemma 4 26B-A4B (needs 17 GB at 16k, ~46 tok/s with offload); Mistral Small 3.2 24B (needs 17 GB at 16k, ~8 tok/s with offload); LFM2.5 24B-A2B (needs 15 GB at 16k, ~100 tok/s with offload); gpt-oss 20B (needs 12 GB at 16k, ~121 tok/s with offload). Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links.
GPUs with 12 GB
RTX 3060 12GB (32GB RAM) Amazon · RTX 5070 12GB Amazon · RTX 4070 12GB Amazon
As an Amazon Associate I earn from qualifying purchases. Cards in this tier: GeForce RTX 3060 12GB, GeForce RTX 4070 12GB, GeForce RTX 5070.
Hardware pages near 12 GB
RTX 3060 12GB (32GB RAM) · 8GB VRAM class (RTX 4060 8GB, 32GB RAM) · 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) · RTX 5070 12GB · RTX 4070 12GB · RTX 5070 Ti 16GB · RTX 5080 16GB · Mac mini / iMac M4 16GB
FAQ
What is the best local LLM for 12GB VRAM?
By size, Mellum2.1 12B-A2.5B Instruct Q5_K_M is the largest model in our dataset that fits fully at 16k context (10.2 GB, ~159 tok/s (estimated)).
How many models fit in 12GB VRAM?
10 of 35 models fit fully at 16k context with an f16 KV cache; 18 more run only with CPU offload.
How much context can I use with 12GB?
It depends on the model: for Mellum2.1 12B-A2.5B Instruct the KV cache allows up to 64k tokens at f16 and 128k with a q4_0 cache.
Neighbouring tiers: 8 GB · 16 GB · all tiers. Numbers come from the same memory-fit math as the advisor; sources and methods.