Token Bench Log

16 GB graphics cards for local LLMs

Is 16 GB enough for a local LLM? It holds Q4_0 models up to about 21 to 26 B parameters by estimate, the file size plus 1 to 4 GB for the context; a larger model needs a larger card (memory for each model size). On Vulkan, no flash attention, the RTX 5080 is the fastest at 185.1 tokens/s and the RTX 5060 Ti 16 GB the slowest at 93.51; the fastest is 98 % faster. 16 GB holds Q4_0 models up to about 26 B parameters by estimate; the 12 GB cards on this site stop near 19 B, so the step up is worth about 7 B parameters.

93.51 to 185.1 tokens/s

shared llama.cpp test, 8 cards, all on Vulkan

Cited measurement

160 to 360 W

makers’ ratings

Maker’s rating

21 to 26 B

parameters at Q4_0 that fit

Estimate

Speed and watts

16 GB graphics cards: speed and wattsRX 9060 XT 16 GB: no speed row shown here; estimate 61 to 126 W; rated 160 W. RTX 4060 Ti 16 GB: no speed row shown here; estimate 63 to 130 W; rated 165 W. RTX 5060 Ti 16 GB: 93.51 tokens/s (Vulkan); estimate 69 to 142 W; rated 180 W. RX 7600 XT: no speed row shown here; estimate 73 to 150 W; rated 190 W. RX 9070: 119.71 tokens/s (Vulkan); estimate 84 to 174 W; rated 220 W. Arc A770 16 GB: no speed row shown here; estimate 86 to 178 W; rated 225 W. RX 7800 XT: 118.27 tokens/s (Vulkan); estimate 101 to 208 W; rated 263 W. RTX 4070 Ti SUPER: 129.45 tokens/s (Vulkan); estimate 109 to 225 W; rated 285 W. RTX 5070 Ti: 135.63 tokens/s (Vulkan); estimate 115 to 237 W; rated 300 W. RX 6800 XT: no speed row shown here; estimate 115 to 237 W; rated 300 W. RX 6900 XT: no speed row shown here; estimate 115 to 237 W; rated 300 W. RX 9070 XT: 136.56 tokens/s (Vulkan); estimate 116 to 240 W; rated 304 W. RTX 4080: no speed row shown here; estimate 123 to 252 W; rated 320 W. RTX 4080 SUPER: 147.13 tokens/s (Vulkan); estimate 123 to 252 W; rated 320 W. RTX 5080: 185.1 tokens/s (Vulkan); estimate 138 to 284 W; rated 360 W.Tokens/s, VulkanWattsestimaterating0200400 W0200RX 9060 XT 16 GB61 to 126160No speed row shown hereRTX 4060 Ti 16 GB63 to 130165No speed row shown hereRTX 5060 Ti 16 GB69 to 14218093.51RX 7600 XT73 to 150190No speed row shown hereRX 907084 to 174220119.71Arc A770 16 GB86 to 178225No speed row shown hereRX 7800 XT101 to 208263118.27RTX 4070 Ti SUPER109 to 225285129.45RTX 5070 Ti115 to 237300135.63RX 6800 XT115 to 237300No speed row shown hereRX 6900 XT115 to 237300No speed row shown hereRX 9070 XT116 to 240304136.56RTX 4080123 to 252320No speed row shown hereRTX 4080 SUPER123 to 252320147.13RTX 5080138 to 284360185.1
By rated watts, lowest first. Speed: the shared llama.cpp test (Llama 2 7B Q4_0, tg128; Vulkan rows: no flash attention), one poster or scoreboard row each, so small gaps mean little. Estimates only. All speeds on Vulkan.

What fits in 16 GB

16 GB card: largest Q4_0 model about 21 to 26 billion parameters.7B test filecontext 1 to 4 GBfree16 GB cardlargest Q4_0: 21 to 26 B

Estimate Test file: 3.56 GiB for 6.74 billion parameters (llama.cpp discussion 15013). A longer context needs more room.

The figures

16 GB cards, one row each: 15 cards, 8 with a shared-test speed
CardGenerating speedGPU watts while generatingMaker’s rating
RX 9060 XT 16 GBAMDNo speed row shown heredropped under the citation cap61 to 126 WEstimate160 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RTX 4060 Ti 16 GBNVIDIANo speed row shown here63 to 130 WEstimate165 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 5060 Ti 16 GBNVIDIA90.94 tokens/sCUDA, llama.cpp discussion 15013, @mike-llamacppCited measurement
93.51 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 5060 Ti”Cited measurement
69 to 142 WEstimate180 WTotal Graphics Power, maker’s pageMaker’s rating
RX 7600 XTAMDNo speed row shown heredropped under the citation cap73 to 150 WEstimate190 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RX 9070AMD114.48 tokens/sROCm, llama.cpp discussion 15021, @andj1210Cited measurement
119.71 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 9070”Cited measurement
84 to 174 WEstimate220 WTypical Board Power (Desktop), maker’s pageMaker’s rating
Arc A770 16 GBIntelNo speed row shown heredropped under the citation cap86 to 178 WEstimate225 WTBP, maker’s pageMaker’s rating
RX 7800 XTAMD100.94 tokens/sROCm, llama.cpp discussion 15021, @olegshulyakovCited measurement
118.27 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 7800 XT”Cited measurement
101 to 208 WEstimate263 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RTX 4070 Ti SUPERNVIDIA132.26 tokens/sCUDA, llama.cpp discussion 15013, @RistovskiCited measurement
129.45 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070 Ti Super”Cited measurement
109 to 225 WEstimate285 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 5070 TiNVIDIA176.85 tokens/sCUDA, llama.cpp discussion 15013, @TinyServalCited measurement
135.63 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 5070 Ti”Cited measurement
115 to 237 WEstimate300 WTotal Graphics Power, maker’s pageMaker’s rating
RX 6800 XTAMDNo speed row shown heredropped under the citation cap115 to 237 WEstimate300 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RX 6900 XTAMDNo speed row shown heredropped under the citation cap115 to 237 WEstimate300 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RX 9070 XTAMD101.27 tokens/sROCm, llama.cpp discussion 15021, @HadrianneueCited measurement
136.56 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), @HadrianneueCited measurement
116 to 240 WEstimate304 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RTX 4080NVIDIANo speed row shown here123 to 252 WEstimate320 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 4080 SUPERNVIDIA148.33 tokens/sCUDA, llama.cpp discussion 15013, @zacharyarnaiseCited measurement
147.13 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4080 Super”Cited measurement
123 to 252 WEstimate320 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 5080NVIDIA181.99 tokens/sCUDA, llama.cpp discussion 15013, @HededeCited measurement
185.1 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 5080”Cited measurement
138 to 284 WEstimate360 WTotal Graphics Power, maker’s pageMaker’s rating

Watts: 38 to 79 % of each rating. How the band is set. Each maker labels its rating its own way.