Memory Bandwidth
What is Memory Bandwidth?
In one sentence: Memory bandwidth is how fast data can move between a chip's memory and its processors, usually measured in gigabytes per second.
For LLMs, generating each token means reading all the active weights from memory. So the faster memory can deliver data, the faster tokens come out. That makes memory bandwidth more important than raw compute for chat speed.
Σ Quick math / rule of thumb: Max single-user TPS ≈ Bandwidth ÷ Weight Bytes: a chip with ~400 GB/s (like some Apple M-series Max chips) running a ~40 GB 70B 4-bit model tops out near ~10 tokens/s.
What does Memory Bandwidth look like?
A GPU with 1,000 GB/s bandwidth running a 10 GB model can produce, at best, about 100 tokens per second for one user.
Why does Memory Bandwidth matter?
Memory bandwidth is often the best predictor of how fast a device runs LLMs.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/memory-bandwidth/">Memory Bandwidth, explained simply</a> (The AI Math Dictionary)