Why VRAM Bandwidth Matters More Than Compute: Where Local Inference Speed Comes From
When people pick a card for local LLMs, they usually look at compute (TFLOPS) first. In practice, generation speed is limited by VRAM bandwidth. The numbers below are rough theoretical ceilings, not measurements.
One token out means reading the whole model once
An LLM generates text one token at a time. For each token, the full model weights are read from VRAM and computed over. So there is a simple ceiling:
Speed ceiling ≈ memory bandwidth ÷ model weight size
Compute only dominates the input-processing step (prefill). During generation, bandwidth calls the shots. That is why gaming cards often punch above their paper compute for inference — and why doubling bandwidth roughly doubles speed.
Do the math on this site's cards
| GPU | Memory bandwidth | Qwen3 8B (Q4, ~4.9GB) speed ceiling | Site estimate |
|---|---|---|---|
| RTX 2060 12G | 336 GB/s | ~68 tokens/s | ~36–45 tokens/s |
| RTX 3080 | 760 GB/s | ~155 tokens/s | ~60–100 tokens/s |
The ceiling is theoretical — attention math, kernel overhead, and CPU involvement take their cut, so real estimates land around half the ceiling. That is normal. What matters is the ratio: the 3080 has 2.3× the bandwidth of the 2060, and roughly 2× the speed.
Now 32B: why the V100 is not fast
| GPU | Memory bandwidth | Qwen3 32B (Q4, ~19GB) speed ceiling | Reference / estimate |
|---|---|---|---|
| V100 32G | 900 GB/s | ~47 tokens/s | Public reference ~24 tokens/s |
| RTX 3090 24G | 936 GB/s | ~49 tokens/s | Public reference ~41 tokens/s |
The V100's 32GB solves "does it fit", not "does it run fast": its 900 GB/s is close to the 3090's 936 GB/s, but the older architecture and lower kernel efficiency land it at 24 tokens/s in practice. Judging a card by VRAM size alone will mislead you — capacity and bandwidth have to be read together.
Why memory offload is slow
When a model spills from VRAM into system memory, weights travel over memory bandwidth, an order of magnitude slower than VRAM — which is why a 70B mixed run manages only a few tokens/s. Adding memory solves "does it run", not "does it run fast" — speed still depends on GPU bandwidth.
In one line: pick an inference card by checking VRAM is enough to hold the model first, then whether bandwidth is fast enough — compute comes third. These are theoretical estimates; this site will verify each one with measurements.

Comments
Post a Comment