✦
✦
✧
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
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
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
🏋️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
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