Best LLMs for RTX 4090 (24 GB VRAM): what runs locally
24 of the 40 open-source models in our directory fit on an RTX 4090, the biggest being Nemotron 3 Nano 30B-A3B. Below: which ones, at which quality, and our picks for chat, coding and reasoning.
The RTX 4090 has 24 GB of video memory (VRAM). We count about 23.5 GB as usable for the model, because the driver and your screen need a little.
24 GB GDDR6X. For years the most popular consumer card for local AI.
Memory size from the official spec page, checked November 28, 2026.
Our picks for RTX 4090 (24 GB VRAM)
- Everyday chat & writing: Qwen3.8 27B at Q5_K_M (about 23 GB)
- Coding: Qwen3.8 27B at Q5_K_M (about 23 GB)
- Reasoning, math & agents: Qwen3.8 27B at Q5_K_M (about 23 GB)
Picks are our editorial choice based on what each maker says the model is built for and on its size; they are not benchmark results.
All models that fit (24)
| Model | Best format that fits | Memory needed* |
|---|---|---|
| Nemotron 3 Nano 30B-A3B 31.58B · 3.5B active | Q4_K_M | about 22 GB |
| Gemma 4 31B 31.27B | Q4_K_M | about 22 GB |
| Qwen3.8 27B 27.8B | Q5_K_M | about 23 GB |
| Qwen3.5 27B 27.8B | Q5_K_M | about 23 GB |
| Gemma 4 26B A4B 25.81B · 4B active | Q5_K_M | about 21 GB |
| Mistral Small 3.2 24B 24.01B | Q6_K | about 23 GB |
| gpt-oss-20b 21B · 3.6B active | Q6_K | about 20 GB |
| Ministral 3 14B 13.9B | Q8_0 | about 17 GB |
| Gemma 4 12B 11.96B | Q8_0 | about 15 GB |
| Qwen3.5 9B 9.65B | BF16 / FP16 | about 22 GB |
| Ministral 3 8B 8.9B | BF16 / FP16 | about 20 GB |
| Llama 3.1 8B Instruct 8.03B | BF16 / FP16 | about 18 GB |
| Gemma 4 E4B 8B | BF16 / FP16 | about 18 GB |
| Olmo 3 7B Instruct 7.3B | BF16 / FP16 | about 17 GB |
| Gemma 4 E2B 5.12B | BF16 / FP16 | about 12 GB |
| Qwen3.5 4B 4.66B | BF16 / FP16 | about 11 GB |
| Qwen3 4B Instruct 2507 4.02B | BF16 / FP16 | about 9.3 GB |
| Nemotron 3 Nano 4B 3.97B | BF16 / FP16 | about 9.2 GB |
| Phi-4-mini Instruct 3.84B | BF16 / FP16 | about 8.9 GB |
| Granite 4.1 3B 3.4B | BF16 / FP16 | about 8.0 GB |
| Llama 3.2 3B Instruct 3.21B | BF16 / FP16 | about 7.6 GB |
| SmolLM3 3B 3.08B | BF16 / FP16 | about 7.3 GB |
| Qwen3.5 2B 2.27B | BF16 / FP16 | about 5.5 GB |
| LFM3 1.7B 1.73B | BF16 / FP16 | about 4.3 GB |
* Estimates: parameters × bits per weight ÷ 8, plus about 10% overhead and a cache for an 8K-token conversation. Longer conversations need more. How we calculate this.
Just too big
These need more memory than this setup has, even at 4-bit: Qwen3.6 35B-A3B (about 25 GB), Qwen3.5 35B-A3B (about 25 GB).
Questions
What is the biggest AI model that runs on an RTX 4090?
Of the models we track, Nemotron 3 Nano 30B-A3B (31.58B parameters) fits at Q4_K_M, needing about 22 GB by our estimate.
Which local model is best for coding on an RTX 4090?
Our pick is Qwen3.8 27B at Q5_K_M (about 23 GB). This is an editorial choice based on the model's stated focus and size, not a benchmark.
How to run them
Install Ollama or LM Studio; both use the graphics card automatically. Pick a model from the table and run, for example, ollama run nemotron-3-nano:30b. Models slightly too big for the card can still run in Ollama, LM Studio or llama.cpp by putting some layers in normal RAM, but they get much slower.
Other graphics cards
- RTX 4060 (8 GB VRAM) – 15 models fit
- RTX 3070 (8 GB VRAM) – 15 models fit
- RTX 3080 10 GB – 16 models fit
- RTX 3090 (24 GB VRAM) – 24 models fit
- RTX 3060 12 GB – 17 models fit
- RTX 4070 (12 GB VRAM) – 17 models fit
- RTX 5070 (12 GB VRAM) – 17 models fit
- RTX 4060 Ti 16 GB – 18 models fit
- RTX 5060 Ti 16 GB – 18 models fit
- RTX 4070 Ti Super (16 GB VRAM) – 18 models fit
- RTX 4080 / 4080 Super (16 GB VRAM) – 18 models fit
- RTX 5080 (16 GB VRAM) – 18 models fit
- Radeon RX 7900 XTX (24 GB VRAM) – 24 models fit
- RTX 5090 (32 GB VRAM) – 26 models fit
- 2x RTX 3090 (48 GB) – 26 models fit