Card × model benchmark

Meta Llama 3.1 8B Instruct on RTX 4090 Q4_K_M

Smooth

On an RTX 4090 (24 GB), Meta Llama 3.1 8B Instruct in Q4_K_M generates 132 tokens/s and reads the prompt at 5 900 tokens/s, using 6,2 Go of video memory.

Median of 1 run · latest on 04/08/26

Demo data: this combination has not actually been measured yet.

132 tok/s

Generation

5 900 tok/s

Prompt processing

6,2 Go

VRAM used (peak)

285 W

Average power

0,46 tok/s/W

Efficiency

0,15 €/M tok

Electricity / M tokens · 0,25 €/kWh

Estimate your monthly cost from your electricity price and usage: sign in

RTX 4090 pageAll cards on Meta Llama 3.1 8B InstructFeel the speed Rent in the cloud

What about a longer context?

An estimate, not a measurement: the KV cache grows with context, takes VRAM and slows generation down.

ContextKV cacheEstimated VRAMFits in 24 GB?Estimated speed
4 0960,5 Go6,6 Goyes≈ 122 tok/s
8 1921,0 Go7,1 Goyes≈ 111 tok/s
16 3842,0 Go8,1 Goyes≈ 94,9 tok/s
32 7684,0 Go10,1 Goyes≈ 73,5 tok/s
65 5368,0 Go14,1 Goyes≈ 50,6 tok/s
131 07216,0 Go22,1 Goyes≈ 31,2 tok/s

KV cache per token = 2 × 32 layers × 8 KV heads × 128 × 2 bytes (f16). Estimated VRAM = measured VRAM + added KV cache. Speed ≈ measured speed × weights ÷ (weights + added KV cache) — attention compute is not modelled, the real drop is slightly larger. Fine-tune it in the “Configurator”

Meta Llama 3.1 8B Instruct on other cards

CardVRAMGenerationDifferencePrice
RTX 5070 Ti16 Go151 tok/s+14,5 %1 400 €
RTX 4090demo24 Go132 tok/sthis card—
RTX 5080demo16 Go124 tok/s−6,1 %1 850 €
RTX 4080demo16 Go103 tok/s−22,0 %780 €
RTX 4070 Ti12 Go89,6 tok/s−32,1 %927 €
RTX 407012 Go82,3 tok/s−37,7 %595 €
RTX 3060demo12 Go48,0 tok/s−63,6 %260 €

Other models measured on the RTX 4090

Qwen2.5 14B Instruct Q4_K_M 78,0 tok/s

All measurements

DateSourceTypeGenerationPromptVRAMMax temp.Powerllama.cpp
04/08/26demostandard1325 9006,2 Go66 °C285 W—

Protocol: llama-bench (llama.cpp), prompt 512 + generation 128 tokens, model fully loaded in VRAM. VRAM used = system peak (includes the OS, ~0.5 to 1 GB more than the model alone). Measure my card