Card × model benchmark

Meta Llama 3.1 8B Instruct on RTX 4070 Q4_K_M

Smooth

On an RTX 4070 (12 GB), Meta Llama 3.1 8B Instruct in Q4_K_M generates 82,3 tokens/s and reads the prompt at 4 336 tokens/s, using 6,8 Go of video memory.

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

82,3 tok/s

Generation

4 336 tok/s

Prompt processing

6,8 Go

VRAM used (peak)

138 W

Average power

0,60 tok/s/W

Efficiency

0,12 €/M tok

Electricity / M tokens · 0,25 €/kWh

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

RTX 4070 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 12 GB?Estimated speed
4 0960,5 Go7,2 Goyes≈ 75,8 tok/s
8 1921,0 Go7,7 Goyes≈ 69,3 tok/s
16 3842,0 Go8,7 Goyes≈ 59,1 tok/s
32 7684,0 Go10,7 Goyes≈ 45,8 tok/s
65 5368,0 Go14,7 Gono—
131 07216,0 Go22,7 Gono—

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+83,7 %1 400 €
RTX 4090demo24 Go132 tok/s+60,5 %—
RTX 5080demo16 Go124 tok/s+50,8 %1 850 €
RTX 4080demo16 Go103 tok/s+25,2 %780 €
RTX 4070 Ti12 Go89,6 tok/s+8,9 %927 €
RTX 407012 Go82,3 tok/sthis card595 €
RTX 3060demo12 Go48,0 tok/s−41,6 %260 €

Other models measured on the RTX 4070

Llama 3.2 3B Instruct Q4_K_M 176 tok/sQwen2.5 14B Instruct Q4_K_M 46,3 tok/s

All measurements

DateSourceTypeGenerationPromptVRAMMax temp.Powerllama.cpp
04/08/26measuredstandard82,34 3366,8 Go68 °C138 Wllama.cpp 935cad649

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