Best Models & Local LLMs for 24GB VRAM
The enthusiast standard for local AI. 24GB runs Qwen 3.8 27B, Gemma 4 26B MoE, Qwen 3 30B-A3B and Devstral 24B at Q4_K_M with 32K context, plus Qwen 3 32B and Qwen 2.5 Coder 32B at 16K context.
Best Models for 24GB VRAM โ Top Picks by Use Case
Ranked for NVIDIA GeForce RTX 4090 (24GB GDDR6X) at Q4_K_M with Q8_0 KV cache. Every pick runs 100% in VRAM โ no CPU offload.
- #1Best Overall
Qwen 3.8 27B Instruct
Agentic coding, terminal workflows & multi-file refactoring on 24GBโ48GB GPUs and Apple Silicon
- VRAM
- 21.93 GB
- Speed
- ~40 t/s
- Context
- 32K
- #2Fastest (MoE)
Google Gemma 4 26B MoE
High-speed 4.2B-active MoE assistant for 16GBโ24GB consumer GPUs & Apple Silicon
- VRAM
- 20.23 GB
- Speed
- ~208 t/s
- Context
- 32K
- #3Best for Coding
Mistral Devstral Small 24B (SWE Agent)
#1 open-weights SWE-bench software engineering agent fitting on a single 24GB GPU
- VRAM
- 18.33 GB
- Speed
- ~45 t/s
- Context
- 32K
- #4Runner-Up
Qwen 3 30B-A3B MoE
Blazing 100+ tok/s sparse MoE (3.3B active) for 24GB GPUs and Apple Mac Mini M4
- VRAM
- 21.3 GB
- Speed
- ~288 t/s
- Context
- 32K
All Open Models Evaluated on 24GB VRAM
Standard Q4_K_M quantization with 32K context window and Q8_0 KV cache
| Model | Architecture | VRAM Required | Headroom | Est. Decode Speed | Compatibility | Ollama Command |
|---|---|---|---|---|---|---|
| Qwen 3.8 27B Instruct Agentic coding, terminal workflows & multi-file refactoring on 24GBโ48GB GPUs and Apple Silicon | 27.2B Dense | 21.93 GB | +2.1 GB free | ~40 t/s | FITS | ollama run qwen3.8:27b |
| Google Gemma 4 26B MoE High-speed 4.2B-active MoE assistant for 16GBโ24GB consumer GPUs & Apple Silicon | 26.4B MoE | 20.23 GB | +3.8 GB free | ~208 t/s | FITS | ollama run gemma4:26b |
| Mistral Devstral Small 24B (SWE Agent) #1 open-weights SWE-bench software engineering agent fitting on a single 24GB GPU | 24B Dense | 18.33 GB | +5.7 GB free | ~45 t/s | FITS | ollama run devstral:24b |
| Qwen 3 30B-A3B MoE Blazing 100+ tok/s sparse MoE (3.3B active) for 24GB GPUs and Apple Mac Mini M4 | 30.5B MoE | 21.3 GB | +2.7 GB free | ~288 t/s | FITS | ollama run qwen3:30b-a3b |
| Mistral Small 3.1 24B Instruct Fast 24B multimodal & document understanding model for 24GB GPUs | 24B Dense | 18.33 GB | +5.7 GB free | ~45 t/s | FITS | ollama run mistral-small3.1:24b |
| Google Gemma 2 27B Instruct Dense 27B model for 24GB GPUs with top MMLU benchmark performance | 27.2B Dense | 19.18 GB | +4.8 GB free | ~41 t/s | FITS | ollama run gemma2:27b |
| Mistral Small 3 24B Instruct High-throughput Apache 2.0 dense model matching 70B performance, ideal for single 24GB GPUs (RTX 4090/3090/5090) at FP8/Q8 | 24B Dense | 18.33 GB | +5.7 GB free | ~45 t/s | FITS | ollama run mistral-small:24b |
| Mistral Codestral 22B (25.01) 256K-context fill-in-the-middle (FIM) IDE autocomplete & code generation for 16GBโ24GB GPUs | 22.2B Dense | 18.3 GB | +5.7 GB free | ~48 t/s | FITS | ollama run codestral:22b |
| Google Gemma 3 12B Instruct Sweet-spot 12B multimodal model fitting 12GBโ16GB GPUs (RTX 3060 / 5070) | 12.2B Dense | 14.77 GB | +9.2 GB free | ~82 t/s | FITS | ollama run gemma3:12b |
| OpenAI gpt-oss-20b (21B-A3.6B MoE) OpenAI compact open-weights chain-of-thought MoE (3.6B active) running at 120+ tok/s on 16GBโ24GB consumer GPUs | 21B MoE | 14.6 GB | +9.4 GB free | ~290 t/s | FITS | ollama run gpt-oss:20b |
| Microsoft Phi-4 14B High-accuracy mathematical and scientific reasoning on 16GB GPUs | 14.7B Dense | 13.24 GB | +10.8 GB free | ~71 t/s | FITS | ollama run phi4:14b |
| DeepSeek-R1 Distill Qwen 14B Fast reasoning assistant for 12GBโ16GB consumer GPUs (RTX 4070 / 4080) | 14.8B Dense | 13.16 GB | +10.8 GB free | ~71 t/s | FITS | ollama run deepseek-r1:14b |
| Qwen 3 14B Instruct High-throughput 14B daily driver for 12GBโ16GB GPUs (RTX 4070 Ti Super / RTX 5080) | 14.8B Dense | 12.62 GB | +11.4 GB free | ~72 t/s | FITS | ollama run qwen3:14b |
| Moonshot Kimi-VL-A3B Thinking (16B-A3B MoE) Ultra-fast 2.8B-active multimodal vision-language reasoning model for 12GBโ16GB GPUs and Apple Silicon | 16.3B MoE | 11.38 GB | +12.6 GB free | ~379 t/s | FITS | ollama run kimi-vl:16b |
| Qwen 3 8B Instruct Fastest 8B hybrid reasoning model for 8GBโ12GB consumer GPUs and laptops | 8.2B Dense | 8.26 GB | +15.7 GB free | ~124 t/s | FITS | ollama run qwen3:8b |
| Meta Llama 3.1 8B Instruct High-throughput 8GBโ12GB GPU local classification, autocomplete & lightweight agents | 8B Dense | 7.87 GB | +16.1 GB free | ~128 t/s | FITS | ollama run llama3.1:8b |
| Google Gemma 2 9B Instruct High-efficiency 9B model outperforming older 13B architectures on 12GBโ16GB GPUs | 9.2B Dense | 7.87 GB | +16.1 GB free | ~117 t/s | FITS | ollama run gemma2:9b |
| DeepSeek-R1 Distill Qwen 7B Lightweight reasoning assistant fitting on entry-level 8GBโ12GB GPUs (RTX 3060/4060) and laptops | 7.6B Dense | 6.41 GB | +17.6 GB free | ~143 t/s | FITS | ollama run deepseek-r1:7b |
| Qwen 2.5 Coder 7B Instruct High-efficiency code assistant fitting 8GBโ16GB consumer GPUs and developer laptops | 7.6B Dense | 6.41 GB | +17.6 GB free | ~143 t/s | FITS | ollama run qwen2.5-coder:7b |
| Google Gemma 3 4B Instruct Compact 4B multimodal vision assistant for 8GB GPUs and Apple Silicon laptops | 4.3B Dense | 5.7 GB | +18.3 GB free | ~218 t/s | FITS | ollama run gemma3:4b |
| Meta Llama 3.2 3B Instruct Ultra-low latency 3B edge model for 8GB laptops, MacBooks & local CLI assistants | 3.2B Dense | 4.62 GB | +19.4 GB free | ~287 t/s | FITS | ollama run llama3.2:3b |
| Google Gemma 4 E4B (Edge 4B) 8GBโ12GB laptop GPUs, local autocomplete & low-latency summarization | 4.1B Dense | 4.24 GB | +19.8 GB free | ~254 t/s | FITS | ollama run gemma4:4b |
| Microsoft Phi-4 Mini 3.8B Ultra-light laptop & integrated GPU inference | 3.8B Dense | 3.92 GB | +20.1 GB free | ~276 t/s | FITS | ollama run phi4-mini:3.8b |
| Qwen 3.6 35B-A3B MoE Ultra-fast 100+ tok/s coding & local RAG on 24GBโ32GB GPUs | 35B MoE | 24.1 GB | -0.1 GB short | ~68 t/s | PARTIAL | Deploy on Cloud GPU โ |
| THUDM GLM-4 32B-0414 High-speed 32B coding, artifact generation & function-calling model for 24GB GPUs | 32B Dense | 24.71 GB | -0.7 GB short | ~7 t/s | PARTIAL | Deploy on Cloud GPU โ |
| Qwen 2.5 Coder 32B Instruct The premier open-source coding model for single 24GB GPUs (RTX 4090/3090) | 32.5B Dense | 25.22 GB | -1.2 GB short | ~7 t/s | PARTIAL | Deploy on Cloud GPU โ |
| Qwen QwQ-32B Reasoning Reinforcement-learned 32B reasoning powerhouse rivaling 671B models on a single 24GB GPU | 32.5B Dense | 25.22 GB | -1.2 GB short | ~7 t/s | PARTIAL | Deploy on Cloud GPU โ |
| DeepSeek-R1 Distill Qwen 32B Step-by-step reasoning & math fitting on single 24GB GPUs (RTX 3090/4090) | 32.8B Dense | 25.41 GB | -1.4 GB short | ~7 t/s | PARTIAL | Deploy on Cloud GPU โ |
| Qwen 3 32B Instruct (Hybrid Thinking) Flagship 32B hybrid thinking & coding model fitting on a single 24GB GPU (RTX 4090 / 3090) at Q4_K_M | 32.8B Dense | 25.41 GB | -1.4 GB short | ~7 t/s | PARTIAL | Deploy on Cloud GPU โ |
| Google Gemma 3 27B Instruct 128K multimodal 27B vision & text model optimized for single 24GB GPUs | 27.4B Dense | 26.09 GB | -2.1 GB short | ~9 t/s | PARTIAL | Deploy on Cloud GPU โ |
| Google Gemma 4 31B Instruct High-accuracy 31B dense reasoning & coding model for 24GBโ48GB GPUs and Apple Silicon | 31B Dense | 36.11 GB | -12.1 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| NVIDIA Llama 3.3 Nemotron Super 49B NAS-optimized 49B reasoning model engineered to fit on single RTX 5090 32GB (FP4) or 48GB rigs | 49.8B Dense | 37.05 GB | -13 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Meta Llama 3.3 70B Instruct Enterprise standard dense model for dual-GPU (48GB) and 64GB+ unified memory | 70.6B Dense | 49.96 GB | -26 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| DeepSeek-R1 Distill Llama 70B State-of-the-Art Open Reasoning distilled into Llama 70B, fits Dual RTX 3090/4090 (48GB) and 64GB Mac Mini/Studio | 70.6B Dense | 49.96 GB | -26 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Qwen 2.5 72B Instruct Top general benchmark open weights model for dual RTX 3090 (48GB) setups | 72.7B Dense | 51.27 GB | -27.3 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Moonshot Kimi-Dev 72B (SWE Coding) Top SWE-bench Verified open-weights coding & bug-fixing model for 48GB dual-GPU rigs and 64GB+ unified memory | 72.7B Dense | 51.27 GB | -27.3 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Zhipu GLM-4.5-Air (106B-A12B MoE) High-efficiency 106B agentic MoE (12B active) fitting on 64GBโ128GB unified memory and dual RTX 5090 (64GB) rigs | 106B MoE | 69.67 GB | -45.7 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Meta Llama 4 Scout (109B-A17B MoE) Long-context codebase indexing & multi-document analysis on 64GBโ128GB unified memory | 109B MoE | 71.66 GB | -47.7 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Cohere Command A (111B Enterprise RAG) 256K enterprise RAG, verifiable citations & multi-step tool use on dual A100/H100 or 96GBโ128GB workstations | 111B Dense | 73.97 GB | -50 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| OpenAI gpt-oss-120b (117B-A5.1B MoE) OpenAI flagship open-weights reasoning & tool-use MoE (5.1B active) engineered to fit in 80GB H100 or 96GBโ128GB unified memory at MXFP4 | 117B MoE | 74.62 GB | -50.6 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Mistral Large 2 (123B Instruct) High-precision enterprise multilingual reasoning and function calling | 123B Dense | 83.04 GB | -59 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| DeepSeek Coder V2 236B MoE 338-language coding & repo-level context for 64GBโ128GB unified memory | 236B MoE | 148.44 GB | -124.4 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Qwen 3.8 235B-A22B MoE Frontier 235B sparse MoE reasoning & repository synthesis for 128GBโ256GB unified memory and multi-GPU clusters | 235B MoE | 149.84 GB | -125.8 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Zhipu GLM-4.5 (355B-A32B Agentic MoE) Unified reasoning, full-stack coding & agentic MoE powerhouse for 256GBโ512GB Mac Studio and multi-GPU servers | 355B MoE | 227.38 GB | -203.4 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Meta Llama 4 Maverick (400B-A17B MoE) 128-expert multimodal MoE flagship for 256GBโ512GB Mac Studio and multi-GPU servers | 400B MoE | 252.37 GB | -228.4 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Meta Llama 3.1 405B Instruct Flagship 405B open model for 8x H100 clusters or 512GB Mac Studio workstations | 405B Dense | 260.72 GB | -236.7 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| MiniMax-M1 (456B-A45.9B 1M Context MoE) Hybrid Lightning Attention 1M-token context reasoning model for massive repository & document synthesis | 456B MoE | 289.3 GB | -265.3 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Qwen 3 Coder 480B-A35B MoE Frontier 480B (35B active) agentic coding & repository architecture MoE for 256GBโ512GB unified memory and multi-GPU servers | 480B MoE | 302.99 GB | -279 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| DeepSeek-V4.1-Flash (552B Engram MoE) Frontier SWE coding, 1M context window & MLA KV compression on high-VRAM clusters | 552B MoE | 344.69 GB | -320.7 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| DeepSeek-R1 (671B MoE) State-of-the-Art Open Reasoning, Math & Code Verification on Multi-GPU or 512GB Mac | 671B MoE | 418.59 GB | -394.6 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| DeepSeek-V3 (671B MoE) Ultra-fast MoE generation matching closed frontier models at fraction of hardware cost | 671B MoE | 418.59 GB | -394.6 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Meta Muse Spark Open (816B-A42B MoE) Frontier multi-step agentic reasoning & native multimodal synthesis | 816B MoE | 512.86 GB | -488.9 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
| Moonshot Kimi K2 Instruct (1T-A32B MoE) 1-trillion parameter (32B active) MuonClip MoE flagship for autonomous coding & multi-tool agents on 512GB Mac Studio or multi-GPU clusters | 1000B MoE | 622.9 GB | -598.9 GB short | 0 (OOM) | OOM | Deploy on Cloud GPU โ |
Need to Run Models Larger than 24GB?
If your preferred model exceeds your local 24GB GPU, you can rent high-memory on-demand cloud GPUs with zero upfront hardware costs:
NVIDIA GeForce RTX 4090 (24GB GDDR6X)
AMD Radeon RX 7900 XTX (24GB GDDR6)
NVIDIA GeForce RTX 3090 (24GB GDDR6X)
Related 24GB Engineering Guides & Formula Provenance
All memory footprints and decode tok/s estimates on this page are deterministically modeled from open-weights tensor metadata and memory-bus bandwidth. Review the sizing methodology and KV cache formula breakdown.