Local LLMs for 24GB VRAM
Reference hardware: RTX 4090
At 4K context, the largest catalog model estimated to fit with headroom at Q4_K_M is Qwen3-Coder 30B-A3B Instruct (30B-A3B). Compare the recommended quants and the headroom they leave below.
Short answer: MiniCPM-V 4.7 35B-A3B at Q4_K_S for general use — 20.9 GB of 24GB, leaving 3.1 GB. Also: Qwen3 32B Instruct (Coding).
“Best” here means the largest model in its category that clears the card with headroom left, at the highest-quality quant that still fits. This index measures memory and published perplexity, not task quality — it cannot tell you which model answers better, and does not pretend to.
The picks
| For | Model | Quant | Est. VRAM | Headroom | Loss | Why |
|---|---|---|---|---|---|---|
| General · Images | MiniCPM-V 4.7 35B-A3B35B-A3B | Q4_K_S | 20.9 GB | 3.1 GB | — | The largest in its category that still leaves headroom. Its quantizer published no perplexity figure, so none is quoted. Only at 4K context — a longer window does not fit.Download: openbmb/MiniCPM-V-4.7-35B-A3B-gguf · MiniCPM-V-4_7-35B-A3B-Q4_K_S.gguf · 19.89 GB · + vision projector 1.12 GB, separate · listing read 2026-10-20 |
| Coding | Qwen3 32B Instruct32B | AWQ INT4 | 18.2 GB | 5.8 GB | 3.6% | The largest in its category that still leaves headroom. At AWQ INT4 it gives up 3.6% perplexity against FP16. Only at 4K context — a longer window does not fit. |
Sized at 4K context with a 10% activation buffer; 140 of 177 models in the index clear this budget comfortably. Loss is the quantizer’s published perplexity figure against FP16, or a dash where none was published.
Check your hardware
Choose your card for its supported formats, usable memory and model list.
Compare an upgrade
What does not fit
The nearest miss is K2 Horizon MoVA 36B-A4B. Its smallest build in this index, Q4_K_M, needs about 24.2 GB — 0.2 GB over 24GB, before any context beyond 4K. Offloading to system RAM will load it at a speed set by your RAM, which is a different machine rather than a smaller quant.
Pushing context
At 4K context 140 models clear this budget. At 16K it is 127, and at 32K it is 116. The weights do not change — the KV cache is what grows.
Check your exact context lengthCommon questions
How big a model can 24 GB of VRAM run?
At Q4_K_M and 4K context, comfortably up to about 30B-A3B: Qwen3-Coder 30B-A3B Instruct needs about 19.8 GB of 24 GB. "Comfortably" leaves headroom for the display and the runtime; larger models can still load tightly with nothing else running. A longer context grows the KV cache, so the ceiling drops as the window grows.
What is the best local LLM for 24 GB of VRAM in 2026?
MiniCPM-V 4.7 35B-A3B at Q4_K_S for general use — 20.9 GB of 24 GB, leaving 3.1 GB. Qwen3 32B Instruct if you want code. "Best" here means the largest model in its category that clears the card with headroom — this index measures memory and published perplexity, not task quality, so it cannot rank models on how well they answer.
How many models fit the reference RTX 4090?
140 of the 177 models in this index clear it comfortably at 4K context — comfortably meaning the estimate uses at most 88% of the memory, so there is margin for the display and the runtime. At 16K that falls to 127, and at 32K to 116: the KV cache is what moves, not the weights.
What will not run on 24 GB?
The nearest miss is K2 Horizon MoVA 36B-A4B: its smallest build here, Q4_K_M, needs about 24.2 GB — 0.2 GB over, before any context beyond 4K. Offloading part of it to system RAM will load it, at a speed set by your RAM rather than your card; that is a different machine, not a smaller quant.
Do all 24 GB cards run the same models?
Not necessarily. These estimates use the RTX 4090. Quantization format support and usable memory vary by hardware. Open your card's page for its fit list and bandwidth.