Best local LLMs for 24GB VRAM
What you can run with 24 GB of GPU memory (23 GB usable after ~1 GB overhead), at 16k context with an f16 KV cache. Speeds use data measured on GeForce RTX 4090 where available.
Models that fit 24 GB, largest first
| Model | Params | Quant | Fit | Memory | Tok/s | Speed source |
|---|---|---|---|---|---|---|
| Ripple 65B Preview | 64.78B | Q4_K_M | partial offload (slow) | 40.1 GB | 3 | estimated |
| Flint 40B-A2.5B | 39.79B MoE | UD-Q4_K_XL | MoE offload to CPU | 25.6 GB | 190 | estimated |
| Qwen3.6 35B-A3B | 35.95B MoE | UD-Q4_K_M | fits fully | 22.5 GB | 190 | measured |
| Ornith 1.5 35B-A3B | 35.95B MoE | Q4_K_M | fits fully | 22.3 GB | 193 | scaled from measured |
| Laguna XS 2.1 | 33.44B MoE | Q4_K_M | fits fully | 21.3 GB | 191 | scaled from measured |
| Nanbeige4.3 33B | 33.12B | Q4_K_M | partial offload (slow) | 24.3 GB | 20 | estimated |
| DeepSeek R1 Distill Qwen 32B | 32.76B | Q4_K_M | partial offload (slow) | 24.1 GB | 20 | estimated |
| Nemotron 3 Nano 30B-A3B | 31.58B MoE | Q4_K_M | MoE offload to CPU | 24.8 GB | 124 | estimated |
| Nemotron 3.5 Lightning 30B-A3B | 31.58B MoE | UD-Q4_K_M | MoE offload to CPU | 25.4 GB | 129 | estimated |
| Gemma 4 31B | 31.27B | Q4_K_M | fits fully | 20.5 GB | 44 | measured |
| GLM-4.7-Flash | 31.22B MoE | Q5_K_M | fits fully | 22.3 GB | 257 | scaled from measured |
| Qwen3-Coder 30B-A3B | 30.53B MoE | Q4_K_M | fits fully | 20.2 GB | 266 | measured |
| Qwen3.6 27B | 27.78B | Q5_K_M | fits fully | 20.7 GB | 42 | scaled from measured |
| Qwen3.8 27B | 27.78B | UD-Q5_K_M | fits fully | 21.1 GB | 44 | scaled from measured |
| Inkling 2 Mini | 26.39B MoE | Q5_K_M | fits fully | 21.9 GB | 119 | estimated |
| Gemma 4 26B-A4B | 25.81B MoE | UD-Q5_K_M | fits fully | 21.7 GB | 135 | scaled from measured |
| Mistral Small 3.2 24B | 24.01B | Q6_K | fits fully | 22.0 GB | 46 | scaled from measured |
| LFM2.5 24B-A2B | 23.97B MoE | Q6_K | fits fully | 20.0 GB | 265 | scaled from measured |
| gpt-oss 20B | 20.91B MoE | Q8_0 | fits fully | 12.5 GB | 258 | measured |
| Mellum2.1 12B-A2.5B Instruct | 12.15B MoE | Q8_0 | fits fully | 13.2 GB | 194 | estimated |
| Gemma 4 12B | 11.96B | Q8_0 | fits fully | 13.3 GB | 64 | measured |
| Qwen3.5 9B | 9.65B | Q8_0 | fits fully | 10.1 GB | 95 | measured |
| Ornith 1.5 9B | 9.65B | Q8_0 | fits fully | 10.1 GB | 95 | scaled from measured |
| Qwen3-VL 8B | 8.77B | Q8_0 | fits fully | 11.1 GB | 102 | measured |
| Gemma 4 E4B | 8B | Q8_0 | fits fully | 8.5 GB | 96 | scaled from measured |
| DeepSeek R1 Distill Qwen 7B | 7.62B | Q8_0 | fits fully | 9.0 GB | 97 | scaled from measured |
| Qwen3.5 4B | 4.66B | Q8_0 | fits fully | 5.1 GB | 158 | measured |
| Nemotron 3 Nano 4B | 3.97B | Q8_0 | fits fully | 4.6 GB | 167 | scaled from measured |
| LFM3 1.7B | 1.73B | Q8_0 | fits fully | 2.1 GB | 325 | scaled from measured |
Copy-paste commands for the top pick
Qwen3.6 35B-A3B UD-Q4_K_M, 16k context.
llama-server -hf unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M -c 16384 -fa on --jinja -ngl 99
OLLAMA_CONTEXT_LENGTH=16384 ollama serve ollama run hf.co/unsloth/Qwen3.6-35B-A3B-GGUF:UD-Q4_K_M
How much context fits in 24 GB?
Largest context where weights plus KV cache stay inside 23 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 |
|---|---|---|---|---|
| Qwen3.6 35B-A3B UD-Q4_K_M | 22.1 GB | 32k | 64k | 128k |
| Ornith 1.5 35B-A3B Q4_K_M | 21.9 GB | 32k | 64k | 128k |
| Laguna XS 2.1 Q4_K_M | 20.6 GB | 32k | 64k | 128k |
| Gemma 4 31B Q4_K_M | 18.3 GB | 32k | 64k | 128k |
| GLM-4.7-Flash Q5_K_M | 21.4 GB | 16k | 32k | 64k |
| Qwen3-Coder 30B-A3B Q4_K_M | 18.6 GB | 32k | 64k | 128k |
| Qwen3.6 27B Q5_K_M | 19.5 GB | 32k | 64k | 128k |
| Qwen3.8 27B UD-Q5_K_M | 19.9 GB | 32k | 64k | 128k |
Try the exact numbers for your setup in the interactive advisor.
What does not fit fully in 24 GB
Ripple 65B Preview (needs 40 GB at 16k, ~3 tok/s with offload); Flint 40B-A2.5B (needs 26 GB at 16k, ~190 tok/s with offload); Nanbeige4.3 33B (needs 24 GB at 16k, ~20 tok/s with offload); DeepSeek R1 Distill Qwen 32B (needs 24 GB at 16k, ~20 tok/s with offload); Nemotron 3 Nano 30B-A3B (needs 25 GB at 16k, ~124 tok/s with offload); Nemotron 3.5 Lightning 30B-A3B (needs 25 GB at 16k, ~129 tok/s with offload). Rent instead: Vast.ai / RunPod. We may earn a referral credit if you sign up through these links.
GPUs with 24 GB
RTX 3090 24GB Amazon · RTX 4090 24GB Amazon · AMD RX 7900 XTX 24GB Amazon
As an Amazon Associate I earn from qualifying purchases. Cards in this tier: GeForce RTX 3090, GeForce RTX 4090, Radeon RX 7900 XTX.
Hardware pages near 24 GB
RTX 3090 24GB · RTX 4090 24GB · RTX 5090 32GB · 16GB VRAM class (RTX 4060 Ti 16GB, 32GB RAM) · RTX 5070 Ti 16GB · RTX 5080 16GB · AMD RX 7900 XTX 24GB · Mac mini / iMac M4 16GB
FAQ
What is the best local LLM for 24GB VRAM?
By size, Qwen3.6 35B-A3B UD-Q4_K_M is the largest model in our dataset that fits fully at 16k context (22.5 GB, ~190 tok/s (measured)).
How many models fit in 24GB VRAM?
23 of 35 models fit fully at 16k context with an f16 KV cache; 6 more run only with CPU offload.
How much context can I use with 24GB?
It depends on the model: for Qwen3.6 35B-A3B the KV cache allows up to 32k tokens at f16 and 128k with a q4_0 cache.
Neighbouring tiers: 16 GB · 32 GB · all tiers. Numbers come from the same memory-fit math as the advisor; sources and methods.