Why Does AI Need So Much Computing Power? GPUs Explained
Why training and running AI models takes specialized chips and big data centers, and why a model that fits on a laptop is a different story.
News about AI often comes with talk of chips, data centers and electricity. A company is “buying more GPUs.” A model “runs on a laptop.” Another one “needs a cluster.” If you’ve wondered why an AI chatbot needs so much more than your word processor does, this post explains it without the jargon.
The short version
An AI model is, at its core, an enormous collection of numbers. Using the model means doing a huge amount of arithmetic with those numbers, over and over. Training the model means doing even more. The work isn’t complicated math. There is just a vast amount of it, and it can be split into many small pieces done at the same time. Chips called GPUs are good at exactly that.
Why so much arithmetic?
Recall what a model is. Inside a language model are billions of adjustable numbers, often called parameters or weights. When you type a question, your words are turned into numbers. Those numbers are passed through the model’s layers, and at each step they are multiplied and added with the model’s stored numbers. The result is a prediction of the next small piece of text. The model then repeats the whole process to produce the one after that, and so on until the reply is finished.
So a single answer means running the model’s calculations again and again, once for every small piece of text it writes. A longer answer means more rounds.
Think of a huge spreadsheet where every cell depends on thousands of other cells, and the whole sheet must be recalculated for every word you read. Each individual formula is simple. The size of the sheet is what makes it heavy.
Why GPUs?
A typical computer processor (a CPU) is like a small team of very capable generalists. Each one can handle many kinds of tasks and make decisions quickly. A GPU, short for graphics processing unit, is more like a huge crowd of workers who each do one simple kind of arithmetic. GPUs were originally built to draw images on screens, which also means doing the same simple calculation for millions of pixels at once.
It turned out that AI needs the same kind of work: the same simple multiply-and-add, repeated across enormous grids of numbers. A crowd of simple workers doing it in parallel beats a few brilliant ones doing it one after another. That’s why GPUs, and other chips designed for similar work, became the standard hardware for AI.
Training versus using a model
Two different jobs get called “AI computing,” and they have very different sizes.
Training is when the model learns. It processes a vast collection of examples and keeps adjusting its numbers to get better. This is the most demanding stage. Large models are generally trained across many chips working together for a long time, which is why training is something only some organizations do from scratch.
Using a model, often called inference, is when the finished model answers you. Each answer needs far less work than training did. But a popular service answers a great many people at once, so the total adds up. And a very large model needs a lot of capacity for each answer.
This is why training one model can take a building full of equipment, while answering your question takes a short moment of a slice of it.
Memory matters as much as speed
There is a second constraint that’s easy to miss. The model’s numbers have to be loaded into the chip’s fast memory to be used. A model with more parameters needs more memory just to be held ready, before it does any work. That’s one reason “bigger” models need more or better hardware, and why you’ll hear about a model “fitting” on a particular device.
There is also a trade-off between precision and size. Numbers can be stored with more or fewer digits of detail. Storing them with less detail makes a model smaller and easier to run, usually at some cost to quality. This is often called compression or quantization. How much quality is lost varies from model to model.
Why some models run on a laptop and others don’t
Not every model is huge. Smaller models have far fewer parameters, so they need less memory and less arithmetic. Some can run on an ordinary laptop or even a phone, though they are generally less capable than the largest ones at hard tasks. The biggest models typically run in data centers.
There’s also a design idea called mixture of experts. In these models, only part of the model is used for each piece of text, instead of all of it. That can cut the arithmetic per answer, though the whole model still has to be stored. This is how a model can be very large and yet cheaper to run than its size suggests.
For more on model size, see our post on what “70 billion parameters” means.
What’s well established, and what’s debated
Well established:
- Training and running large AI models involves a very large number of simple calculations, and GPUs and similar chips are well suited to it.
- Training generally needs far more computing than answering a single question.
- Bigger models need more memory, and smaller ones can run on lighter hardware.
Debated or uncertain:
- How much computing future AI will need. Some people expect it to keep growing quickly. Others expect better methods to reduce the need. Nobody knows for certain.
- How much energy and water data centers should be expected to use, and how that compares with other industries. Estimates vary, and you should be careful with any single number you read in a headline.
- Whether making models bigger will keep improving them at the same pace, or whether smarter training matters more.
What this means for you
For everyday use, the practical points are simple:
- Every answer from an online chatbot uses real computing somewhere, and the provider is sharing that capacity among many users.
- When a company says a model “runs locally,” it means the model is small enough for your own hardware, which can be better for privacy but may be less capable.
- When you hear about huge investments in chips and data centers, the reason is the pairing above: a lot of arithmetic, done in parallel, with enough memory to hold the model.
AI isn’t running on magic. It’s running on enormous amounts of ordinary arithmetic, made practical by chips designed to do many small calculations at once.
Related
What Does It Mean to Train an AI Model? Training vs. Using It
A plain-English look at what happens when an AI is trained, how that differs from using it, and why the difference explains a lot of AI news.
What Is On-Device AI? Why Some AI Runs on Your Own Phone or Laptop
On-device AI runs on your own hardware instead of a company's servers. Here's what that changes for privacy, speed and quality, and what it doesn't.
What Is a Foundation Model? One Big AI Base for Many Jobs
A foundation model is a large AI model trained once on broad data, then adapted to many tasks. Here's what that means, and what it doesn't.