# Memory Bandwidth

- **Canonical URL:** https://getaimath.com/dictionary/memory-bandwidth/
- **Topics:** [LLM Inference: Prefill & Decode](https://getaimath.com/dictionary/category/llm-inference-prefill-and-decode/), [Hardware & AI Computing](https://getaimath.com/dictionary/category/hardware-and-ai-computing/)
- **Last updated:** 2026-11-25

## 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.

![How an AI Replies: 1. Read Your Question → 2. Type the Answer — Simple two-step cartoon: Step 1 (Prefill) shows the AI scanning your entire question in one flash (causing the brief pause before it starts talking); Step 2 (Decode) shows it typing out the reply one word at a time.](https://getaimath.com/diagrams/llm-inference-prefill-and-decode.png)
*Napkin Diagram (LLM Inference: Prefill & Decode): Every AI reply has two halves: gulping down your whole prompt at once, then speaking the answer one word at a time.*

### 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 is an example of Memory Bandwidth?

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.

## Related Concepts

- [Latency](https://getaimath.com/dictionary/latency/): Latency is the delay between asking for something and getting a response.
- [Compute-Bound](https://getaimath.com/dictionary/compute-bound/): A task is compute-bound when its speed is limited by how fast the chip can do math.
- [Shared Memory](https://getaimath.com/dictionary/shared-memory/): Shared memory can mean memory that several processors use together, or a small, very fast memory area inside a GPU that a group of cores shares.
- [Memory Capacity](https://getaimath.com/dictionary/memory-capacity/): Memory capacity is how much data a memory can hold, measured in gigabytes.
- [Throughput](https://getaimath.com/dictionary/throughput/): Throughput is the total amount of work a system completes over time, like the number of tokens or requests per second across all users.
- [Memory-Bound](https://getaimath.com/dictionary/memory-bound/): A task is memory-bound when its speed is limited by how fast data can be read from memory, not by math speed.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/memory-bandwidth/)
