✦ ✦ ✧
Future-Ready · The Compute Stack

The computing behind an AI answer

Suppose a chatbot takes about two seconds to answer. For an online service, one way to trace the work is through five layers: energy → chips → data centers → model → app. Some models run on a phone, and a service may reuse a saved answer or switch to backup equipment.
🏗️Five layers in one example
Each layer supports another part of the service. 💬 APPLICATION user interface 5 An app, such as a chatbot or homework helper, sends a request and displays a response. 🧠 MODEL learned patterns 4 Training adjusts the model’s numerical weights. Inference uses those weights to generate an answer. The time required varies. 🏢 DATA CENTERS the buildings 3 Racks, cables and cooling equipment support servers. A large campus can draw power on the scale of a town. 🔲 CHIPS the silicon 2 Light patterns help form features on silicon. Some AI chips have over 80 billion transistors for calculations and control. ⚡ ENERGY GRID electricity 1 Power plants, lines and backup equipment supply electricity to the computing system.
The layer diagram traces a path from power and chips through a data center to the model and app.
🏁One chip’s international supply chain
Three places in one manufacturing example 📐 🇺🇸 California NVIDIA designs a GPU that can run many calculations in parallel. 💡 🇳🇱 Netherlands As of 2026, ASML is the only supplier of the EUV machines used for advanced layers. 🏭 🇹🇼 Taiwan TSMC: >90% of the world's leading-edge logic chips (U.S. Commerce, Apr 2024). 🏁 ONE AI CHIP 80+ billion tiny transistor switches
Design, manufacturing equipment, fabrication and packaging are parts of a supply chain. Cleanroom filters and protective clothing make fab air much cleaner than ordinary indoor air.
🏋️Training and inference
A training run followed by many answers 🏋️ In a large run: weeks to months TRAINING INFERENCE 💬 💬 💬 💬 💬 ONE TRAINING RUN Estimated for GPT-3: ~1,287 MWh (2021 estimate) electricity for one training run REPEATED REQUESTS Google estimated a median Gemini Apps text prompt at 0.24 Wh (Google, median text prompt, May 2025) Energy use varies by request.
🏋️TRAINING
What happensDuring training, processors repeatedly adjust a model’s numerical weights to reduce errors on examples. Large models can use thousands of processors over weeks or months.
Teams may train updated versions or fine-tune an existing one.
🏀INFERENCE
What happensWhen someone sends a question, the model uses its trained weights to generate a response. The calculations can run in a data center or on a device.
Many requests can add up to substantial use.
🔌Electricity for training and inference
🌍 ALL the electricity used on Earth data centers are this thin sliver (2024) 🔍 Zoomed in on the sliver 2024 ~415 TWh · about 1.5% of the world's electricity (IEA) 2030? IEA Base Case: ~945 TWh Comparable to Japan’s use at the time of the estimate.
Energy per request energy per prompt about 1/33 as much later result one year earlier one year later
Measuring efficiency
Efficiency means doing a comparable amount of useful work with fewer resources.
Over about a year, Google reported cutting the energy of its median Gemini Apps text prompt by roughly a factor of 33. The estimates reflect changes in hardware, software and operations. They do not tell us the energy of every request.
Google also reported improvements on quality measures for the service over that period.
More efficient hardware and software can lower the energy per request. Total electricity demand also depends on how many requests people make.
🔑Key Terms
🏗️Compute stack A model of how energy, processors, computing facilities, software models and applications work together.
🎂Layer One level of a bigger system that does its own job while depending on the levels below it.
🏋️Training Using data and an objective to adjust a model’s weights. Teams may pretrain, fine-tune or train a new version.
🏀Inference Using a trained model to make a prediction or generate a response to new input.
🧠Model A mathematical system with learned parameters. A language model can generate fluent answers that contain errors.
🏢Infrastructure Equipment and facilities such as buildings, cables, cooling systems and power connections.
🌍Supply chain The organizations and steps involved in making and delivering a product.
🧰Jobs across the computing system
🏗️Data center builds · U.S.
Who's neededElectricians, HVAC specialists and power engineers wire buildings, remove heat and connect facilities to the grid.
🎓 An apprenticeship is one route into electrical or HVAC work. Requirements differ by role and location.
🧑‍🔬Chip fabs · Taiwan & Arizona
Who's neededCleanroom technicians wear protective clothing while operating and monitoring fabrication equipment. TSMC’s Arizona expansion includes technical manufacturing roles.
🎓 Some technician roles accept a two-year technical degree or relevant training and experience.
🔦 Other jobs include fiber installers, chip designers, model researchers, safety testers and app developers. Imagine that at 7:43 a.m. a student asks a chatbot about photosynthesis. The software runs on systems these workers helped design, build and maintain.
🤯Examples of scale
☀️ Hotter than the Sun’s surfaceASML’s EUV systems use laser pulses on molten tin droplets tens of thousands of times a second. The hot plasma gives off light used to pattern a chip.
🧵 Thinner than a hairA hair can span more than a thousand transistor features, depending on the chip. An advanced processor can hold over 80 billion transistors in a small area.
🗺️ Comparing electricity useThe IEA’s 2024 global estimate of 415 TWh was comparable to the annual electricity use of a large country. This includes all data center workloads, not only AI.
⭐Following a request
1Find the hardware. Cloud-hosted chatbots run on processors in data centers. Smaller models may run on processors in a phone or computer.
2Distinguish training from inference. Training adjusts the model’s weights. Inference uses those weights to answer a request. Repeated training and repeated requests both use electricity.
3Trace the supply chain. Chip designers, equipment makers, foundries, cloud providers and software teams each contribute to the system.
🗼 Start with a response on the screen. Which layers would still be involved if the model ran on your phone instead of in a data center?
✏️ ClickClass · The computing behind an AI answer
ClickClass offers hundreds of free printables at clickclassedu.com/printables.