NVIDIA RTX 4090 24GB Local LLM Guide: Best Quants, VRAM & tok/s

The RTX 4090 24GB (1,008 GB/s GDDR6X) remains the benchmark 24GB card for 14B Q8_0, 27B–32B IQ4_XS/Q4_K_M with quantized KV cache, and blazing-fast 8B FP16/FP8 serving.

Total Memory
24 GB
Usable Budget
22.6 GB
Bandwidth
1,008 GB/s
FP16 Compute
165.2 TFLOPS
TDP / Power
450 W
Approx. $/GB
$75.0/GB

Pre-Computed Local LLM Benchmark Matrix (RTX 4090 24GB)

Estimated total memory (weights + Q8_0 KV cache + runtime overhead) and single-user decode tok/s on NVIDIA RTX 4090 24GB (Ada Lovelace (GDDR6X)).

Model Quant Context Est. VRAM Fit Status Est. tok/s
Llama 3.1 8B Q6_K 8K 7.4 GB FITS 100% VRAM 121.1
Qwen 2.5 Coder 14B Q5_K_M 16K 12.2 GB FITS 100% VRAM 73.2
Gemma 3 27B Q4_K_M 8K 18.5 GB FITS 100% VRAM 47.0
Qwen 2.5 32B Q4_K_M 16K 21.7 GB FITS 100% VRAM 39.6
Llama 3.3 70B Q4_K_M 8K 42.7 GB PARTIAL (53% GPU) 2.2
Mistral Large 123B Q4_K_M 8K 73.2 GB OOM —
DeepSeek-R1 671B MoE Q4_K_M 16K 383.5 GB OOM —

Interactive RTX 4090 24GB VRAM & Quantization Calculator

Test custom context lengths, batch sizes, KV cache precision, and all 14 GGUF/EXL2/FP8 quantizations on RTX 4090 24GB.

Recommended Launch Command & Engineering Verdict

Still unbeatable on price/performance if you already own one. Use Q8_0 KV cache + FlashAttention to keep Qwen 2.5 32B Q4_K_M or IQ4_XS completely inside 22.5GB usable VRAM at 38–46 tok/s.

llama-server -m Qwen2.5-32B-Instruct-IQ4_XS.gguf \ -ngl 99 -c 16384 -fa --cache-type-k q8_0 --cache-type-v q8_0 \ --port 8080
JetBrains IDE Plugin

Switching Between Local Ollama, vLLM & Cloud API Keys? Try EnvGuard for JetBrains

Prevent accidental leaks of OPENAI_API_KEY, HF_TOKEN, and GPU cluster credentials inside PyCharm, IntelliJ IDEA, and WebStorm before git push.

Explore JetBrains Plugins & Kits ->

Compare Related Local LLM Hardware

Frequently Asked Questions

What is the largest model an RTX 4090 24GB can run at full GPU speed?

A 32B model at Q4_K_M (~18.6GB) or IQ4_XS (~16.3GB) fits 100% in VRAM with 8K-16K Q8_0 KV cache. Anything at 70B Q4 requires dual 24GB GPUs.

Is EXL2 faster than GGUF on RTX 4090?

Yes. ExLlamaV2 4.0bpw typically achieves 10-15% higher decode tok/s than GGUF Q4_K_M on RTX 4090 because its CUDA kernels are tuned specifically for pure-GPU execution.

Should I upgrade from RTX 4090 to RTX 5090 for local LLMs?

Upgrading yields +33% VRAM (24GB -> 32GB) and +78% memory bandwidth (1,008 -> 1,792 GB/s), unlocking 32B Q6_K and long 64K contexts without KV-cache pressure.