llamaperf

NVIDIA RTX 4090 vs NVIDIA RTX 5080 for local LLMs

57 reports on the NVIDIA RTX 4090 and 29 on the NVIDIA RTX 5080

Which is faster for local LLMs?

On Qwen2.5 7B at 4-bit, the NVIDIA RTX 4090 has 158.9 generation tokens/s (one run); the NVIDIA RTX 5080 has 171.4 generation tokens/s (one run); prompt processing 9825.5 tokens/s (one run). Those are community reports whose engines and settings differ, so the gap is a rough sign, not a controlled measure of the two cards. Memory bandwidth, which caps how fast a card can write, is 5% higher on the NVIDIA RTX 4090 (1,008 GB/s on the NVIDIA RTX 4090, 960 on the NVIDIA RTX 5080).

NVIDIA RTX 4090
Memory
24GB
Memory bandwidth
1,008 GB/s
FP16 compute
330 TFLOPS
Reports
57
NVIDIA RTX 5080
Memory
16GB
Memory bandwidth
960 GB/s
FP16 compute
225 TFLOPS
Reports
29

Measured on both

Generation and prompt processing speeds from plain runs (one device, one request, no speculative decoding, the whole model in the device's memory) of the same model size at the same bit class. Each side shows the engines and reported context behind its median. Context can mean a configured window or prompt depth, so these are community comparisons with differing settings. How to read these

ModelNVIDIA RTX 4090NVIDIA RTX 5080
Qwen2.5 7B4-bit158.9one runllama.cppcontext not stated171.4one runPP 9825.5 (one run)Ollama16K context

Estimated by the calculator

The quant the calculator recommends for each card and its estimated speed at a 32,768-token context with 32 GB of system RAM, from memory bandwidth and the model's shape. Where a model was also measured above, the measurement wins.

ModelNVIDIA RTX 4090NVIDIA RTX 5080
Qwen2.5 7B79.2 t/sQ8_075.4 t/sQ8_0
Qwen3.8 27B36.5 t/sQ4_K_M62.6 t/sQ2_K
Qwen3.8 125B · 6B active19.6 t/sQ2_K, experts in RAMdoesn't fit at these settings
Qwen3.6 35B · 3B active129.3 t/sQ4_K_S207.0 t/sQ2_K
DeepSeek V4 Flash 284B · 13B activedoesn't fit at these settingsdoesn't fit at these settings
Qwen3.6 27B36.5 t/sQ4_K_M62.6 t/sQ2_K
Gemma 4 26B · 4B active82.3 t/sQ5_K_S139.6 t/sQ3_K_S

Change the context, RAM or model in the calculator: NVIDIA RTX 4090 · NVIDIA RTX 5080

Every report on each card, with its source: NVIDIA RTX 4090 · NVIDIA RTX 5080

More comparisons