Hardware
LLM Memory Bandwidth: Why It Beats TFLOPS
LLM memory bandwidth decides how fast a local AI model writes text. Learn why it matters more than TFLOPS, how to estimate tokens per second, and what to buy.
LLM memory bandwidth is the speed at which a computer can move a model's weights from memory to the chip that does the math. When a language model writes text on your own machine, that speed matters more than almost anything else, including the TFLOPS figure that hardware makers love to advertise. A graphics card with huge compute but slow memory will write answers slowly. A chip with modest compute but very fast memory can feel quick.
This guide explains why, shows a simple way to estimate tokens per second from a spec sheet, and helps you read hardware specs the right way before you buy.
What Is LLM Memory Bandwidth?
Memory bandwidth is how many gigabytes per second (GB/s) can flow between memory and the processor. For a graphics card it is the speed of the link between the GPU chip and its own VRAM. For a Mac or a mini PC with unified memory, it is the speed between the shared memory and the chip.
It's a different thing from memory capacity. Capacity tells you whether a model fits at all. Bandwidth tells you how fast it runs once it fits. You need enough of both.
Why a model is so hungry for bandwidth
To write each new token, a language model has to use practically all of its weights once. A model whose weights take up 20 GB has to stream those 20 GB from memory to the chip for every single token it produces. The calculation for each weight is tiny, a multiply and an add. Moving the weight is the slow part.
So the chip spends most of its time waiting for data, not calculating. That's why GPU memory bandwidth, not raw compute, usually sets the speed limit when you chat with a local model.
Memory Bandwidth vs TFLOPS
TFLOPS (trillions of floating-point operations per second) measure how much math a chip can do. That matters for training models and for processing long prompts. But for generating text, the memory bandwidth vs TFLOPS question is usually settled in favor of bandwidth.
There are two distinct phases when a model answers:
- Reading the prompt (prefill). The model processes all your input tokens together. Lots of math happens on each weight it loads, so this phase is compute-bound, and TFLOPS matter.
- Writing the answer (decode). The model produces one token at a time and must reload its weights for each one. Very little math happens per weight, so this phase is memory-bound, and bandwidth matters.
For a typical chat, most of the waiting you notice is the decode phase, the words appearing one by one. That's why two machines with similar TFLOPS can differ several times over in how fast they type.
When compute takes over
Compute becomes the limit again when you process very long documents, when many users share one GPU at the same time (servers batch requests together, reusing each loaded weight many times), or when you train or fine-tune. For a single person chatting with a local model, bandwidth is king.
How to Estimate Tokens per Second
A simple formula gives you the theoretical ceiling for tokens per second when one person is chatting:
max tokens per second ≈ memory bandwidth ÷ size of the model in memory
Some examples, using rough figures:
- An 8B model at 4-bit is about 5 GB. On a card with about 1,800 GB/s, the ceiling is around 360 tokens per second.
- A 70B model at 4-bit is about 40 GB. With about 800 GB/s, the ceiling is around 20 tokens per second.
- The same 70B model with about 270 GB/s tops out near 7 tokens per second.
Real speeds come in below the ceiling, often well below, because software, cache reads and other overhead all take their share. But the formula is very good at ranking hardware and spotting bad matches before you spend money.
How quantization helps speed
Shrinking a model shrinks the data that must flow for every token. A model at 4-bit moves roughly a quarter of the bytes of the same model at 16-bit, so it can run several times faster on the same hardware, not just fit in less memory. Our guide to LLM quantization explains the formats and the quality trade-off.
Mixture-of-experts models are the exception
Mixture-of-experts (MoE) models only use part of their weights for each token. A model with over 100B total parameters might activate only around 5B of them per token. It still needs enough memory to hold every weight, but it only streams the active part for each token, so it can run surprisingly fast on machines with lots of memory and moderate bandwidth.
LLM Memory Bandwidth by Hardware
Approximate peak bandwidth for common choices. Check the exact model you're looking at, because memory configurations vary.
| Hardware | Memory | Approx. bandwidth |
|---|---|---|
| Desktop PC, dual-channel DDR5 | System RAM | 80–100 GB/s |
| AMD Ryzen AI Max+ 395 mini PCs | Unified memory, up to 128 GB | about 256 GB/s |
| Nvidia DGX Spark | Unified memory, 128 GB | about 273 GB/s |
| Nvidia RTX 5060 Ti 16 GB | VRAM | about 448 GB/s |
| Apple M4 Max | Unified memory, up to 128 GB | up to about 546 GB/s |
| Apple M3 Ultra | Unified memory, up to 512 GB | about 819 GB/s |
| Nvidia RTX 3090 / 4090 | 24 GB VRAM | about 936 / 1,008 GB/s |
| Nvidia RTX 5090 | 32 GB VRAM | about 1,792 GB/s |
| Nvidia H100 (data center) | 80 GB HBM3 | about 3,350 GB/s |
The pattern is clear. Graphics cards have the fastest memory but limited capacity. Unified memory systems hold much larger models but move data more slowly. Plain system RAM is the slowest by far, which is why running a big model on the CPU feels sluggish.
Unified Memory vs VRAM
Unified memory means the CPU and GPU share one pool of memory. Macs with Apple Silicon, Nvidia's DGX Spark and AMD's Ryzen AI Max chips all work this way. The big advantage is capacity: 128 GB or more can be available to the model, enough for 70B models and large MoE models that no single consumer graphics card can hold.
The trade-off is speed. Even the fastest unified memory systems have less bandwidth than a high-end graphics card's VRAM, so a model that fits on both usually generates text faster on the graphics card. Our comparison of DGX Spark vs Mac Studio shows how this plays out between two popular unified memory machines.
When model size beats speed
A fast card is useless if your model doesn't fit. Once a model spills out of VRAM into system RAM, the slow part sets the pace, and speed can drop to a fraction of what it was. If the models you want are larger than any affordable card, a unified memory machine with lower bandwidth will still beat a fast card that can't hold the model.
How to Choose Hardware for Local LLMs
- Pick your target model size first, including the quantization you plan to use.
- Check capacity: the model plus a few gigabytes for context must fit in VRAM or unified memory.
- Check bandwidth: divide it by the model size to estimate the speed ceiling. Aim for a ceiling well above your reading speed, which is roughly 5–10 tokens per second for most people.
- Look at TFLOPS last, unless you plan to process long documents, serve many users or fine-tune.
Our guide to the best GPU for LLMs applies these rules to concrete cards at different budgets.
FAQ
Why does memory bandwidth matter for LLMs?
To produce each token, a language model has to read nearly all of its weights from memory. The chip finishes the math quickly and then waits for the next batch of data, so the speed of memory, not compute, usually limits how fast text appears.
How do I calculate tokens per second from memory bandwidth?
Divide the memory bandwidth in GB/s by the model's size in memory in GB. A 5 GB model on hardware with 500 GB/s has a ceiling of about 100 tokens per second. Real results are lower because of overhead.
Is memory bandwidth more important than VRAM?
They answer different questions. VRAM capacity decides whether a model fits. Bandwidth decides how fast it runs once it fits. Check capacity first, then compare bandwidth among the options that are big enough.
Is unified memory good for running LLMs?
Yes, especially for large models. Unified memory systems can give a model 128 GB or more, far beyond consumer graphics cards. They are usually slower per token than a high-end GPU for models that fit on both.
Do TFLOPS matter at all for local AI?
Yes, for some tasks. TFLOPS affect how quickly a model reads long prompts and documents, how well a machine serves several users at once, and how fast you can fine-tune. For one person chatting, bandwidth matters more.