RTX 4090 24GB vs RTX 5090 32GB for local LLMs
Memory fit, speed and context compared with the same math as the advisor. RTX 5090 32GB has 8.0 GB more usable memory (23.0 vs 31.0 GB) and higher bandwidth than the other (1792 vs 1008 GB/s).
Verdict from the numbers
- Fit. RTX 4090 24GB fits 23 of 35 models fully at 16k context (largest: Qwen3.6 35B-A3B UD-Q4_K_M); RTX 5090 32GB fits 28 (largest: Flint 40B-A2.5B UD-Q5_K_XL). Only RTX 5090 32GB fits fully: Nemotron 3 Nano 30B-A3B, Nemotron 3.5 Lightning 30B-A3B, DeepSeek R1 Distill Qwen 32B, Flint 40B-A2.5B, Nanbeige4.3 33B.
- Speed. On the 23 models that fit fully on both, RTX 5090 32GB is faster by a typical 1.4x. RTX 4090 24GB is ahead on 1, RTX 5090 32GB on 22. 7 of those comparisons use measured speeds on both sides; the rest involve at least one estimate (see the badges).
- Trade-off. RTX 5090 32GB has 8.0 GB more usable memory (23.0 vs 31.0 GB) and higher bandwidth than the other (1792 vs 1008 GB/s).
Where to check prices
Price tier note
We do not list prices because they move daily and differ between new and used stock. What the data does show is what the memory difference buys: RTX 5090 32GB has 8.0 GB more usable memory, which moves 5 of 35 models into full-GPU fit (Nemotron 3 Nano 30B-A3B, Nemotron 3.5 Lightning 30B-A3B, DeepSeek R1 Distill Qwen 32B, Flint 40B-A2.5B, Nanbeige4.3 33B). Use the Amazon links above to compare current listings and decide whether the difference is worth it for the models you want to run.
Model by model · 16k context, f16 KV cache
| Model | RTX 4090 24GB fit | tok/s | RTX 5090 32GB fit | tok/s | Faster / fits |
|---|---|---|---|---|---|
| Gemma 4 26B-A4B UD-Q5_K_M | fits fully | 135 scaled from measured | fits fully | 217 measured | RTX 5090 32GB |
| Gemma 4 31B Q4_K_M | fits fully | 44 measured | fits fully | 55 measured | RTX 5090 32GB |
| Gemma 4 12B Q8_0 | fits fully | 64 measured | fits fully | 104 measured | RTX 5090 32GB |
| Qwen3.6 27B Q5_K_M | fits fully | 42 scaled from measured | fits fully | 52 measured | RTX 5090 32GB |
| Qwen3.6 35B-A3B UD-Q4_K_M | fits fully | 190 measured | fits fully | 260 measured | RTX 5090 32GB |
| Qwen3.5 9B Q8_0 | fits fully | 95 measured | fits fully | 156 measured | RTX 5090 32GB |
| Qwen3.5 4B Q8_0 | fits fully | 158 measured | fits fully | 245 measured | RTX 5090 32GB |
| gpt-oss 20B Q8_0 | fits fully | 258 measured | fits fully | 375 measured | RTX 5090 32GB |
| gpt-oss 120B | does not fit | - | does not fit | - | - |
| Qwen3-Coder 30B-A3B Q4_K_M | fits fully | 266 measured | fits fully | 256 scaled from measured | RTX 4090 24GB |
| Mistral Small 3.2 24B Q6_K | fits fully | 46 scaled from measured | fits fully | 64 measured | RTX 5090 32GB |
| Qwen3-VL 8B Q8_0 | fits fully | 102 measured | fits fully | 167 measured | RTX 5090 32GB |
| GLM-4.5-Air | does not fit | - | does not fit | - | - |
| Qwen3.8 27B UD-Q5_K_M | fits fully | 44 scaled from measured | fits fully | 53 measured | RTX 5090 32GB |
| LFM2.5 24B-A2B Q6_K | fits fully | 265 scaled from measured | fits fully | 343 scaled from measured | RTX 5090 32GB |
| Nemotron 3.5 Super VL 120B-A12B | does not fit | - | does not fit | - | - |
| Gemma 4 E4B Q8_0 | fits fully | 96 scaled from measured | fits fully | 177 scaled from measured | RTX 5090 32GB |
| Qwen3.8 Flash Next | does not fit | - | does not fit | - | - |
| Nemotron 3 Nano 30B-A3B Q4_K_M | MoE offload to CPU | 124 estimated | fits fully | 342 scaled from measured | RTX 5090 32GB (fits) |
| Nemotron 3 Nano 4B Q8_0 | fits fully | 167 scaled from measured | fits fully | 258 scaled from measured | RTX 5090 32GB |
| Nemotron 3.5 Lightning 30B-A3B UD-Q4_K_M | MoE offload to CPU | 129 estimated | fits fully | 349 measured | RTX 5090 32GB (fits) |
| GLM-4.7-Flash Q5_K_M | fits fully | 257 scaled from measured | fits fully | 268 scaled from measured | RTX 5090 32GB |
| Ornith 1.5 9B Q8_0 | fits fully | 95 scaled from measured | fits fully | 145 scaled from measured | RTX 5090 32GB |
| Ornith 1.5 35B-A3B Q4_K_M | fits fully | 193 scaled from measured | fits fully | 216 scaled from measured | RTX 5090 32GB |
| DeepSeek R1 Distill Qwen 7B Q8_0 | fits fully | 97 scaled from measured | fits fully | 179 scaled from measured | RTX 5090 32GB |
| DeepSeek R1 Distill Qwen 32B Q4_K_M | partial offload (slow) | 20 estimated | fits fully | 246 scaled from measured | RTX 5090 32GB (fits) |
| Laguna XS 2.1 Q4_K_M | fits fully | 191 scaled from measured | fits fully | 343 scaled from measured | RTX 5090 32GB |
| Llama 3.3 70B Q4_K_M | does not fit | - | partial offload (slow) | 3 estimated | - |
| Flint 40B-A2.5B UD-Q4_K_XL | MoE offload to CPU | 190 estimated | fits fully | 391 scaled from measured | RTX 5090 32GB (fits) |
| Nanbeige4.3 33B Q4_K_M | partial offload (slow) | 20 estimated | fits fully | 64 scaled from measured | RTX 5090 32GB (fits) |
| LFM3 1.7B Q8_0 | fits fully | 325 scaled from measured | fits fully | 463 scaled from measured | RTX 5090 32GB |
| Ripple 65B Preview Q4_K_M | partial offload (slow) | 3 estimated | partial offload (slow) | 5 estimated | - |
| Inkling 2 Mini Q5_K_M | fits fully | 119 estimated | fits fully | 151 scaled from measured | RTX 5090 32GB |
| Mellum2.1 12B-A2.5B Instruct Q8_0 | fits fully | 194 estimated | fits fully | 360 estimated | RTX 5090 32GB |
| Ling-3.2-air 124B-A5.5B | does not fit | - | does not fit | - | - |
Badges: measured medians of real llama.cpp runs; scaled from measured and estimated come from our bandwidth model. See sources and methods.
How much context fits?
Largest context where weights plus KV cache stay inside usable memory, per model that fits fully on at least one side. q8_0 KV roughly halves the cache.
| Model | RTX 4090 24GB f16 | RTX 5090 32GB f16 | RTX 4090 24GB q8_0 | RTX 5090 32GB q8_0 |
|---|---|---|---|---|
| Flint 40B-A2.5B | - | 32k | - | 64k |
| Qwen3.6 35B-A3B | 32k | 64k | 64k | 128k |
| Ornith 1.5 35B-A3B | 32k | 16k | 64k | 32k |
| Laguna XS 2.1 | 32k | 32k | 64k | 64k |
| Nanbeige4.3 33B | - | 16k | - | 32k |
| DeepSeek R1 Distill Qwen 32B | - | 16k | - | 32k |
| Nemotron 3 Nano 30B-A3B | - | 256k | - | 256k |
| Nemotron 3.5 Lightning 30B-A3B | - | 64k | - | 128k |
| Gemma 4 31B | 32k | 32k | 64k | 64k |
| GLM-4.7-Flash | 16k | 64k | 32k | 128k |
| Qwen3-Coder 30B-A3B | 32k | 32k | 64k | 64k |
| Qwen3.6 27B | 32k | 32k | 64k | 32k |
| Qwen3.8 27B | 32k | 16k | 64k | 32k |
| Inkling 2 Mini | 32k | 64k | 64k | 128k |
| Gemma 4 26B-A4B | 64k | 128k | 128k | 256k |
| Mistral Small 3.2 24B | 16k | 32k | 32k | 64k |
| LFM2.5 24B-A2B | 128k | 128k | 128k | 128k |
| gpt-oss 20B | 128k | 128k | 128k | 128k |
| Mellum2.1 12B-A2.5B Instruct | 128k | 128k | 128k | 128k |
| Gemma 4 12B | 256k | 256k | 256k | 256k |
| Qwen3.5 9B | 256k | 512k | 512k | 1M |
| Ornith 1.5 9B | 256k | 256k | 256k | 256k |
| Qwen3-VL 8B | 64k | 128k | 128k | 256k |
| Gemma 4 E4B | 128k | 128k | 128k | 128k |
| DeepSeek R1 Distill Qwen 7B | 128k | 128k | 128k | 128k |
| Qwen3.5 4B | 512k | 512k | 1M | 1M |
| Nemotron 3 Nano 4B | 256k | 256k | 256k | 256k |
| LFM3 1.7B | 256k | 256k | 256k | 256k |
Spec summary
| RTX 4090 24GB | RTX 5090 32GB | |
|---|---|---|
| Usable memory for model + KV cache | 23.0 GB | 31.0 GB |
| Memory bandwidth | 1008 GB/s | 1792 GB/s |
| Models that fit fully at 16k | 23 of 35 | 28 of 35 |
| Models that need offload or do not fit | 12 | 7 |
| Measured data points on file | 26 | 53 |
FAQ
Which is faster for local LLMs, RTX 4090 24GB or RTX 5090 32GB?
On the 23 models that fit fully on both, RTX 5090 32GB is typically 1.4x faster (geometric mean). RTX 4090 24GB wins 1 and RTX 5090 32GB wins 22. 7 comparisons are measured on both.
Which fits more models, RTX 4090 24GB or RTX 5090 32GB?
RTX 4090 24GB fits 23 of 35 models fully at 16k context and RTX 5090 32GB fits 28. Only RTX 5090 32GB: Nemotron 3 Nano 30B-A3B, Nemotron 3.5 Lightning 30B-A3B, DeepSeek R1 Distill Qwen 32B, Flint 40B-A2.5B, Nanbeige4.3 33B.
Can I run long context on RTX 4090 24GB or RTX 5090 32GB?
At f16 KV cache, the largest-model context limits are in the table above (for example Qwen3.6 35B-A3B on RTX 4090 24GB: 32k; Flint 40B-A2.5B on RTX 5090 32GB: 32k). A q8_0 KV cache extends it further.
Do you state prices for RTX 4090 24GB or RTX 5090 32GB?
No. Prices change daily, so we link to Amazon search results instead and focus on measured and estimated speed and memory fit.
Related
RTX 4090 24GB Amazon · RTX 5090 32GB Amazon · Measured model pages: Inkling 2 Mini · gpt-oss 20B · Qwen3.6 35B-A3B · Qwen3-Coder 30B-A3B · Gemma 4 31B · Qwen3.6 27B
More comparisons: RTX 3090 24GB vs RTX 4090 24GB · RTX 4090 24GB vs AMD RX 7900 XTX 24GB · RTX 5080 16GB vs RTX 4090 24GB · MacBook Pro 14/16 (2024) M4 Max 128GB vs RTX 4090 24GB · RTX 3090 24GB vs RTX 5090 32GB · 2x RTX 3090 (48GB total) vs RTX 5090 32GB · all comparisons
By memory: 8 GB · 12 GB · 16 GB · 24 GB · 32 GB · 48 GB · 64 GB · 96 GB · 128 GB · 192 GB · 256 GB · 512 GB