VRAM TIER DIRECTORY โ€ข 24 GB ENVELOPE6 of 12 Models Fit

Best Local LLMs for 24GB VRAM

Typical Hardware:NVIDIA GeForce RTX 4090 24GBRTX 3090 24GBMacBook Pro M3 Max 24GB

The enthusiast standard for local AI. 24GB runs Qwen 3.8 27B Instruct at Q4_K_M, DeepSeek-R1 Distill 32B at Q5_K_M, and fast 35B MoE models with 32Kโ€“64K context.

โšก Fits in VRAM (Tight Headroom โ€” Use Q8/Q4 KV Cache)21.93 GB (91%)~40 t/s

Model & Target Hardware

interactive
Agentic Coding, Terminal Workflows & Multi-File Refactoring
Qwen 3.8 27B Instruct on NVIDIA GeForce RTX 4090 (24GB GDDR6X)

โšก Tight Fit โ€” Runs 100% on GPU (Low Headroom)

โšก TIGHT FIT
Required VRAM
21.93 GB
91% of hardware capacity (24 GB)
Est. Decode Speed
~40 tok/s
Dense model @ 1008 GB/s
Available Headroom
+2.07 GB
Safe for OS display & full context
Memory Allocation & Headroom
21.93 GB allocated of 24 GB capacity
91% utilized
Weights: 16.32 GB
KV: (32K): 4.29 GB
Overhead: 1.32 GB
Free Headroom: +2.07 GB
โšก Architecture & Throughput Transparency: Single-user decode speed (~40 tok/s) is memory-bandwidth bound at batch size = 1 on NVIDIA GeForce RTX 4090 (24GB GDDR6X) (1008 GB/s). Prompt prefill / TTFT (~580 tok/s) is compute-bound and utilizes GPU Tensor cores. Actual latency varies with FlashAttention-2 and runtime engine (Ollama/vLLM/llama.cpp).
OLLAMA_FLASH_ATTENTION=1 OLLAMA_KV_CACHE_TYPE=q8_0 ollama run qwen3.8:27b

Quantization Precision Matrix

32K ctx โ€ข KV: Q8_0
QuantizationWeightsKV CacheTotal VRAMEst. SpeedFit Status
FP1616 bpw54.4 GB4.29 GB61.34 GB (256%)0 t/sOOM
Q8_08.5 bpw28.83 GB4.29 GB34.88 GB (145%)0 t/sOOM
Q6_K6.56 bpw22.3 GB4.29 GB28.12 GB (117%)~6 t/sPARTIAL
Q5_K_M5.68 bpw19.31 GB4.29 GB25.03 GB (104%)~7 t/sPARTIAL
Q4_K_M4.8 bpw16.32 GB4.29 GB21.93 GB (91%)~40 t/sFITS
FP44.25 bpw14.42 GB4.29 GB19.96 GB (83%)~44 t/sFITS
IQ3_XS3.3 bpw11.15 GB4.29 GB16.58 GB (69%)~56 t/sFITS

Local Hardware Configurations & Pricing

High-bandwidth VRAM specs and current market prices
Consumer GPU24 GB VRAM

NVIDIA GeForce RTX 4090 (24GB GDDR6X)

The 24GB CUDA enthusiast standard for 14Bโ€“32B Q4_K_M models

1008 GB/s450W TDP
Consumer GPU32 GB VRAM

NVIDIA GeForce RTX 5090 (32GB GDDR7)

Maximum tokens/sec on 27Bโ€“35B models & Blackwell FP4 quantization

1792 GB/s575W TDP
Multi-GPU Rig48 GB VRAM

2x NVIDIA RTX 3090 Dual Rig (48GB Total VRAM)

Best price-to-VRAM homelab rig for 70B Q4_K_M & Qwen 3.8 27B Q8

936 GB/s700W TDP
Consumer GPU16 GB VRAM

NVIDIA GeForce RTX 5080 (16GB GDDR7)

Blazing fast 8Bโ€“14B coding models with FP4/Q6_K precision

960 GB/s360W TDP

Export Full Architecture & Infrastructure Spec

Get an executive-ready PDF report with exact memory math, hardware benchmarks, and cost comparisons.

All Open Models Evaluated on 24GB VRAM

Standard Q4_K_M quantization with 32K context window and Q8_0 KV cache

Hardware: NVIDIA GeForce RTX 4090 (24GB GDDR6X)
ModelArchitectureVRAM RequiredHeadroomEst. Decode SpeedCompatibilityOllama Command
Microsoft Phi-4 Mini 3.8B
Ultra-Light Laptop & CPU/Integrated GPU Inference
3.8B Dense3.92 GB+20.1 GB free~276 t/sFITSollama run phi4-mini:3.8b
Google Gemma 4 E4B (Edge 4B)
8GB Laptop GPUs, Local Autocomplete & Fast Summarization
4.1B Dense4.24 GB+19.8 GB free~254 t/sFITSollama run gemma4:4b
Google Gemma 4 26B MoE
High-Speed Consumer GPU & Apple Silicon Daily Assistant
26.4B MoE20.23 GB+3.8 GB free~208 t/sFITSollama run gemma4:26b
Meta Llama 3.1 8B Instruct
Fast 8GBโ€“12GB GPU Chat, Classification & Local Agents
8B Dense7.87 GB+16.1 GB free~128 t/sFITSollama run llama3.1:8b
DeepSeek-R1 Distill Qwen 14B
Mainstream 12GBโ€“16GB Gaming GPUs Reasoning Assistant
14.8B Dense13.16 GB+10.8 GB free~71 t/sFITSollama run deepseek-r1:14b
Qwen 3.6 35B-A3B MoE
Ultra-Fast 100+ tok/s Coding & Local RAG on 24GB GPUs
35B MoE24.1 GB-0.1 GB short~68 t/sPARTIALDeploy on Cloud GPU โ†’
Qwen 3.8 27B Instruct
Agentic Coding, Terminal Workflows & Multi-File Refactoring
27.2B Dense21.93 GB+2.1 GB free~40 t/sFITSollama run qwen3.8:27b
DeepSeek-R1 Distill Qwen 32B
Local Step-by-Step Math, Logic & Code Verification
32.8B Dense25.41 GB-1.4 GB short~7 t/sPARTIALDeploy on Cloud GPU โ†’
DeepSeek-V4.1-Flash (552B Engram MoE)
Frontier SWE Coding (77.0 DeepSWE), 1M Context & 3D/Game Synthesis
552B MoE345.59 GB-321.6 GB short0 (OOM)OOMDeploy on Cloud GPU โ†’
Meta Muse Spark Open (816B-A42B MoE)
Frontier Multi-Step Agentic Reasoning & Native Multimodal
816B MoE512.86 GB-488.9 GB short0 (OOM)OOMDeploy on Cloud GPU โ†’
Meta Llama 4 Scout (109B-A17B MoE)
Long-Context Codebase Indexing & Multi-Document Analysis
109B MoE71.66 GB-47.7 GB short0 (OOM)OOMDeploy on Cloud GPU โ†’
Meta Llama 3.3 70B Instruct
Standard 70B Dense Enterprise Baseline for 48GBโ€“64GB Rigs
70.6B Dense49.96 GB-26 GB short0 (OOM)OOMDeploy 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:

24GBโ€“32GB Cloud VRAM

Rent RTX 4090 / RTX 5090

Boot an on-demand RTX 4090 (24GB) from $0.59/hr or RTX 5090 (32GB) from $0.89/hr on RunPod.

Deploy on RunPod ($0.59/hr) โ†’
48GBโ€“80GB High VRAM

Rent Dual 3090 or H100

Dual 3090 (48GB) from $0.78/hr on Vast.ai, or H100 (80GB HBM3) from $2.39/hr for 70B+ models.

Rent on Vast.ai ($0.78/hr) โ†’