RunLLMLocal

Compare · GPUs

RTX 5080 vs RTX 4090 for local LLMs

It runs 28 of 39 models fully in memory, against 21 for the RTX 5080, thanks to 24 GB of VRAM versus 16 GB. The RTX 5080 is about 6% faster on the models both can hold, so it only wins if you stick to small models.

VerdictThe RTX 4090 is the better card for local AI

It runs 28 of 39 models fully in memory, against 21 for the RTX 5080, thanks to 24 GB of VRAM versus 16 GB. The RTX 5080 is about 6% faster on the models both can hold, so it only wins if you stick to small models.

RTX 5080NVIDIA
VRAM16 GB
Memory bandwidth960 GB/s
Models that fit fully21 / 39
Run with offload13
Largest that fitsgpt-oss 20B
RTX 4090NVIDIA
VRAM24 GB
Memory bandwidth1008 GB/s
Models that fit fully28 / 39
Run with offload8
Largest that fitsQwen3 30B-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 5080RTX 4090
Codestral 22BOffload~6.6 tok/sQ4_K_MRuns~42 tok/sQ5_K_M
Mistral Small 3 24BOffload~5.8 tok/sQ4_K_MRuns~39 tok/sQ5_K_M
Devstral Small 24BOffload~5.9 tok/sQ4_K_MRuns~39 tok/sQ5_K_M
Gemma 4 26B-A4B (MoE)Offload~16 tok/sQ4_K_MRuns~120 tok/sQ4_K_M
Qwen3.6 27BOffload~4.9 tok/sQ4_K_MRuns~40 tok/sQ4_K_M
Qwen3 30B-A3B (MoE)Offload~17 tok/sQ4_K_MRuns~130 tok/sQ4_K_M
Qwen3-Coder 30B-A3BOffload~17 tok/sQ4_K_MRuns~130 tok/sQ4_K_M
Llama 3.3 70BWon’t fitOffload~2.0 tok/sQ3_K_M
DeepSeek-R1 Distill 70BWon’t fitOffload~2.0 tok/sQ3_K_M
Qwen3 0.6BRuns~980 tok/sQ8_0Runs~1030 tok/sQ8_0
Gemma 3 1BRuns~590 tok/sQ8_0Runs~620 tok/sQ8_0
Llama 3.2 1BRuns~490 tok/sQ8_0Runs~520 tok/sQ8_0
Llama 3.2 3BRuns~180 tok/sQ8_0Runs~190 tok/sQ8_0
Phi-4 Mini 3.8BRuns~150 tok/sQ8_0Runs~160 tok/sQ8_0
Qwen3 4BRuns~150 tok/sQ8_0Runs~150 tok/sQ8_0
Gemma 3 4BRuns~140 tok/sQ8_0Runs~140 tok/sQ8_0
Qwen3.5 4BRuns~130 tok/sQ8_0Runs~130 tok/sQ8_0
Mistral 7B v0.3Runs~82 tok/sQ8_0Runs~86 tok/sQ8_0
Qwen2.5-Coder 7BRuns~78 tok/sQ8_0Runs~81 tok/sQ8_0
Llama 3.1 8BRuns~74 tok/sQ8_0Runs~77 tok/sQ8_0
DeepSeek-R1 Distill 8BRuns~74 tok/sQ8_0Runs~77 tok/sQ8_0
Qwen3 8BRuns~72 tok/sQ8_0Runs~75 tok/sQ8_0
Qwen3.5 9BRuns~63 tok/sQ8_0Runs~66 tok/sQ8_0
Gemma 4 12BRuns~63 tok/sQ6_KRuns~52 tok/sQ8_0
Gemma 3 12BRuns~62 tok/sQ6_KRuns~51 tok/sQ8_0
Mistral Nemo 12BRuns~62 tok/sQ6_KRuns~51 tok/sQ8_0
Phi-4 14BRuns~60 tok/sQ5_K_MRuns~42 tok/sQ8_0
Qwen3 14BRuns~59 tok/sQ5_K_MRuns~42 tok/sQ8_0
DeepSeek-R1 Distill 14BRuns~59 tok/sQ5_K_MRuns~42 tok/sQ8_0
gpt-oss 20BRuns~130 tok/sQ4_K_MRuns~97 tok/sQ6_K
Gemma 3 27BOffload~4.5 tok/sQ4_K_MOffload~5.9 tok/sQ4_K_M
Gemma 4 31BOffload~3.8 tok/sQ4_K_MOffload~4.9 tok/sQ4_K_M
Qwen3 32BOffload~3.7 tok/sQ4_K_MOffload~4.8 tok/sQ4_K_M
DeepSeek-R1 Distill 32BOffload~3.7 tok/sQ4_K_MOffload~4.8 tok/sQ4_K_M
Qwen2.5-Coder 32BOffload~3.7 tok/sQ4_K_MOffload~4.8 tok/sQ4_K_M
Qwen3.6 35B-A3B (MoE)Offload~17 tok/sQ4_K_MOffload~20 tok/sQ4_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 4090 is the better card for local AI. It runs 28 of 39 models fully in memory, against 21 for the RTX 5080, thanks to 24 GB of VRAM versus 16 GB. The RTX 5080 is about 6% faster on the models both can hold, so it only wins if you stick to small models.

Only the RTX 4090 fits Codestral 22B, Mistral Small 3 24B, Devstral Small 24B, Gemma 4 26B-A4B (MoE), Qwen3.6 27B, Qwen3 30B-A3B (MoE) and Qwen3-Coder 30B-A3B fully in memory.

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

Questions

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

The RTX 4090 is the better card for local AI. It runs 28 of 39 models fully in memory, against 21 for the RTX 5080, thanks to 24 GB of VRAM versus 16 GB. The RTX 5080 is about 6% faster on the models both can hold, so it only wins if you stick to small models.

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

At 8K context, only the RTX 4090 holds Codestral 22B, Mistral Small 3 24B, Devstral Small 24B, Gemma 4 26B-A4B (MoE), Qwen3.6 27B and Qwen3 30B-A3B (MoE) and 1 more fully in VRAM.

Does the RTX 5080 or RTX 4090 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