Raphael Friedmann
← Understanding AI

What a GPU is, and why AI needs one

Why running AI means buying a graphics card, what makes a GPU different from a CPU, and why the amount of memory on the card is the most important number.

Running AI at home usually requires a “GPU”, a graphics card. GPUs were designed for video games, so this lesson explains why generating text uses the same chip that renders game graphics.

A few big workers, or thousands of small ones

The chip you already have, the CPU, has a handful of very powerful cores. It’s very good at doing one complicated thing after another, quickly. A GPU is the opposite design: thousands of much simpler cores that all work at the same time.

Why AI runs on a GPU
CPU: a few powerful coresGPU: thousands of small ones, all at once
AI is the same simple sum done across billions of numbers. A CPU does a few at a time, fast; a GPU does thousands at once. That parallelism is the whole reason GPUs run AI.

That suits AI well. Running a model comes down to the same simple sum (multiply two numbers and add), repeated across billions of weights for every word. A CPU works through those a few at a time. A GPU does thousands at once. That’s the whole reason AI moved onto graphics cards.

The most important number: memory

The main limit, though, is not raw speed but memory.

An RTX 5090 has 32 gigabytes of VRAM. The model’s weights, plus the working memory it needs while it runs, all have to live inside that budget.

What fills a 32 GB card (one RTX 5090)
model weights15 GBworking memory5 GBfree12 GB
The model has to fit in here. Quantisation is what shrinks it enough to leave room for the working memory it needs while it runs.

So when people compare graphics cards for AI, two numbers matter most. How much memory (that decides how big a model you can run) and how fast that memory is (that decides how quickly it writes each word). On a 5090 those are 32 GB and about 1.79 terabytes per second.

This is also why quantisation, the technique of shrinking the model, matters so much: it’s what gets a big model under that 32 GB ceiling. And if you want to know what this particular card can and can’t do compared to the large ones in data centres, that’s its own story.