Token Bench Log

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 measurement

115 to 290 W

makers’ ratings

Maker’s rating

7 to 12 B

parameters at Q4_0 that fit

Estimate

Speed and watts

8 GB graphics cards: speed and wattsRTX 4060: no speed row shown here; estimate 44 to 91 W; rated 115 W. RTX 3050 8 GB: no speed row shown here; estimate 50 to 103 W; rated 130 W. RTX 5060: no speed row shown here; estimate 55 to 115 W; rated 145 W. RTX 4060 Ti 8 GB: 63.86 tokens/s (CUDA); estimate 61 to 126 W; rated 160 W. RX 7600: 58.03 tokens/s (Vulkan); estimate 63 to 130 W; rated 165 W. RTX 5060 Ti 8 GB: no speed row shown here; estimate 69 to 142 W; rated 180 W. RTX 3060 Ti: 86.74 tokens/s (Vulkan); estimate 76 to 158 W; rated 200 W. RTX 3070: 78.71 tokens/s (Vulkan); estimate 84 to 174 W; rated 220 W. RTX 3070 Ti: no speed row shown here; estimate 111 to 229 W; rated 290 W.Tokens/sWattsestimaterating0100200300 W0100RTX 406044 to 91115No speed row shown hereRTX 3050 8 GB50 to 103130No speed row shown hereRTX 506055 to 115145No speed row shown hereRTX 4060 Ti 8 GB61 to 12616063.86CUDARX 760063 to 13016558.03VulkanRTX 5060 Ti 8 GB69 to 142180No speed row shown hereRTX 3060 Ti76 to 15820086.74VulkanRTX 307084 to 17422078.71VulkanRTX 3070 Ti111 to 229290No 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. Backends differ; not a like-for-like race.

What fits in 8 GB

8 GB card: largest Q4_0 model about 7 to 12 billion parameters.7B test filecontext 1 to 4 GBfree8 GB cardlargest Q4_0: 7 to 12 B

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

The figures

8 GB cards, one row each: 9 cards, 4 with a shared-test speed
CardGenerating speedGPU watts while generatingMaker’s rating
RTX 4060NVIDIANo speed row shown here44 to 91 WEstimate115 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 3050 8 GBNVIDIANo speed row shown here50 to 103 WEstimate130 WGraphics Card Power, maker’s pageMaker’s rating
RTX 5060NVIDIANo speed row shown here55 to 115 WEstimate145 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 4060 Ti 8 GBNVIDIA63.86 tokens/sCUDA, llama.cpp discussion 15013, @mike-llamacppCited measurement61 to 126 WEstimate160 WTotal Graphics Power, maker’s pageMaker’s rating
RX 7600AMD58.03 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “AMD Radeon RX 7600”Cited measurement63 to 130 WEstimate165 WTypical Board Power (Desktop), maker’s pageMaker’s rating
RTX 5060 Ti 8 GBNVIDIANo speed row shown here69 to 142 WEstimate180 WTotal Graphics Power, maker’s pageMaker’s rating
RTX 3060 TiNVIDIA86.74 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3060 Ti”Cited measurement76 to 158 WEstimate200 WGraphics Card Power, maker’s pageMaker’s rating
RTX 3070NVIDIA78.71 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3070”Cited measurement84 to 174 WEstimate220 WGraphics Card Power, maker’s pageMaker’s rating
RTX 3070 TiNVIDIANo speed row shown here111 to 229 WEstimate290 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.