Advisor / Compare / RTX 4090 24GB vs RTX 5090 32GB

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).

23 vs 28models fit fully (of 35) at 16k
23 vs 31 GBusable memory
1008 vs 1792memory bandwidth, GB/s
x1.4RTX 5090 32GB typical speed advantage

Verdict from the numbers

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

ModelRTX 4090 24GB fittok/sRTX 5090 32GB fittok/sFaster / fits
Gemma 4 26B-A4B UD-Q5_K_Mfits fully135 scaled from measuredfits fully217 measuredRTX 5090 32GB
Gemma 4 31B Q4_K_Mfits fully44 measuredfits fully55 measuredRTX 5090 32GB
Gemma 4 12B Q8_0fits fully64 measuredfits fully104 measuredRTX 5090 32GB
Qwen3.6 27B Q5_K_Mfits fully42 scaled from measuredfits fully52 measuredRTX 5090 32GB
Qwen3.6 35B-A3B UD-Q4_K_Mfits fully190 measuredfits fully260 measuredRTX 5090 32GB
Qwen3.5 9B Q8_0fits fully95 measuredfits fully156 measuredRTX 5090 32GB
Qwen3.5 4B Q8_0fits fully158 measuredfits fully245 measuredRTX 5090 32GB
gpt-oss 20B Q8_0fits fully258 measuredfits fully375 measuredRTX 5090 32GB
gpt-oss 120B does not fit-does not fit--
Qwen3-Coder 30B-A3B Q4_K_Mfits fully266 measuredfits fully256 scaled from measuredRTX 4090 24GB
Mistral Small 3.2 24B Q6_Kfits fully46 scaled from measuredfits fully64 measuredRTX 5090 32GB
Qwen3-VL 8B Q8_0fits fully102 measuredfits fully167 measuredRTX 5090 32GB
GLM-4.5-Air does not fit-does not fit--
Qwen3.8 27B UD-Q5_K_Mfits fully44 scaled from measuredfits fully53 measuredRTX 5090 32GB
LFM2.5 24B-A2B Q6_Kfits fully265 scaled from measuredfits fully343 scaled from measuredRTX 5090 32GB
Nemotron 3.5 Super VL 120B-A12B does not fit-does not fit--
Gemma 4 E4B Q8_0fits fully96 scaled from measuredfits fully177 scaled from measuredRTX 5090 32GB
Qwen3.8 Flash Next does not fit-does not fit--
Nemotron 3 Nano 30B-A3B Q4_K_MMoE offload to CPU124 estimatedfits fully342 scaled from measuredRTX 5090 32GB (fits)
Nemotron 3 Nano 4B Q8_0fits fully167 scaled from measuredfits fully258 scaled from measuredRTX 5090 32GB
Nemotron 3.5 Lightning 30B-A3B UD-Q4_K_MMoE offload to CPU129 estimatedfits fully349 measuredRTX 5090 32GB (fits)
GLM-4.7-Flash Q5_K_Mfits fully257 scaled from measuredfits fully268 scaled from measuredRTX 5090 32GB
Ornith 1.5 9B Q8_0fits fully95 scaled from measuredfits fully145 scaled from measuredRTX 5090 32GB
Ornith 1.5 35B-A3B Q4_K_Mfits fully193 scaled from measuredfits fully216 scaled from measuredRTX 5090 32GB
DeepSeek R1 Distill Qwen 7B Q8_0fits fully97 scaled from measuredfits fully179 scaled from measuredRTX 5090 32GB
DeepSeek R1 Distill Qwen 32B Q4_K_Mpartial offload (slow)20 estimatedfits fully246 scaled from measuredRTX 5090 32GB (fits)
Laguna XS 2.1 Q4_K_Mfits fully191 scaled from measuredfits fully343 scaled from measuredRTX 5090 32GB
Llama 3.3 70B Q4_K_Mdoes not fit-partial offload (slow)3 estimated-
Flint 40B-A2.5B UD-Q4_K_XLMoE offload to CPU190 estimatedfits fully391 scaled from measuredRTX 5090 32GB (fits)
Nanbeige4.3 33B Q4_K_Mpartial offload (slow)20 estimatedfits fully64 scaled from measuredRTX 5090 32GB (fits)
LFM3 1.7B Q8_0fits fully325 scaled from measuredfits fully463 scaled from measuredRTX 5090 32GB
Ripple 65B Preview Q4_K_Mpartial offload (slow)3 estimatedpartial offload (slow)5 estimated-
Inkling 2 Mini Q5_K_Mfits fully119 estimatedfits fully151 scaled from measuredRTX 5090 32GB
Mellum2.1 12B-A2.5B Instruct Q8_0fits fully194 estimatedfits fully360 estimatedRTX 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.

ModelRTX 4090 24GB f16RTX 5090 32GB f16RTX 4090 24GB q8_0RTX 5090 32GB q8_0
Flint 40B-A2.5B-32k-64k
Qwen3.6 35B-A3B32k64k64k128k
Ornith 1.5 35B-A3B32k16k64k32k
Laguna XS 2.132k32k64k64k
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 31B32k32k64k64k
GLM-4.7-Flash16k64k32k128k
Qwen3-Coder 30B-A3B32k32k64k64k
Qwen3.6 27B32k32k64k32k
Qwen3.8 27B32k16k64k32k
Inkling 2 Mini32k64k64k128k
Gemma 4 26B-A4B64k128k128k256k
Mistral Small 3.2 24B16k32k32k64k
LFM2.5 24B-A2B128k128k128k128k
gpt-oss 20B128k128k128k128k
Mellum2.1 12B-A2.5B Instruct128k128k128k128k
Gemma 4 12B256k256k256k256k
Qwen3.5 9B256k512k512k1M
Ornith 1.5 9B256k256k256k256k
Qwen3-VL 8B64k128k128k256k
Gemma 4 E4B128k128k128k128k
DeepSeek R1 Distill Qwen 7B128k128k128k128k
Qwen3.5 4B512k512k1M1M
Nemotron 3 Nano 4B256k256k256k256k
LFM3 1.7B256k256k256k256k

Spec summary

RTX 4090 24GBRTX 5090 32GB
Usable memory for model + KV cache23.0 GB31.0 GB
Memory bandwidth1008 GB/s1792 GB/s
Models that fit fully at 16k23 of 3528 of 35
Models that need offload or do not fit127
Measured data points on file2653

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