RunLLMLocal

Compare · GPUs

RTX 4090 vs RTX 5090 for local LLMs

It runs 34 of 39 models fully in memory, against 28 for the RTX 4090, thanks to 32 GB of VRAM versus 24 GB. It is also about 64% faster on the models both can run.

VerdictThe RTX 5090 is the better card for local AI

It runs 34 of 39 models fully in memory, against 28 for the RTX 4090, thanks to 32 GB of VRAM versus 24 GB. It is also about 64% faster on the models both can run.

RTX 4090NVIDIA
VRAM24 GB
Memory bandwidth1008 GB/s
Models that fit fully28 / 39
Run with offload8
Largest that fitsQwen3 30B-A3B (MoE)
RTX 5090NVIDIA
VRAM32 GB
Memory bandwidth1792 GB/s
Models that fit fully34 / 39
Run with offload2
Largest that fitsQwen3.6 35B-A3B (MoE)

Every model at 8K context with the best quantization that fits. Offload assumes 32 GB of system RAM. Green marks the better result. Rows where the two differ come first.

ModelRTX 4090RTX 5090
Gemma 3 27BOffload~5.9 tok/sQ4_K_MRuns~60 tok/sQ5_K_M
Gemma 4 31BOffload~4.9 tok/sQ4_K_MRuns~53 tok/sQ5_K_M
Qwen3 32BOffload~4.8 tok/sQ4_K_MRuns~50 tok/sQ5_K_M
DeepSeek-R1 Distill 32BOffload~4.8 tok/sQ4_K_MRuns~50 tok/sQ5_K_M
Qwen2.5-Coder 32BOffload~4.8 tok/sQ4_K_MRuns~50 tok/sQ5_K_M
Qwen3.6 35B-A3B (MoE)Offload~20 tok/sQ4_K_MRuns~200 tok/sQ5_K_M
Qwen3 0.6BRuns~1030 tok/sQ8_0Runs~1830 tok/sQ8_0
Gemma 3 1BRuns~620 tok/sQ8_0Runs~1100 tok/sQ8_0
Llama 3.2 1BRuns~520 tok/sQ8_0Runs~920 tok/sQ8_0
Llama 3.2 3BRuns~190 tok/sQ8_0Runs~340 tok/sQ8_0
Phi-4 Mini 3.8BRuns~160 tok/sQ8_0Runs~290 tok/sQ8_0
Qwen3 4BRuns~150 tok/sQ8_0Runs~270 tok/sQ8_0
Gemma 3 4BRuns~140 tok/sQ8_0Runs~260 tok/sQ8_0
Qwen3.5 4BRuns~130 tok/sQ8_0Runs~230 tok/sQ8_0
Mistral 7B v0.3Runs~86 tok/sQ8_0Runs~150 tok/sQ8_0
Qwen2.5-Coder 7BRuns~81 tok/sQ8_0Runs~140 tok/sQ8_0
Llama 3.1 8BRuns~77 tok/sQ8_0Runs~140 tok/sQ8_0
DeepSeek-R1 Distill 8BRuns~77 tok/sQ8_0Runs~140 tok/sQ8_0
Qwen3 8BRuns~75 tok/sQ8_0Runs~130 tok/sQ8_0
Qwen3.5 9BRuns~66 tok/sQ8_0Runs~120 tok/sQ8_0
Gemma 4 12BRuns~52 tok/sQ8_0Runs~92 tok/sQ8_0
Gemma 3 12BRuns~51 tok/sQ8_0Runs~90 tok/sQ8_0
Mistral Nemo 12BRuns~51 tok/sQ8_0Runs~90 tok/sQ8_0
Phi-4 14BRuns~42 tok/sQ8_0Runs~75 tok/sQ8_0
Qwen3 14BRuns~42 tok/sQ8_0Runs~74 tok/sQ8_0
DeepSeek-R1 Distill 14BRuns~42 tok/sQ8_0Runs~74 tok/sQ8_0
gpt-oss 20BRuns~97 tok/sQ6_KRuns~130 tok/sQ8_0
Codestral 22BRuns~42 tok/sQ5_K_MRuns~50 tok/sQ8_0
Mistral Small 3 24BRuns~39 tok/sQ5_K_MRuns~59 tok/sQ6_K
Devstral Small 24BRuns~39 tok/sQ5_K_MRuns~59 tok/sQ6_K
Gemma 4 26B-A4B (MoE)Runs~120 tok/sQ4_K_MRuns~150 tok/sQ6_K
Qwen3.6 27BRuns~40 tok/sQ4_K_MRuns~52 tok/sQ6_K
Qwen3 30B-A3B (MoE)Runs~130 tok/sQ4_K_MRuns~170 tok/sQ6_K
Qwen3-Coder 30B-A3BRuns~130 tok/sQ4_K_MRuns~170 tok/sQ6_K
Llama 3.3 70BOffload~2.0 tok/sQ3_K_MOffload~4.0 tok/sQ3_K_M
DeepSeek-R1 Distill 70BOffload~2.0 tok/sQ3_K_MOffload~4.0 tok/sQ3_K_M
Llama 4 Scout 109B-A17BWon’t fitWon’t fit
gpt-oss 120BWon’t fitWon’t fit
Qwen3 235B-A22B (MoE)Won’t fitWon’t fit

Which should you buy?

The RTX 5090 is the better card for local AI. It runs 34 of 39 models fully in memory, against 28 for the RTX 4090, thanks to 32 GB of VRAM versus 24 GB. It is also about 64% faster on the models both can run.

Only the RTX 5090 fits Gemma 3 27B, Gemma 4 31B, Qwen3.6 35B-A3B (MoE), Qwen3 32B, DeepSeek-R1 Distill 32B and Qwen2.5-Coder 32B fully in memory.

See every result on its own page: RTX 4090 and RTX 5090.

Questions

Is the RTX 4090 or the RTX 5090 better for running LLMs?

The RTX 5090 is the better card for local AI. It runs 34 of 39 models fully in memory, against 28 for the RTX 4090, thanks to 32 GB of VRAM versus 24 GB. It is also about 64% faster on the models both can run.

Which models can the RTX 5090 run that the RTX 4090 can't?

At 8K context, only the RTX 5090 holds Gemma 3 27B, Gemma 4 31B, Qwen3.6 35B-A3B (MoE), Qwen3 32B, DeepSeek-R1 Distill 32B and Qwen2.5-Coder 32B fully in VRAM.

Does the RTX 4090 or RTX 5090 need anything else to run local AI?

Only the software. Install Ollama or LM Studio, pick a model that fits in VRAM, and it runs on the GPU. 32 GB of system RAM helps when a model spills over, but that path is much slower.

More comparisons

Estimates from memory size and bandwidth at 8K context. Real speed varies with software, drivers and settings.

Copied