VRAM Tier Guides • 24GB 3090 / 4090

Best Local LLMs for 24GB VRAM (RTX 3090 & RTX 4090)

24GB GDDR6X (~23.2 GiB usable, 936–1,008 GB/s) is the workhorse tier of local AI—running flagship 24B–32B dense models at 38–57 tok/s when paired with FP8 KV cache.

Verdict: Sweet Spot: 27B–32B Q4_K_M + FP8 KV

Qwen3-32B & DeepSeek-R1 32B Q4_K_M hit 22.36 GiB with FP8 KV at 38–41 tok/s; Devstral 24B Q6_K hits 22.09 GiB.

Sweet Spot: 27B–32B Q4_K_M + FP8 KV
Pre-Loaded Interactive Calculator Full LLM VRAM Fit →
Billion (B)
Total parameter count (e.g., 8B, 32B, 70B).
tokens
streams
layers
heads
dim
%
Live Calculated Output
Primary Result
—
Pre-loaded from verified 2026 specs. Adjust any input live.

Recommended 2026 Models & Hardware Fit — 24GB 3090 / 4090

Verified binary GiB footprints and real-world local inference tradeoffs.

Model / HardwareQuant / CostMemory / SpecsFit / RoleExpected Performance
Qwen3-32BQ4_K_M (FP8 KV)22.36 GiBTight Fit (Safe w/ FP8 KV)37.9 tok/s (3090) / 40.8 (4090)
DeepSeek-R1 32BQ4_K_M (FP8 KV)22.36 GiBTight Fit (Safe w/ FP8 KV)37.9 tok/s (3090) / 40.8 (4090)
Gemma 3 27BQ4_K_M (FP8 KV)19.99 GiBFits Comfortably45.4 tok/s (3090) / 48.9 (4090)
Mistral Devstral 24BQ6_K (6.56)22.09 GiBTight Fit (Q4_K_M 16.82 GiB)39.0 tok/s (3090) / 41.9 (4090)

Engineering Tuning Notes & Formula Reference

weights_gib = (params_b * 1e9 * quant_bpw / 8) / 1073741824 kv_gib = (2 * layers * kv_heads * head_dim * context_len * batch_size * kv_bytes) / 1073741824 overhead_gib = (weights_gib + kv_gib) * (overhead_pct / 100) + 0.5 total_vram_gib = weights_gib + kv_gib + overhead_gib

Powered by LLM Inference VRAM & Hardware Fit Calculator with zero server roundtrips.

Frequently Asked Questions

Is a used RTX 3090 24GB nearly as fast as an RTX 4090 for local LLM inference?
For token generation decode speed, yes—936 GB/s vs 1,008 GB/s puts the 3090 within ~7% of the 4090! The 4090 pulls ahead primarily on prompt prefill (compute) and lower power draw.
Why does 32B Q4_K_M sometimes OOM on a 24GB GPU?
At 8K FP16 KV cache, 32.8B Q4_K_M uses ~23.48 GiB including CUDA overhead—just over ~23.2 GiB usable. Switching KV cache to FP8 (`q8_0`) drops it to 22.36 GiB.
Can a single 24GB card run Llama 3.3 70B?
Not natively at Q4 (47.95 GiB). You need either 2x 24GB GPUs (48GB) or heavy IQ2 quantization with steep quality loss.

Related Hardware & Model Guides

Parent & Related Engineering Calculators

ComputeSizer runs 100% locally in your browser with open formulas and zero account gates. If these VRAM and GPU cost tools saved your team money, support us via Fourthwall or sponsor an ad-free developer placement.