Skip to content

Inference 101, lesson 11

What a GPU does, and why memory matters most

A GPU can do sums far faster than it can fetch the numbers to do them on. This lesson opens the chip up, and shows why its memory, not its maths, decides how fast your answer arrives.

What do you run?

Every example below changes to fit what you pick. The businesses are made up for teaching.

The picture, one step at a time

Each box is one stage. The picture lights up as you scroll.

Step 1 of 6

Two parts: the sums and the memory

A GPU is two things packed together. One is a huge number of tiny calculators that do multiplies and adds, all at the same moment. The other is the memory beside them, which holds the model: billions of numbers learned in training. Every answer needs both. The calculators can only work on numbers that have been fetched from the memory.

As of 29 November 2026, NVIDIA's spec page lists its H100 chip (the SXM version) with 80 GB of memory.

Step 2 of 6

The road between them

Think of a kitchen. The cooks are the sums, the pantry is the memory, and a corridor joins them. Fast cooks with a narrow corridor spend most of their time waiting for ingredients. The width of that corridor is bandwidth: how many bytes the memory can send each second. Where the picture breaks: a real cook keeps ingredients on the counter. The chip's counter is tiny next to the model, so it goes back to the pantry for nearly everything, every single token.

NVIDIA lists the H100's memory bandwidth at 3.35 TB a second (read 29 November 2026). That sounds huge, until you compare it with the sums in the next step.

Step 3 of 6

Sums per fetch

Here is the heart of it. While writing one person's answer, each number fetched from memory is used for about one multiply and one add, then the chip needs the next number. But the chip could do hundreds of sums in the time one number takes to arrive. So the sums finish and wait. Reading your prompt is different: every fetched number is used for every word of the prompt at once, so the sums stay busy. Lesson 6 showed the main fix for writing: serve many people from each fetch.

Worked out from NVIDIA's own H100 figures (read 29 November 2026): it lists 1,979 trillion 16-bit sums a second, counted with a shortcut NVIDIA calls sparsity, so about half that for ordinary work. Its memory sends 3.35 TB a second, which is about 1.7 trillion 16-bit numbers. That is several hundred sums for every number it can fetch.

A chip maker doubles the sums but keeps the same memory speed. What happens to one person's answer?

Step 4 of 6

HBM: memory stacked right beside the chip

To widen the corridor, chip makers use high bandwidth memory, or HBM. Memory chips are stacked on top of each other and packed into the same package as the GPU, so data has less distance to travel and many more lanes to travel on. In the kitchen, it is like building the pantry on the kitchen floor instead of down the street. It helps a lot. But the corridor is still far slower than the cooks.

Micron, a memory maker, describes HBM as memory dies stacked vertically and placed in the same package alongside the GPU, "shortening the physical distance data must travel" (micron.com, read 29 November 2026).

Step 5 of 6

When the model is too big for one chip

The model has to fit in memory, with room left over for each conversation's notes (lesson 3). Take made-up round numbers: a model of 300 billion numbers, stored at 2 bytes each, takes 600 GB. On chips with 80 GB each, that is at least eight chips before any conversation gets room. Splitting works, but now the chips must pass results to each other, and that takes time too.

Each new generation adds memory as well as sums. NVIDIA's DGX B200 system lists 1,440 GB of memory and 64 TB a second of bandwidth across 8 GPUs (read 29 November 2026): about 180 GB and 8 TB a second per GPU, against 80 GB and 3.35 TB a second for one H100.

Step 6 of 6

What this means for you

When you compare chips or cloud offers for answering customers, read the memory lines first. Memory size tells you which models fit and how many conversations can share the chip. Memory speed tells you how fast each answer will be written. The headline sums figure matters most for reading long prompts, and much less for writing the answer.

You need faster replies for answering customers from the same model. Which spec do you look at first?

Which limit is that?

Here are four things you might see when a chip runs AI for your business. Sort each one into the limit that explains it.

  1. 1Your chat helper writes each reply one word at a time, and the chip's own report shows its sums are mostly idle.

  2. 2You paste the whole 40-page returns policy in, and for that first moment the chip's sums run flat out.

  3. 3A larger model you wanted to try will not load on your one-chip server at all.

  4. 4A newer chip with faster memory writes each reply sooner, though you never use its extra sums.

0 of 4 right so far, 4 to go.

The memory-first card

This is what you keep: how a GPU spends its time on one card, and the line to read first on any chip's spec.

The memory-first card

  1. A GPU is tiny calculators (the sums) plus the memory that holds the model.
  2. Bandwidth is how fast the memory can feed the sums. It is far slower than the sums themselves.
  3. Writing an answer uses each fetched number for only a couple of sums, so the chip mostly waits on memory.
  4. Reading a prompt reuses each fetched number many times, so that part keeps the sums busy.
  5. HBM is memory stacked beside the chip to widen the road. It helps, but it does not close the gap.
  6. A model bigger than one chip's memory is split across several, and the chips then spend time talking.

Memory size decides what fits. Memory speed decides how fast it writes. Read those before the sums.

Next: Lesson 12: Chips built for inference. What Google, Amazon and a handful of chip makers bet on instead of the GPU, and what each one trades.