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 measurement170 to 350 W
makers’ ratings
Maker’s rating14 to 19 B
parameters at Q4_0 that fit
EstimateSpeed and watts
What fits in 12 GB
Estimate Test file: 3.56 GiB for 6.74 billion parameters (llama.cpp discussion 15013). A longer context needs more room.
The figures
| Card | Generating speed | GPU watts while generating | Maker’s rating |
|---|---|---|---|
| RTX 3060 12 GBNVIDIA | 75.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 WEstimate | 170 WGraphics Card Power, maker’s pageMaker’s rating |
| Arc B580Intel | 70.14 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Intel Arc B580”Cited measurement | 73 to 150 WEstimate | 190 WTBP, maker’s pageMaker’s rating |
| RTX 4070NVIDIA | 92.29 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070”Cited measurement | 76 to 158 WEstimate | 200 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 4070 SUPERNVIDIA | 108.74 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070 Super”Cited measurement | 84 to 174 WEstimate | 220 WTotal Graphics Power, maker’s pageMaker’s rating |
| RX 6700 XTAMD | 84.21 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 6700 XT”Cited measurement | 88 to 182 WEstimate | 230 WTypical Board Power (Desktop), maker’s pageMaker’s rating |
| RTX 5070NVIDIA | No speed row shown hereleft out because the source row has no commit | 96 to 197 WEstimate | 250 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 4070 TiNVIDIA | 110.53 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4070 Ti”Cited measurement | 109 to 225 WEstimate | 285 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 3080 TiNVIDIA | No speed row shown here | 134 to 276 WEstimate | 350 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.
Work out the running cost of any of these cards at your own price per kWh. Other sizes: 8 GB cards, 10 GB cards, 16 GB cards, 20 GB cards, 24 GB cards, 32 GB cards. VRAM by model size, choose by size.