What LLMs can I run on a 24 GB GPU?
Last updated • By Will Schulz
On a 24 GB GPU you can run 15 of the 24 open-weight models we track with an 8K context. The largest is Mixtral 8x7B at 2-bit (Q2_K), which needs 21.1 GB, and 5 run unquantized at 16-bit.
Models that fit a 24 GB GPU
| Model | Best fit | Memory | Longest context | |
|---|---|---|---|---|
| Mixtral 8x7B | 2-bit (Q2_K) | 21.1 GB | 32K | calculator |
| Qwen3 32B | Q4_K_M | 23.8 GB | 8K | calculator |
| Qwen2.5 32B | Q4_K_M | 23.6 GB | 8K | calculator |
| Qwen3 30B-A3B | Q5_K_M | 24.2 GB | 8K | calculator |
| Gemma 3 27B | Q5_K_M | 22.2 GB | 32K | calculator |
| Gemma 2 27B | Q5_K_M | 23.3 GB | 8K | calculator |
| gpt-oss-20b | INT8 / Q8_0 | 24.2 GB | 16K | calculator |
| Qwen2.5 14B | INT8 / Q8_0 | 18.7 GB | 32K | calculator |
| Phi-4 (14B) | INT8 / Q8_0 | 18.8 GB | 32K | calculator |
| Gemma 3 12B | INT8 / Q8_0 | 15.2 GB | 128K | calculator |
| Gemma 2 9B | BF16 / FP16 | 22.1 GB | 16K | calculator |
| Qwen3 8B | BF16 / FP16 | 19.1 GB | 32K | calculator |
| Llama 3.1 8B | BF16 / FP16 | 18.6 GB | 32K | calculator |
| Qwen2.5 7B | BF16 / FP16 | 17.2 GB | 128K | calculator |
| Mistral 7B v0.3 | BF16 / FP16 | 17.0 GB | 32K | calculator |
Memory is weights + FP16 KV cache + runtime overhead for one request, as in the VRAM calculator, assuming the runtime allocating 95% of the card. Longest context is the largest of 4K–128K that fits at that quantization; it is only usable up to the model's own context window.
Models too large for a 24 GB GPU
Even at 2-bit (Q2_K) these need more memory: Llama 3.1 70B, Llama 3.3 70B, Llama 3.1 405B, Llama 4 Scout, Llama 4 Maverick, Qwen2.5 72B, Qwen3 235B-A22B, gpt-oss-120b, DeepSeek-V3 / R1.
Questions
What is the largest LLM that runs on a 24 GB GPU?
Of the models we track, Mixtral 8x7B (46.7B parameters) at 2-bit (Q2_K), which needs 21.1 GB with an 8K context. Larger models need more memory or several cards.
Can a 24 GB GPU run a model at full 16-bit precision?
Yes, 5 models: Gemma 2 9B, Qwen3 8B, Llama 3.1 8B, Qwen2.5 7B, Mistral 7B v0.3. Larger models need quantizing, usually to Q4_K_M (about 4.9 bits per weight), which loses little quality.
How much memory does a 24 GB GPU leave for context?
The KV cache grows with every token of context, so the longest context that fits depends on the model and quantization; the table lists it for each model, trying 4K, 8K, 16K, 32K, 64K and 128K tokens. These figures assume the runtime allocating 95% of the card.
