8 GB graphics cards for local LLMs
Is 8 GB enough for a local LLM? It holds Q4_0 models up to about 7 to 12 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). No one backend covers every card at 8 GB (the speeds here are on Vulkan, no flash attention and CUDA), so no rank is given. 8 GB is the smallest memory on this site; at Q4_0 the estimate reaches about 12 B parameters, with room kept for the context.
58.03 to 86.74 tokens/s
shared llama.cpp test, 4 cards, backends differ: not a like-for-like race
Cited measurement115 to 290 W
makers’ ratings
Maker’s rating7 to 12 B
parameters at Q4_0 that fit
EstimateSpeed and watts
What fits in 8 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 4060NVIDIA | No speed row shown here | 44 to 91 WEstimate | 115 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 3050 8 GBNVIDIA | No speed row shown here | 50 to 103 WEstimate | 130 WGraphics Card Power, maker’s pageMaker’s rating |
| RTX 5060NVIDIA | No speed row shown here | 55 to 115 WEstimate | 145 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 4060 Ti 8 GBNVIDIA | 63.86 tokens/sCUDA, llama.cpp discussion 15013, @mike-llamacppCited measurement | 61 to 126 WEstimate | 160 WTotal Graphics Power, maker’s pageMaker’s rating |
| RX 7600AMD | 58.03 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 7600”Cited measurement | 63 to 130 WEstimate | 165 WTypical Board Power (Desktop), maker’s pageMaker’s rating |
| RTX 5060 Ti 8 GBNVIDIA | No speed row shown here | 69 to 142 WEstimate | 180 WTotal Graphics Power, maker’s pageMaker’s rating |
| RTX 3060 TiNVIDIA | 86.74 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3060 Ti”Cited measurement | 76 to 158 WEstimate | 200 WGraphics Card Power, maker’s pageMaker’s rating |
| RTX 3070NVIDIA | 78.71 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3070”Cited measurement | 84 to 174 WEstimate | 220 WGraphics Card Power, maker’s pageMaker’s rating |
| RTX 3070 TiNVIDIA | No speed row shown here | 111 to 229 WEstimate | 290 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: 10 GB cards, 12 GB cards, 16 GB cards, 20 GB cards, 24 GB cards, 32 GB cards. VRAM by model size, choose by size.