Token Bench Log

12 GB graphics cards for local LLMs

Is 12 GB enough for a local LLM? It holds Q4_0 models up to about 14 to 19 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 4070 Ti is the fastest at 110.53 tokens/s and the Arc B580 the slowest at 70.14; the fastest is 58 % faster. 12 GB holds Q4_0 models up to about 19 B parameters by estimate; the 10 GB cards on this site stop near 15 B, so the step up is worth about 4 B parameters.

70.14 to 110.53 tokens/s

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

Cited measurement

170 to 350 W

makers’ ratings

Maker’s rating

14 to 19 B

parameters at Q4_0 that fit

Estimate

Speed and watts

12 GB graphics cards: speed and wattsRTX 3060 12 GB: 75.94 tokens/s (Vulkan); estimate 65 to 134 W; rated 170 W. Arc B580: 70.14 tokens/s (Vulkan); estimate 73 to 150 W; rated 190 W. RTX 4070: 92.29 tokens/s (Vulkan); estimate 76 to 158 W; rated 200 W. RTX 4070 SUPER: 108.74 tokens/s (Vulkan); estimate 84 to 174 W; rated 220 W. RX 6700 XT: 84.21 tokens/s (Vulkan); estimate 88 to 182 W; rated 230 W. RTX 5070: no speed row shown here; estimate 96 to 197 W; rated 250 W. RTX 4070 Ti: 110.53 tokens/s (Vulkan); estimate 109 to 225 W; rated 285 W. RTX 3080 Ti: no speed row shown here; estimate 134 to 276 W; rated 350 W.Tokens/s, VulkanWattsestimaterating0200400 W0150RTX 3060 12 GB65 to 13417075.94Arc B58073 to 15019070.14RTX 407076 to 15820092.29RTX 4070 SUPER84 to 174220108.74RX 6700 XT88 to 18223084.21RTX 507096 to 197250No speed row shown hereRTX 4070 Ti109 to 225285110.53RTX 3080 Ti134 to 276350No speed row shown here
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 12 GB

12 GB card: largest Q4_0 model about 14 to 19 billion parameters.7B test filecontext 1 to 4 GBfree12 GB cardlargest Q4_0: 14 to 19 B

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

The figures

12 GB cards, one row each: 8 cards, 6 with a shared-test speed
CardGenerating speedGPU watts while generatingMaker’s rating
RTX 3060 12 GBNVIDIA75.57 tokens/sCUDA, llama.cpp discussion 15013, @QuantiusBenignusCited measurement
75.94 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3060”Cited measurement
65 to 134 WEstimate170 WGraphics Card Power, maker’s pageMaker’s rating
Arc B580Intel70.14 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Intel Arc B580”Cited measurement73 to 150 WEstimate190 WTBP, maker’s pageMaker’s rating
RTX 4070NVIDIA92.29 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070”Cited measurement76 to 158 WEstimate200 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 4070 SUPERNVIDIA108.74 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070 Super”Cited measurement84 to 174 WEstimate220 WTotal Graphics Power, maker’s pageMaker’s rating
RX 6700 XTAMD84.21 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 6700 XT”Cited measurement88 to 182 WEstimate230 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RTX 5070NVIDIANo speed row shown hereleft out because the source row has no commit96 to 197 WEstimate250 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 4070 TiNVIDIA110.53 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070 Ti”Cited measurement109 to 225 WEstimate285 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 3080 TiNVIDIANo speed row shown here134 to 276 WEstimate350 WGraphics Card 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.