Why does AI need so many GPUs, and what is the difference between training and inference?
The chip that draws dragons in a video game turned out to be the chip that teaches AI to write.
▶ Start the storyAI needs so many GPUs because an AI model is, underneath, an enormous pile of simple arithmetic, and a GPU is a chip built to do huge numbers of calculations at the same time. A graphics processing unit was designed to draw pictures, and the parts of a picture can mostly be worked out independently of one another. So a modern GPU packs hundreds or thousands of small calculation units that all work side by side.
That design turned out to fit AI as well as it fits video games. GPUs sit in graphics cards, phones and game consoles, yet in the 2020s they have increasingly been used to train on the enormous datasets AI needs. Many modern GPUs even carry cores specialised for deep learning.
Two different jobs use these chips. Training is when a model is built: a GPT-style model is first pretrained to predict the next word from a large amount of data, then fine-tuned. Inference is when you use the finished model: you give it an input and it hands back text, images or code. By one estimate, training costs more computing per token than inference does.
Training
- Builds the model
- Pretrains on a large amount of data, then fine-tunes
- About 6 per parameter per token (one estimate)
Inference
- Uses the finished model
- Takes your input and returns text, images or code
- About 1 to 2 per parameter per token (one estimate)
Because the chips are so power-hungry and numerous, they are packed into specialised AI data centers. When you chat with an AI on your phone, hosted inference means the work is done in a remote data center and the answer travels back over the Internet. As of 2026, one encyclopedia article estimated that major tech companies would spend about $650 billion on such buildings that year.
Quiz me
0/3
Recap
AI is a mountain of simple sums, and GPUs do thousands of sums at once.
💡 A trick to remember it · Picture a kitchen with a thousand cooks each chopping one carrot: that is a GPU, and AI is a very big salad.
Surprising fact · Chips made to draw games now train AI; training is the build phase, inference is the use phase.
Connects to
- 💻 How did computers first sneak into the movies, from Tron to Jurassic Park?
- 🏢 Why can one data center use as much electricity as 100,000 homes?
- 📈 Why did computer chips double in power every two years, and can it last?
- 🧠 How does a network of fake neurons learn to recognise a cat?
- 💬 How does a large language model write a sentence, one piece at a time?
Sources (3)
No source, no claim. Every fact in this lesson (14 claims) cites at least one of these.