Module 7 · Running it: memory, speed and money

The bandwidth wall: why decode speed is a division

In this lesson

  • 9 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 1 of 10 in this chapter

This chapter’s goalPredict the tokens-per-second a given model will produce on a given machine from memory bandwidth alone, say whether a model and context will fit in a stated amount of memory, choose a quantisation level and defend it with a measurement, estimate the cost of a token from a GPU’s hourly price, and explain the trade an alternative architecture is making.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
Bandwidth divided by bytes, five machinesData-centre GPU, 8B atbf16 (3,350 ÷ 16)209Consumer GPU, 8B at bf16(1,000 ÷ 16)63Laptop, unified memory, 8Bat 4-bit (200 ÷ 5)40Flagship phone, 3B at4-bit (60 ÷ 2)30Desktop CPU, DDR5, 8B at4-bit (90 ÷ 5)18tokens per second, single stream, upper boundEvery number is one division, and real systems reach sixty to eighty per cent of it. Note what isabsent: not one of these used a FLOPS figure. A card with twice the compute and the same bandwidthgenerates single-stream tokens at exactly the same rate.
Every number is one division, and real systems reach sixty to eighty per cent of it. Note what is absent: not one of these used a FLOPS figure. A card with twice the compute and the same bandwidth generates single-stream tokens at exactly the same rate.

Figure 7.1

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

One division

Here is the most useful single fact in this module. When a dense model generates one token for one user, it must read every weight once. So the fastest it can possibly go is:

Text
tokens per second  ≈  memory bandwidth  ÷  bytes of weights

That is it. Not the number of cores, not the FLOPS on the spec sheet. Bandwidth divided by size.

Put numbers in. A data-centre GPU of the H100 class moves about 3.35 terabytes a second from its memory. An 8-billion-parameter model in bf16 is 16 gigabytes. 3,350 ÷ 16 is about 209 tokens a second, and a real system reaches sixty to eighty per cent of that bound.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI, Actually Explained exam.

Stuck on something?Ask Anjali, your AI tutor

How to cite: Addaly (2026) ‘The bandwidth wall: why decode speed is a division’, in How a Language Model Actually Works. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-llms-work/the-bandwidth-wall (Accessed: 27 November 2026).