Please enable JavaScript to use CodeHS

AI Literacy & Society

How Much Energy Does AI Use?

The hidden cost of a chatbot answer

When you ask a chatbot a question, a building full of computers does the thinking. Those computers run on electricity, and they get hot. Explore where the energy goes, play with three simulators, and learn to question any number you read.

Illustrative units ~15 min Beginner friendly
01 / The Big Idea

An AI answer is made of electricity

An AI chatbot feels like magic. You type a question and words appear. But there is no magic. The answer is made by real computer chips, and chips need electricity to work.

Most AI does not run on your phone. It runs in a data center, which is a huge building full of computers. Here is the trip your question takes:

  1. You askYour device sends the question over the internet.
  2. Chips thinkSpecial chips do a huge pile of math.
  3. Chips get hotAlmost all the electricity they use turns into heat.
  4. Cooling worksFans, air, or water carry the heat away.
  5. Answer returnsWords appear on your screen.
Data center
a building packed with computers that store data and run apps, including AI.
Chip
a small piece of electronics that does math. AI often uses chips called GPUs, which are good at doing many small calculations at once.
Energy
the amount of power used over time. A lamp that stays on longer uses more energy.
Cooling
the machines that remove heat so the chips do not break.
Efficiency
getting the same job done with less energy.
Read this first: every number on this page is a pretend unit made up to show how things change. They are not real measurements. Real estimates vary a lot, because they depend on the model, the chips, the building, and how the study was done. We will show you how to find current, trustworthy sources in the last part.

02 / Simulator

Data center in a box

Try building your own tiny data center. Pick how big the AI model is and how many people use it. Then switch on efficiency tricks and watch the power meter and the flow of electricity and heat.

Data center control panel

PRETEND UNITS

Bigger models do more math for every answer.

Each person asks 10 questions a day in this pretend world.

Efficiency tricks
low high
0
pretend power units per day (total)
0chips
0cooling
x1vs. start

Power flow (thicker pipe = more energy)

Power from the grid Chips do the math Cooling takes the heat Warm air and vapor out chips: 0 heat made: 0 heat out: 0 cooling power 0

Notice two things. First, almost all the electricity the chips use becomes heat, so a building full of chips needs a lot of cooling. Second, the cooling itself uses electricity. That is why smarter cooling helps.


03 / Model Size

Why do bigger models cost more?

An AI model is a huge pile of numbers called parameters. The model learned these numbers during training. Think of each parameter as a tiny dial. To write one answer, the computer has to read and use lots of those dials.

A bigger model has more dials, so each answer takes more math. More math means more chip work, more heat, and more cooling. Pick a size below, then press the button to make the model "check its dials" for one answer.

Dial counter

1 DOT = 1 PRETEND UNIT

Medium model: 16 units of work for one answer.

Bigger models can often write better, handle harder questions, and remember more. So there is a real tradeoff. A giant model is not always the right tool. Sometimes a small model is plenty, like when you only need a spell check.


04 / Simulator

Training vs. inference: one big bill or many small ones

There are two big moments when an AI uses energy.

  • Training is when the model learns from huge amounts of data. It happens before anyone uses the model. It is a giant, one-time cost, like building a factory.
  • Inference is when the finished model answers a question. Each answer is tiny. But there can be billions of them, like every product that factory ever makes.

So which one is bigger? It depends on how many people use the model. Slide the users and watch the teal line (answers, added up day by day) race toward the amber line (the one-time training cost).

Cumulative energy chart

PRETEND UNITS

0 90 180 270 365 Days since launch high 0 Training (one time) Answers added up Crossover
When do answers add up to more than training, for different numbers of people?
People per dayAnswers pass training

The lesson: a small cost times a huge number is a huge cost. For a model few people use, training is the main bill. For a model millions of people use, inference can overtake training fast. That is why engineers care so much about making each answer cheaper.


05 / Engineering

How engineers make AI more efficient

Energy costs money, so builders work hard to cut it. You already flipped these switches in the simulator. Here is what they mean in real life.

Smaller models

Not every job needs the biggest model. Engineers can train a small model to copy a big one on a specific task. They can also round the model's numbers so they take less space and less math.

Better chips

New chips are designed just for AI math. Each new design tries to do more calculations for the same amount of electricity.

Caching

If many people ask the same question, why do the work again? A cache saves a recent result so it can be reused. Computers use caching everywhere, not only for AI.

Smarter cooling and power

Better building designs move heat with less energy and less water. Builders can also pick cleaner power sources and run flexible jobs when that power is plentiful.

One catch: when something gets cheaper, people often use more of it. So a more efficient AI does not always mean less total energy. Engineers, companies, and governments all have to watch the total, not just the cost of one answer.


06 / Game

Check the claim

You will see energy numbers in headlines, ads, and videos. Some are fair. Some leave out the context that you need. Before you trust or share a number, ask three questions.

Per what?Per question? Per day? Per person? For the whole world? A number means nothing until you know the unit.
Compared to what?Is it big or small next to something else? "10 units" is not big or small by itself.
Who measured?Did an independent group test it, or did the seller say so? Is the method shared? What is the date?

Claim checker

FICTIONAL CLAIMS Claim 1 of 6, score 0
Made-up headline for practice

What is missing? Check every question the headline does not answer. If nothing is missing, check nothing.

Where to look up current numbers

Real estimates change as chips, models, and buildings change, and different studies get different answers. Do not trust one number from one place. Instead:

  • Look for reports from national energy agencies, university researchers, and the sustainability reports that companies publish. Read the date and the method.
  • Check what is being counted: just the chips, the whole building, training only, or answers only.
  • Compare two or more sources. If they disagree, find out why. The reason is often a different "per what."
  • Be careful with forecasts. They are guesses about the future, and guesses can be wrong in both directions.

07 / Quick Answers

Quick answers

Does AI really use a lot of energy?

Every AI answer runs on real chips in a data center, and chips need electricity. One answer is small, but a popular AI tool answers a huge number of questions, so the total can add up. How big the total is depends on the model, the chips, how many people use it, and who is measuring, so always check a recent, named source.

Where does AI run?

Most AI runs in data centers. Your phone or laptop sends your question over the internet, the data center computes the answer, and it sends the answer back. Some small AI models can run right on a phone or laptop instead.

What is the difference between training and inference?

Training is when an AI model learns from lots of data. It is a huge, one-time job. Inference is when the finished model answers a question. Each answer is cheap, but there can be billions of them, so inference can add up to more than training over time.

Why do bigger AI models use more energy?

A bigger model has more parameters, which are the numbers it learned during training. To make an answer, the computer has to do math with many of them. More numbers means more math, more chip work, more heat, and more cooling.

Why do data centers need water?

Chips turn almost all the electricity they use into heat. Cooling systems carry that heat away, and some of them use water that evaporates to do it. Others use air or liquid loops instead. The amount of water depends on the design and the local climate.

How can engineers make AI use less energy?

They can build smaller models that are good enough for a task, design chips that do more math per unit of electricity, save and reuse answers to repeated questions, cool buildings more cleverly, and run work when clean power is plentiful.

How can I check an AI energy number I see online?

Ask three questions: per what, compared to what, and who measured it? Then look for the date, the method, and whether the source is independent. Find current numbers from energy agencies, university researchers, and company reports, and compare more than one source.


08 / Check Yourself

Quick quiz

1. Why does a data center need cooling?

2. A model is trained once, then answers billions of questions. What can happen over time?

3. A headline says, "AI uses 500 units of energy!" Which question is most useful to ask first?

Keep learning about AI

Now that you know what powers an answer, look inside the model itself, see how it learns, and practice thinking critically about the AI you use.

All numbers in the simulators and games are made-up teaching units, not measurements.