From Switch to Supercluster: Can the Grid Keep Up?

Timeline, 1822–2026
  1. 1822◆Babbage proposes the Difference Engine
  2. 1843◆Lovelace publishes the first program, for the Analytical Engine
  3. 1936◆Turing: a machine that can imitate any other
  4. 1937Shannon: relay circuits do Boolean logic
  5. 1941◆Zuse’s Z3, a programmable relay computer
  6. 1943McCulloch and Pitts: a neuron as a switch
  7. 1946ENIAC: 17,468 tubes, 150 kW
  8. 1947The transistor, Bell Labs
  9. 1958Rosenblatt’s perceptron
  10. 1959The MOSFET (Atalla and Kahng) and the planar chip
  11. 1965Moore’s observation
  12. 1969Minsky and Papert’s Perceptrons
  13. 1971◆Intel 4004, made for Busicom of Japan
  14. 1974Dennard’s scaling rules
  15. 1976Cray-1
  16. 1986Backpropagation popularised
  17. 1989LeCun’s convolutional network reads zip codes
  18. 1997◆LSTM (Hochreiter and Schmidhuber)
  19. ~2005Dennard scaling ends; clock speeds stall
  20. 2007CUDA lets GPUs run general code
  21. 2009ImageNet
  22. 2011◆K computer tops the TOP500
  23. 2012◆AlexNet, trained on two gaming GPUs
  24. 2017“Attention Is All You Need”
  25. 2020Scaling laws; GPT-3; Fugaku tops the TOP500
  26. 2022Chinchilla; H100; ChatGPT
  27. 2024100,000-GPU clusters; a 1,500 MW data-centre load drops off the Virginia grid
  28. 2025◆IEA: data centres used 415 TWh in 2024

Hold a 100-watt lamp lit for a little under nine seconds and you have used about as much electricity as Google says its median Gemini prompt takes. Add up everything AI now does, the feeds and ads it ranks, the code its agents write, the video it makes, and by this series’ estimate the total for 2025 comes to about 55 TWh, a fifth of one per cent of the world’s electricity. That is small. But in 2026 four companies are spending about $730 billion on the chips and buildings to multiply it, enough for about 19 GW of new AI data centres in a single year, when the whole world had 31 GW at the end of 2025.

So the question worth asking is not whether AI will one day eat the world’s energy: on any numbers that can be checked today, it will not. It is nearer and harder. This decade, can the grid connect the power that AI is buying? In the United States, where nearly half of the world’s data-centre electricity is used, the answer turns less on kilowatt-hours than on power that can run at every hour, and on the turbines, wires and transformers that deliver it.

To see how a question about chatbots became a question about power plants, start with a switch. Take two light switches and two lamps, wire them the right way, and they add: flip both on and the lamp that means “two” lights up. A chatbot answering a question is, underneath, that same trick done by a few hundred billion switches flipping in a building that draws as much power as a town. This essay builds that machine up from a switch you can tap, follows the three things that had to get cheap together, the switch, the joule and the example to learn from, and ends at the grid.

It starts with arithmetic made of switches, then the idea that one machine can run any program. Then the transistor, and the fifty years in which chips got better by getting smaller, until heat called time. Then a different way to program a computer: not writing rules, but nudging numbers until the machine gets examples right. Then what happened when people found that doing more of that, on more data, kept working. The last six sections are about power: what a megawatt-hour buys, what a cluster asks of the grid, what AI uses now and what the money will buy, whether the grid can connect it, who pays, and the long run.

Almost every figure is live. Under each one, the ⓘ data button says whether it uses real data or is a simplified model built to show a mechanism, and gives its sources. The deeper pages are in the Series menu at the top of the page and on the case map, and many sections end with a “Deep:” link to theirs; where a section overlaps one, the deeper page has the full working. The essay also leans on a sister series, Why Did Electricity Stop Getting Cheaper?, wherever power and prices come in.

  1. 1A sum made of switches
  2. 2Rules on a tape
  3. 3Faster switches, and what a flip costs
  4. 4Moore, Dennard and the heat wall
  5. 5A joule per operation
  6. 6Many slow hands
  7. 7Learning instead of programming
  8. 8Rolling downhill
  9. 9Layers
  10. 10Data, and 2012
  11. 11Attention
  12. 12Scaling
  13. 13What a megawatt-hour buys
  14. 14The factory and the grid
  15. 15What AI uses, and what the money buys
  16. 16Can the grid connect it?
  17. 17Who pays
  18. 18The long run
  19. Final words
  20. Notes and sources

1A sum made of switches

Deep: Rules.

Everything a computer does is built from switches that control other switches. Wire two switches to two lamps, one lit when exactly one switch is on and the other when both are, and the lamps add the switches in binary: 1 + 1 lights only the left-hand lamp, which reads “10”, one two and no ones. The two wirings are the first logic gates, XOR and AND. Copy the arrangement once per column and the carry from each column passes to the next, as in long addition at school. Claude Shannon’s 1937 thesis showed that relay circuits like these are Boolean algebra made physical: arithmetic, comparison and memory are patterns of switches driving switches.1 Rules builds the adder for you to tap, and shows the carry rippling along.

Two things already matter. The answer is not instant: each column waits for the carry from its neighbour, so a wider adder is slower unless it is cleverer. And every change flips some of the switches inside, between two and thirteen of the twenty in a four-bit adder. Speed and the number of flips decide everything that follows.

The maths: binary and the full adder

A binary number with digits b3b2b1b0 means 8b3 + 4b2 + 2b1 + b0. One full adder takes bits a, b and an incoming carry c and produces

sum = a ⊕ b ⊕ c, carry = (a ∧ b) ∨ (c ∧ (a ⊕ b))

where ⊕ is XOR, ∧ is AND and ∨ is OR: two XORs, two ANDs and one OR, the five gates in each column of the adder on Rules.

How a relay clicks, how a valve amplifies, and why a transistor’s current falls tenfold for every 70 millivolts or so are worked through in Rules.

2Rules on a tape

An adder does one thing. The leap that made computers was a machine that could be told what to do. Babbage’s unfinished Analytical Engine and Lovelace’s notes on it came first;2 the 1936 answer is the one that stuck. Alan Turing asked what it means for anything to be computable, and answered with a machine so simple it fits in a sentence: a tape of squares, a head that reads and writes one square at a time, and a short table of rules.3 His point was that one such machine can read a description of any other from its tape and imitate it. That is a general-purpose computer: the wiring stays fixed and the program is just data. Everything since, from ENIAC to the chip in a phone, is a faster version of this idea, with the tape replaced by memory. Rules lets you run one.

3Faster switches, and what a flip costs

Deep: The price of a flip (Landauer peek included).

Relays take milliseconds (Zuse’s 1941 Z3 needed about 2,600 of them); tubes have no moving parts but burn heaters whether they switch or not — ENIAC’s 17,468 tubes drew about 150 kW for 5,000 additions a second.45 The Rules and Flip pages open those mechanisms. The transistor (1947; the MOS transistor that chips are built from, 1960)6 replaced both. What matters for the rest of this tour: every transistor flip fills or empties a tiny wire and the next gate with charge, like a bucket from a tank to a drain. The energy leaves as heat.

Model A water analogy for one logic gate switching. The tank’s height is the supply voltage, the bucket is the capacitance of the wire and the next gate, and the two valves are the transistors that connect it to the supply or to ground. The femtofarad and volt values are illustrative.

A full flip and back costs the bucket’s charge times the tank’s height — half lost charging, half dumping. That is chip economics for forty years: a smaller transistor has a smaller bucket; lower voltage helps twice (charge and push). Halve both and each flip costs an eighth. The maths and the measured joules-per-tick sit on Flip.

The maths: energy per switch

A capacitance C charged to voltage V holds charge Q = CV and energy ½CV². Charging it from a supply at V draws CV² from the supply; half is stored and half is dissipated in the transistor that does the charging. Discharging dissipates the stored half. So each full on-off cycle turns CV² into heat, ½CV² per transition, and a chip with N gates switching on a fraction α of its f clock ticks per second dissipates about

P ≈ α · N · C · V² · f

What sets the smallest line a chip factory can print, and what that costs in light and yield, is in The Price of a Flip: printing with light.

4Moore, Dennard and the heat wall

Gordon Moore’s 1965/1975 doubling rule held, give or take, for fifty years — from the Intel 4004’s ~2,300 transistors (1971) onward.78 Why smaller also meant faster and no hotter is Dennard’s 1974 rule: shrink every dimension and the voltage together; energy per flip falls, clocks rise, heat per area stays flat.9 The figure tracks the biggest chips’ transistors, clock, power and cores.

Data Transistor count, clock frequency, typical power and number of cores of microprocessors, 1971–2021, from Karl Rupp’s Microprocessor Trend Data (CC BY 4.0), each in its own unit (thousands of transistors, megahertz, watts, cores) on one logarithmic scale.10 The dashed line is a least-squares fit to the clock speeds of every chip in the data from 1985 to 2004 (about ×1.33 a year), carried forward; the open dot on it is the clock that trend predicts for the year you pick.

Drag past 2005: transistors keep climbing, but clocks stall near 3–5 GHz and power flattens near a hundred watts. Voltage stopped falling near one volt — lower and the switch leaks when “off” — so a faster clock only meant more heat. The green dots are the answer: cores. Split the job across many slower workers. That hinge is where modern AI hangs.

The maths: Dennard scaling

Shrink lengths and voltage by a factor k > 1. Capacitance falls as 1/k, voltage as 1/k, and delay as 1/k so frequency rises by k. Power per transistor, CV²f, falls as (1/k)(1/k²)(k) = 1/k². Transistors per area rise by k², so power per area is unchanged. Once V stops falling, power per transistor falls only as 1/k while density still rises as k², and power density grows by k every generation at the same clock.

The energy per transistor per clock tick, measured on half a century of processors, and the “dark silicon” that the end of Dennard scaling left behind are in The Price of a Flip.

5A joule per operation

Put the two trends together, smaller switches and lower voltages, and the cost of one operation in energy has fallen by a number too large to picture. ENIAC used about 30 joules for every addition, 150 kW divided by 5,000 additions a second. A modern AI chip does more than a trillion operations per joule.

Data Operations per joule. Grey bars are whole machines, with 64-bit arithmetic for the supercomputers on the TOP500 list (Linpack result divided by reported power) and ENIAC’s and the Cray-1’s published peak rates and power.51112 Blue bars are single AI chips at their rated power with 16-bit arithmetic (32-bit for the GTX 580), from Epoch AI’s Machine Learning Hardware data (CC BY).13 They are not like for like; see the note. Training compute is from Epoch AI’s Notable AI Models data;14 world electricity is Ember’s 2025 total.35 ◆ marks machines built outside the United States.

Run GPT-3’s training on ENIAC and the energy comes to about 80,000 years of all the electricity the world now generates, and the time to about two trillion years. Run it on one H100 and the chip alone needs about 60 megawatt-hours, although it would take about ten years. Neither is how it was actually done, but the gap, a factor of about forty trillion, is why the methods of section 7 waited half a century to work.

The comparison mixes two different things on purpose. The supercomputers count everything they draw, including memory, networks and the machine’s own cooling, and use 64-bit numbers. The chips count only the chip at its rated power and use 16-bit numbers, which are much cheaper. Section 13 adds back the server, the building and the cooling.

6Many slow hands

Deep: Parallel.

After 2005 a faster computer meant more workers, not a faster one. How much that helps depends on the job. Some work must happen in order, each step needing the last; some can be shared out.

Model A job with a fixed share that must happen in order (grey) and the rest shared equally among workers (blue). The speed-up is the time for one worker divided by the time for many, a rule written down by Gene Amdahl in 1967.15

With even 5% of the job in order, a thousand workers are only about twenty times faster than one. Most ordinary programs are like that, which is why a laptop with sixteen cores does not feel sixteen times faster. But some jobs have almost no grey. Drawing a frame of a video game means working out the colour of two million pixels that do not depend on each other. Graphics chips, GPUs, were built for exactly that: thousands of simple arithmetic units doing the same thing to different data.

In 2007 Nvidia released CUDA, which let programmers use those units for any arithmetic, not only pictures.16 Scientists used them for physics. As section 9 shows, the arithmetic of a neural network is almost all grey-free multiplication and addition, which made GPUs the right machine for a kind of program that, in 2007, hardly anyone thought worth running.

The maths: Amdahl’s law

If a fraction s of the work is serial and the rest is spread perfectly over N workers, the speed-up is

S(N) = 1 / ( s + (1 − s) / N ),

which approaches 1/s however large N grows.

Why a matrix multiply is ideal work for many hands, and why a chip often waits on memory instead of computing, are worked through with a roofline you can move in Parallel.

7Learning instead of programming

Deep: A model.

Everything so far is a computer following instructions someone wrote. Now try a problem where nobody can write the instructions. Below are red and blue dots. Draw a straight line that keeps them apart.

Model Thirty-four dots in two classes that a straight line can separate. The shading shows which side of your line counts as red. “Let it learn” runs Rosenblatt’s perceptron rule from wherever your line is.

You did it by eye. The machine does it with a rule so simple it fits in a sentence: pick a dot it has got wrong, and nudge the line a little towards putting that dot on the right side; repeat. The line’s position is set by three numbers, its tilt in two directions and its offset, and learning is nothing more than turning those three knobs. They are called weights.

Frank Rosenblatt described this machine in 1958 and built it in hardware as the Mark I Perceptron, with photocells for eyes and motor-driven knobs for weights.17 It could learn to tell simple shapes apart. Nobody wrote a rule for what a triangle looks like; the rule was in the examples. That is the whole idea of machine learning, and everything in the rest of this essay is that idea scaled up by factors of billions.

It ran into trouble quickly. Some patterns, as section 9 shows, cannot be split by any single line, and the perceptron has no way to do better. For two decades the field mostly moved on.

8Rolling downhill

The perceptron’s nudges only work for one line. To adjust millions of knobs at once we need a better picture of what “getting it less wrong” means. Measure how wrong the machine is with a single number, the error (or loss). Every setting of the knobs has an error, so the errors form a landscape, with one direction for every knob. Learning is then finding a low point in that landscape. With only two knobs it can be drawn as real ground: below, the two knobs run across the floor and the height is the error.

Model An error landscape for a machine with two knobs: each point on the floor is one setting of the two knobs, and the height above it is the error at that setting. The ball takes steps in the steepest downhill direction, the white arrow, each step a fixed fraction of the slope: gradient descent. The error formula is made up for the picture: L = 0.12(x − 1.2)² + 1.5(y − 0.35 sin 1.7x)², a long curved valley. Height is drawn as ln(1 + L), so the shallow floor stays visible; colour bands mark equal heights. Without WebGL the same figure appears as a flat map seen from above.

A real model’s landscape cannot be drawn; it has far too many dimensions. But at any point you can work out which way is downhill, the gradient, and take a step. Small steps crawl along the curved floor of the valley. Large steps are faster until, past some size, every step overshoots the floor and lands higher up the other wall, and the ball zigzags or flies off entirely. Choosing that step size is still, seventy years on, one of the fiddliest parts of training a large model.

The maths: gradient descent

With weights w and loss L(w), each step is

w ← w − η ∇L(w),

where ∇L is the vector of partial derivatives and η the step size (learning rate). On a valley with curvature λ across it, the steps converge only if η < 2/λ, which is why the ball in the figure starts to zigzag and then escapes as the step size grows.

9Layers

Here is a pattern no straight line can split: a blue cluster surrounded by a red ring. The fix is to use several lines at once and combine them. Each dashed line below is one neuron: it is exactly the line from section 7, with its own three knobs. A final neuron combines their outputs. The whole thing is a neural network, and the ball from section 8 is rolling in a landscape with one dimension per knob.

Model A network with one hidden layer (2 inputs, up to 8 hidden neurons, 1 output), trained live in your browser by gradient descent on all the dots at once. The background colour is the network’s guess at each point; the dashed lines are the hidden neurons. Training pauses when the figure is off screen.

With two lines there is no way to fence in the blue cluster, and the error stalls. With three or more, the network finds a triangle-ish fence and then rounds it off. It finds that shape itself. The trick that makes this possible for networks with many layers is called backpropagation: working out the downhill direction for every knob at once, by passing the error backwards through the network one layer at a time. It was described in the 1970s and made famous by David Rumelhart, Geoffrey Hinton and Ronald Williams in 1986.18

Look at what the computer is doing on each step. For every dot, for every neuron, multiply each input by a weight and add them up. Then the same backwards. It is the same few multiply-and-add operations, repeated over and over on different numbers, with almost nothing that has to wait for anything else. That is the grey-free job of section 6. Once networks got big, they were a perfect fit for GPUs.

Why one line cannot draw XOR, how the blame is passed backwards, and why momentum helps are worked through with figures on the companion page A Model.

10Data, and 2012

A network with millions of knobs can learn almost anything, including the accidents of whatever examples it was shown. To learn something general it needs many examples. In 2009 Fei-Fei Li’s group at Princeton and Stanford published ImageNet, millions of photographs each labelled by people, through Amazon’s crowd-work service, with one of thousands of categories.19 From 2010 a yearly contest asked programs to label 150,000 test photos in 1,000 categories, scoring an answer as right if the true label was among their five guesses.20

Data + Data + model The big number is the top-5 error of the winning entry in the ImageNet Large Scale Visual Recognition Challenge’s classification task, 2010–2017.2021 The 24 photos are not ImageNet’s: they are freely licensed photos from Wikimedia Commons, one per class, chosen by subject before any network saw them (credits in note 37).37 For 2012, 2014 and 2015 the ticks and guesses are real outputs of torchvision’s re-trained copies of AlexNet, GoogLeNet and ResNet-152, run for this page on each photo’s centre crop. Those copies are single networks, so they miss more than the contest entries, which combined several. Twenty-four photos of easy subjects say little about a 1,000-class error rate, so read the ticks as examples, not a measurement. There is no runnable copy of the other years’ winners. Training compute from Epoch AI.14 The human figure is one trained annotator.

Hand-designed features stalled near 25% error in 2010–11. In 2012 Krizhevsky, Sutskever and Hinton’s AlexNet (~60M weights, two GTX 580s, about a week) cut it to 16%.22 The idea was old; the labelled data and cheap parallel arithmetic were new. Within three years almost every entry was a network, and the best beat a trained person. Plotted against training operations, the winners line up: AlexNet → ResNet-152 is ~22× compute for a 4.6× fall in contest error.

Data Filled dots: contest top-5 error of the entries built on each design (winners, plus VGG, second in 2014, and ResNeXt, second in 2016).2021 Open dots: one network of that design re-trained by torchvision, on ImageNet’s validation photos with a single centre crop.37 Horizontal position: Epoch AI’s estimate of the operations to train one network.14 Contest entries often combined several networks, so their true compute is higher than plotted. Winners without an Epoch estimate (2010, 2011, 2013, 2017) are left out.

11Attention

Deep: Language.

Language is harder than pictures because meaning depends on order and on words far apart. In “the robot put the cup on the table because it was empty”, “it” is the cup, and only “empty” says so. Through the 2010s the best language networks read a sentence one word at a time, carrying a summary of everything so far in a memory that had to be updated before the next word could be read.

Data + model Attention weights of a real transformer, 2 layers of 4 heads with 251,520 weights, trained for this page on the two Alice books (about 62,000 words; held-out perplexity 94, against 105 for the best word-pair count model).36 Each word can look only at itself and earlier words, because the model was trained to guess the next one. Nobody chose these weights. Across the six sentences, the first-layer heads most often look one word back; head L2·H3 most often goes back to the sentence’s main character (for about half the words); many patterns have no simple name, and some fail where you would expect them to work. The second view shows a network that reads one word at a time, with the fading memory that made long sentences hard.

In 2017 eight researchers, most of them at Google, proposed the transformer, built around a mechanism they called attention: every word computes, all at the same moment, how much to draw from every other word.23 In a model that writes text, like the tiny one above, each word looks only backwards, at itself and what came before. Nothing has to wait for the previous word, so a whole passage can be processed in parallel, and nothing fades with distance. It was a better model and, just as important, a better fit for GPUs: grey-free arithmetic again. Nearly every large language model since is built on it.

Queries, keys and values, the memory problem attention solved, and a next-word predictor counted from Alice in Wonderland are in A Model.

12Scaling

Deep: Scaling · The data.

The next discovery was not a new idea but a measurement. In 2020 a team at OpenAI trained language models of many sizes and found that their error fell along a smooth, predictable curve as they added parameters, data and compute: ten times the compute bought roughly the same fractional cut in error each time, over seven orders of magnitude.24 In 2022 DeepMind in London refined the recipe, showing that for a fixed budget the models of the day had too many parameters and too little data; their 70-billion-parameter Chinchilla, trained on 1.4 trillion words and word fragments, beat models four times its size.25 If error falls predictably with compute, the way to a better model is to buy more compute. People did. In the next figure each dot is a notable model, coloured by where it was built: the United States, China, the UK or elsewhere.

Data Estimated training compute of 540 notable AI models, 1950–2026, from Epoch AI’s Notable AI Models data (CC BY), coloured by the country of the developing organisation.14 Dashed lines are least-squares fits to all the dots before and after 2010. GPU-hours assume an H100’s 989 trillion 16-bit operations a second at 38–43% utilisation; the energy uses section 13’s range.26

For sixty years the compute used to train notable models grew about as fast as Moore’s law. Since about 2010 it has grown far faster, roughly fourfold or more every year, which Epoch AI’s own analysis of the largest models also finds.27 Chips did get better: from the GTX 580 of 2010 to the B200 of 2024, operations per joule rose about 350-fold (section 5), much of it from moving to 16-bit numbers. Over the same fourteen years the fit says training compute rose by a factor of hundreds of millions. The rest came from buying more chips and running them for longer. Of the 540 models, 57% come from American organisations and 17% from Chinese ones; Britain, South Korea, Germany, Canada and a dozen other countries account for most of the rest.

The maths: compute, parameters and tokens

Training a transformer with N parameters on D tokens takes about C ≈ 6ND floating-point operations: two per parameter per token for the forward pass and four for the backward pass. Chinchilla’s fit put the compute-optimal ratio near D ≈ 20N. Converting to GPU-hours divides C by the chip’s peak rate times its utilisation (the share of peak a real training run achieves) and by 3,600 seconds.

How a fixed budget is best split between model size and data, whether the training data runs out, and what a frontier run costs are in Scaling, with the data wall and the training bill. What happens after pretraining, an industry of paid experts writing, ranking and grading for the next model, is the data flywheel.

13What a megawatt-hour buys

Deep: The demand · The yardstick.

A GPU-hour is now a unit of trade, rented by the hour from cloud companies. A kilowatt-hour is the unit of the electricity series. Here is the exchange rate. An Nvidia DGX H100 server holds eight H100 chips and draws at most about 10.2 kW, so 1.275 kW for each GPU’s share of the chips, processors, memory, fans and network cards.28 The building adds cooling and power conversion on top, measured by its power usage effectiveness (PUE), from 1.09 for Google’s fleet to 1.56 for the average site in Uptime Institute’s survey,29 so at full draw one megawatt-hour runs between about 500 and 720 H100-hours. The AI Factory follows that megawatt-hour from the meter to the chips.

A training run of a hundred thousand GPU-hours needs roughly 140–200 MWh. At $85 per MWh, the 2025 US average price for industrial customers, the electricity for one GPU-hour is 12–17 cents. The chip is far dearer: one H100’s share of a DGX server sold for about $33,600 in 2023, which spread over four years of round-the-clock use is $33,600 ÷ 35,040 hours ≈ $0.96 an hour, before the building; renting one from a cloud costs about $6.13 That is why AI companies buy chips first and electricity second, and also why, once chips are plentiful, it is the electricity, and the grid connection to deliver it, that runs out.

What sets that price, and why it differs so much by hour and by place, is the subject of the electricity series’ merit order and what a power plant costs.

14The factory and the grid

Deep: The AI factory · Orbital.

Put many servers together and the numbers leave the scale of buildings — xAI’s Memphis cluster (100,000 H100s, 2024) needed about 150 MW and ran gas turbines while it waited for the grid.30 The working-out is on The AI Factory.

Data + model A cluster of H100s in DGX-style servers, drawn as a band from PUE 1.09 to 1.56, against reference loads: xAI’s Colossus;30 Ireland’s data centres in 2024 (6,969 GWh, 22% of the country’s metered electricity);31 the 1,500 MW of data-centre load that dropped off the grid in northern Virginia on 10 July 2024;32 and the IEA’s estimate of all the world’s data centres in 2024 (415 TWh) and its base case for 2030 (945 TWh), shown as average power.33

A million H100s draw 1.4–2 GW day and night. Ireland’s data centres already take 22% of its electricity; US data centres took about 4.4% of US electricity in 2023.34 In July 2024 ~1,500 MW in northern Virginia switched to backup within seconds after a voltage dip — a power station tripping in reverse: the grid suddenly had 1.5 GW more supply than demand, so its frequency jumped and generators had to throttle back fast. Connection queues and transformers are the same story as wind and solar; the working-out is on The AI Factory.

Where a cluster’s power goes between the chip and the grid, why liquid replaces air, why the servers never pause for cheap hours, and how a training run’s power swings by tens of megawatts are worked through in The AI Factory.

Chip efficiency still rises, about twofold a generation, but the compute bought rises faster. What binds this decade is power that runs at every hour, the lines and transformers that deliver it, and its price around the clock; What binds ranks them. Free web text as training fuel is close to used up (Epoch AI: fully used “at some point between 2026 and 2032”, 80% interval); paid examples take over — sized on The data.

15What AI uses, and what the money buys

Deep: The demand.

Nobody publishes how much electricity AI uses, so it has to be estimated. From the top down, starting with the IEA’s total for data centres and taking the share that runs accelerated servers and the share of that spent answering rather than training, this series puts inference at about 55 TWh in 2025, with a band of 40 to 80.38 From the bottom up, the token counts that Google, OpenAI and Microsoft publish, Google’s alone more than 3.2 quadrillion a month by May 2026, come to only 3 to 8 TWh for 2025. The rest is AI that nobody counts in tokens: the recommendation models that rank feeds and ads, providers that publish nothing, images and video, and chips held in reserve. Chatbot text is the visible part, and the smaller one.

The money is easier to see. Alphabet, Amazon, Microsoft and Meta expect to spend about $730 billion of capital in 2026, most of it on AI, and Epoch AI puts the up-front cost of a one-gigawatt AI data centre, chips included, at about $38 billion.39 Divide one by the other and the four companies are buying about 19 GW in one year, when Epoch estimates the world’s AI data-centre capacity at 31 GW at the end of 2025. Turned into energy, gigawatts × load × 8,760 hours, that capacity can be read on the same axis as the estimates of energy:

Data + model IEA, all data centres: 415 TWh (2024), 485 (2025), about 950 (2030, Base Case) and about 1,200 (2035, Base Case; the grey bar is its 700–1,700 range), joined on a smooth curve.40 AI capacity: Epoch AI’s 13.5 GW at the end of 2024 and 31.24 GW at the end of 2025,39 then 26% a year to 316 GW in 2035, the series’ extrapolation (Act 2 on the Verdict); a year’s energy is the average of its opening and closing capacity × load × 8,760 h. The load, average draw as a share of rated capacity, is my assumption (50% by default; Epoch’s cost model of a fully used site implies about 81%). Inference: the long-run meter’s Low, Mid and High paths (Act 1 on the Verdict). The three lines count different things on purpose: all data centres, all AI capacity, and inference only.

Read this way, the estimates describe one world. In 2025 the 55 TWh of inference sits inside the AI capacity, about 100 TWh of all AI work at half its rating, which sits inside the IEA’s 485 TWh for every data centre. In 2035 the series’ middle path for inference reaches 486 TWh, about two-fifths of what 316 GW would deliver at that load. The weak joint is the 316 GW. It assumes capacity grows 26% a year, slower than 2026’s spending would grow it, but faster than spending held flat could: the same $730 billion every year adds the same 19 GW, and reaches only about 220 GW by 2035. To reach 316 GW the spending has to keep rising, by about 8.5% a year.

16Can the grid connect it?

Deep: What binds.

Most of that capacity is being built in the United States, and there the arithmetic of energy is reassuring. The Lawrence Berkeley National Laboratory expects American data centres to use 649 TWh in 2030, up from 176 TWh in 2023: about 68 TWh more each year. The whole country’s electricity sales are expected to grow by about 76 TWh in 2027, so data centres are nearly all of the growth.41 Against that, developers planned a record 86 GW of new plant for 2026, mostly solar and batteries; run at 2025’s average capacity factors, its solar, wind and gas would make about 159 TWh a year, more than twice what the data centres add.42 In kilowatt-hours, the grid is keeping up.

In power at the peak it is not. A survey of utility forecasts has US peak demand growing 166 GW over five years, about 90 GW of it from data centres, some 18 GW a year.43 The 2026 build adds 6.3 GW of gas that can run at any hour and 24 GW of batteries that can cover a peak for a few hours; the solar and wind add energy but little power on a still winter evening. Firm power is short, and the ways to add it are booked. The largest maker of gas turbines has 122 GW in backlog and reservations, about six years of its shipments; projects waiting to connect to the grid wait a median of more than five years; and the United States was short of about 30% of the large transformers it needed in 2025.44 The biggest sites now build their own gas plants beside the data centre, which skips the queue for a grid connection but not the queue for turbines or the air permit.

17Who pays

A utility has to build wires and plant before a data centre switches on, and it recovers the cost from everyone it serves over decades. If the data centre arrives smaller than promised, or leaves, the cost stays with the other customers. Regulators have begun to change that. In July 2025 Ohio’s utility commission approved a tariff under which new data centres on AEP Ohio’s network pay for at least 85% of the capacity they contract, whether they use it or not, for up to 12 years.45 How the cost of new wires is shared out is the subject of the electricity series’ Planning, permitting and who pays.

The money for the data centres themselves is not what binds. Microsoft cut its 2026 spending because “some third-party capacity deliveries we expected in Q1 were delayed”:46 the money was ready before the buildings and the power were.

18The long run

Deep: The Verdict.

The question that usually comes first, whether AI becomes humanity’s largest use of energy, is the bookend. This series pins it to three bars: a tenth of the world’s electricity by 2035 (about 3,800 TWh), more than any other single use of electricity by 2050 (a working bar of 6,000 TWh, set by space cooling), and more than any other use of energy at all (about 17,200 TWh, set by heating).47 Today’s inference is 70 to 300 times below them. On the series’ low, middle and high settings the answer is no on all three, with one left unresolved under the high setting, and two tripwires keep the verdict honest: 300 TWh of inference by 2030 and 1,000 TWh by 2035. The meter that sets them, built up one lever at a time, is on the Verdict page.

Final words

Nothing on the way from two switches to a chatbot was a single leap: each step was a cheaper switch, joule or example. Stacked over eighty years they built something that now has to be planned for like a steel works, and planned like one it meets the same limits. This decade, how much AI gets built depends less on chips or money than on power that runs at every hour and can be connected where the data centres are.

That claim can be checked soon. If American data centres use about 650 TWh in 2030, as the Lawrence Berkeley lab’s reference case expects, the grid kept up; if they fall well short while the spending stays high, power was the bind. The working is on three pages: The demand counts what AI uses and what the money buys, What binds ranks the limits, and The Verdict keeps the long-run case open.

Notes and sources

  1. C. E. Shannon, “A Symbolic Analysis of Relay and Switching Circuits”, MIT master’s thesis (1937), published in Transactions of the AIEE 57 (1938); G. Boole, An Investigation of the Laws of Thought (1854).
  2. C. Babbage, letter to Sir Humphry Davy on the application of machinery to calculating tables, 3 July 1822, and “Observations on the application of machinery to the computation of mathematical tables”, Memoirs of the Astronomical Society 1 (1822); the Analytical Engine was designed from 1834; A. A. Lovelace, translator’s notes to L. F. Menabrea, “Sketch of the Analytical Engine”, Scientific Memoirs 3 (1843), Note G.
  3. A. M. Turing, “On Computable Numbers, with an Application to the Entscheidungsproblem”, Proceedings of the London Mathematical Society s2-42 (1936–37). The four-rule incrementer in the figure is our own example.
  4. H. Zuse, “Z3” (completed May 1941, about 2,600 relays, destroyed in 1943; a replica is in the Deutsches Museum, Munich).
  5. ENIAC: 17,468 vacuum tubes, about 150 kW, 5,000 additions a second, from the University of Michigan, “75 years of the ENIAC”, and the National Museum of the United States Army, ENIAC. Our 30 J per addition is 150 kW ÷ 5,000 per second.
  6. Computer History Museum, The Silicon Engine: 1947, invention of the point-contact transistor; 1960, metal-oxide-semiconductor transistor demonstrated (Atalla and Kahng, 1959); 1959, invention of the “planar” manufacturing process.
  7. G. E. Moore, “Cramming more components onto integrated circuits”, Electronics 38(8), 19 April 1965; G. E. Moore, “Progress in digital integrated electronics”, IEDM 1975.
  8. Intel, “The Story of the Intel 4004” (Intel Museum): about 2,300 transistors, designed for Nippon Calculating Machine Corporation (Busicom); Computer History Museum, “1971: Microprocessor integrates CPU function onto a single chip”.
  9. R. H. Dennard, F. H. Gaensslen, H.-N. Yu, V. L. Rideout, E. Bassous and A. R. LeBlanc, “Design of ion-implanted MOSFET’s with very small physical dimensions”, IEEE Journal of Solid-State Circuits 9(5), 256–268 (1974).
  10. K. Rupp, Microprocessor Trend Data (data collected by M. Horowitz, F. Labonte, O. Shacham, K. Olukotun, L. Hammond and C. Batten; 2010–2021 by K. Rupp), CC BY 4.0. Values are per chip as plotted in Rupp’s 50-year chart; the clock trend line is our fit.
  11. Cray-1: 160 MFLOPS peak and about 115 kW, from R. M. Russell, “The CRAY-1 computer system”, Communications of the ACM 21(1), 63–72 (1978), as summarised by the Computer History Museum.
  12. TOP500 entries (individual results quoted with credit to TOP500.org): K computer, RIKEN, 10.51 PFLOP/s Rmax at 12,660 kW (first on the November 2011 list); Fugaku, RIKEN, 442.01 PFLOP/s at 29,899 kW; Frontier, Oak Ridge, 1,353 PFLOP/s at 24,607 kW (June 2026 list).
  13. Epoch AI, Machine Learning Hardware (CC BY), downloaded 19 October 2026: dense 16-bit tensor throughput (FP32 for the GTX 580, which has no tensor units) and thermal design power. A chip’s rated power is not what a whole server draws; section 13 adds that back. The H100 price, $33,600, is the figure Epoch records from an analyst report of DGX H100 servers selling for $269,000 in May 2023, i.e. one-eighth of a whole server including its processors, memory and network; the same report puts the eight GPUs and their baseboard alone at about $24,400 a GPU. There is no official list price; the four-year life is our assumption. Electricity price: EIA, Electric Power Monthly, Table 5.3, 2025 average US retail price to industrial customers, 8.51¢/kWh. Rental: AWS EC2 Capacity Blocks, $5.970 an hour per H100 (read 5 November 2026).
  14. Epoch AI, Notable AI Models (CC BY), downloaded 19 October 2026; 540 models with a compute estimate. Epoch rates most estimates as accurate to within a factor of 3 (“confident”) or 10 (“likely”).
  15. G. M. Amdahl, “Validity of the single processor approach to achieving large scale computing capabilities”, AFIPS Spring Joint Computer Conference (1967).
  16. Nvidia, CUDA Toolkit 1.0 release (June 2007; first public beta February 2007). See Nvidia, CUDA Toolkit Archive.
  17. F. Rosenblatt, “The perceptron: a probabilistic model for information storage and organization in the brain”, Psychological Review 65(6), 386–408 (1958); Cornell Chronicle, “Professor’s perceptron paved the way for AI – 60 years too soon” (2019).
  18. D. E. Rumelhart, G. E. Hinton and R. J. Williams, “Learning representations by back-propagating errors”, Nature 323, 533–536 (1986). Earlier versions: S. Linnainmaa (1970, Helsinki) and P. Werbos (1974).
  19. J. Deng, W. Dong, R. Socher, L.-J. Li, K. Li and L. Fei-Fei, “ImageNet: A large-scale hierarchical image database”, CVPR 2009.
  20. O. Russakovsky et al., “ImageNet Large Scale Visual Recognition Challenge”, International Journal of Computer Vision 115, 211–252 (2015): winners’ top-5 error 2010–2014 (28.2%, 25.8%, 16.4%, 11.7%, 6.7%; entries using only the provided training data) and the 5.1% error of a trained human annotator.
  21. 2015: K. He, X. Zhang, S. Ren and J. Sun, “Deep residual learning for image recognition” (3.57%, ensemble); 2016: ILSVRC 2016 results, Trimps-Soushen (2.99%); 2017: J. Hu, L. Shen and G. Sun, “Squeeze-and-excitation networks” (2.25%).
  22. A. Krizhevsky, I. Sutskever and G. E. Hinton, “ImageNet classification with deep convolutional neural networks”, NeurIPS 2012 (60 million parameters; two GTX 580 3 GB GPUs; five to six days).
  23. A. Vaswani et al., “Attention Is All You Need”, NeurIPS 2017.
  24. J. Kaplan et al., “Scaling Laws for Neural Language Models” (2020).
  25. J. Hoffmann et al., “Training Compute-Optimal Large Language Models” (2022): Chinchilla, 70 billion parameters, 1.4 trillion tokens, outperforming the 280-billion-parameter Gopher.
  26. H100 SXM dense BF16 throughput, 989.4 TFLOP/s: Epoch AI Machine Learning Hardware (note 13). Utilisation: Llama Team, AI @ Meta, “The Llama 3 Herd of Models” (2024), Table 4: 38–43% BF16 model FLOPs utilisation on 8,192–16,384 H100s.
  27. Our fit to the 540 models gives the growth factor printed on the chart. Epoch AI, “Training compute of frontier AI models grows by 4–5x per year” (2024), using the largest models only, finds 4–5× a year since 2010.
  28. Nvidia, DGX H100 datasheet: 8 H100 GPUs, system power about 10.2 kW maximum.
  29. Google, 2025 Environmental Report: fleet-wide average PUE of 1.09 in 2024. Uptime Institute, Global Data Center Survey 2024: average annual PUE of 1.56 across respondents, unchanged for five years.
  30. NPR, “Elon Musk’s xAI supercomputer stirs turmoil over smog in Memphis”, 11 September 2024 (online over the Labor Day weekend; 122 days; 150 MW at full capacity, per the local utility); HPCwire, “xAI Colossus: the Elon project”, 5 September 2024 (mobile gas generators).
  31. Central Statistics Office (Ireland), Data Centres Metered Electricity Consumption 2024, 10 June 2025: 6,969 GWh, 22% of metered consumption (5% in 2015).
  32. NERC, Incident Review: Considering Simultaneous Voltage-Sensitive Load Reductions (January 2025): 10 July 2024, six faults in 82 seconds, about 1,500 MW of data-centre load lost, frequency peaking at 60.047 Hz.
  33. IEA, Energy and AI (April 2025), licence CC BY 4.0: 415 TWh in 2024 (about 1.5% of global electricity), 945 TWh in 2030 in the Base Case; accelerated-server electricity growing about 30% a year. 2025 estimate of 485 TWh from the IEA chart “Data centre electricity consumption, 2015-2025” (2026), as used in the AI Factory’s regions figure.
  34. A. Shehabi et al., 2024 United States Data Center Energy Usage Report, Lawrence Berkeley National Laboratory, LBNL-2001637 (December 2024).
  35. Ember, Yearly Electricity Data (CC BY 4.0), downloaded 19 October 2026: world electricity demand 31,734 TWh in 2025. Ember counts demand on the generation side (net imports included, so power stations’ own use and grid losses are inside it). The IEA’s final-consumption figure is smaller, ≈28,200 TWh (Electricity 2026), and is the basis the case pages (yardstick, verdict) use. The ~11% difference does not change any order of magnitude here.
  36. Tiny transformer trained for this series (PyTorch, CPU, about three minutes): decoder-only, 2 layers × 4 heads, width 64, context 48 words, 251,520 weights. Data: Lewis Carroll, Alice’s Adventures in Wonderland (1865) and Through the Looking-Glass (1871), Project Gutenberg eBooks #11 and #12, public domain; lower-cased words and punctuation, 2,318-word vocabulary, the last 5% of each book held out. Held-out cross-entropy 4.55 nats per word (perplexity 94); word-pair and word-triple count models with Witten–Bell smoothing on the same split reach 105 and 111. Dropout and training length were picked from four short runs on the held-out text, so its score is slightly flattering. The sentences in the figure are from or close to the books.
  37. ImageNet figure photos, all from Wikimedia Commons, shown as 160-pixel centre crops (the crop the networks see). Picked automatically: for each class, the first Commons “Quality image” (falling back to “Valued”, then any) under CC0, CC BY or public domain; a search term was changed only when the first pick showed the wrong subject (a hotel for “flamingo”, a car and a figurine for “panda”, a statue for “violin”, a press conference for “school bus”), never because of a network’s answer. Guesses from torchvision’s IMAGENET1K_V1 weights for AlexNet, GoogLeNet and ResNet-152 (validation top-5 error 20.9%, 10.5% and 6.0%; VGG-16 9.6%), run offline on a CPU; only the labels are published. Torchvision notes that these weights may carry terms from ImageNet, which allows non-commercial research and education. On these 24 photos the right label was among the five guesses 18, 23 and 23 times. Credits (subject: file, author, licence):
    1. zebra: Zebra 02.jpg, Stano Novak, CC BY 2.5
    2. goldfish: Carassius wild golden fish 2013 G1.jpg, George Chernilevsky, Public domain
    3. king penguin: Falkland Islands Penguins 49.jpg, Ben Tubby, CC BY 2.0
    4. flamingo: Phoenicopterus ruber in São Paulo Zoo.jpg, Wilfredor, CC0
    5. giant panda: Lightmatter panda.jpg, Aaron Logan, CC BY 1.0
    6. koala: Koala in Zoo Duisburg.jpg, Till Niermann, CC BY 3.0
    7. red fox: Red Fox drinking from a lake in Gennevilliers, France.jpg, Alexis Lours, CC BY 4.0
    8. monarch: Danaus plexippus (7).jpg, Thomas Bresson, CC BY 2.0
    9. ladybug: Siebenpunkt-Marienkäfer (Coccinella septempunctata) auf Blüte im FFH-Gebiet "Viernheimer Waldheide und angrenzende Flächen".jpg, Stephan Sprinz, CC BY 4.0
    10. bald eagle: Haliaeetus leucocephalus (Linnaeus 1766).jpg, Michael Gäbler, CC BY 3.0
    11. golden retriever: Callie the golden retriever puppy.jpg, MichaelMcPhee, CC BY 3.0
    12. tabby: Brown tabby cat 2018 G1.jpg, George Chernilevsky, Public domain
    13. school bus: American school bus Raunheim.jpg, Echtner, CC BY 3.0
    14. steam locomotive: JA1271 crossing the Otaki River.jpg, Karora, Public domain
    15. acoustic guitar: Man playing an acoustic brazilian guitar (Violão) on Marco Zero Square, Refice, Pernambuco, Brazil.jpg, Wilfredor, CC0
    16. violin: Violin VL100.jpg, Just plain Bill, Public domain
    17. teapot: Teapot 2010 G1.jpg, George Chernilevsky, Public domain
    18. espresso: Espresso Coffee 01.jpg, Jubair1985, CC0
    19. pizza: Margherita pizza on plate.jpg, Shisma, CC BY 4.0
    20. banana: Bunch of bananas on sale.jpg, Wilfredor, CC0
    21. strawberry: Strawberries in basket 2018 G1.jpg, George Chernilevsky, Public domain
    22. daisy: 20200325 Bellis perennis 01.jpg, Flocci Nivis, CC BY 4.0
    23. volcano: Rainier20200906.jpg, Caleb Riston, CC0
    24. beacon: Вайдагубский маяк.jpg, Ted.ns, CC BY 4.0
  38. The derivation of the 55 TWh, from the IEA’s 415 TWh of data-centre electricity in 2024, is on the Verdict page. Token counts and their conversion to energy, with sources: The demand, notes 1–6. Google, I/O 2026 keynote (19 May 2026): “over 3.2 quadrillion per month”.
  39. Capital spending guidance for calendar 2026: Alphabet $195–205 billion, Amazon about $220 billion, Microsoft about $170 billion and Meta $135–145 billion; midpoints sum to $730 billion; quotes and sources in The demand, note 9. Epoch AI, total cost of ownership of a 1 GW AI data centre (May 2026): $38 billion up front. Epoch AI, AI data-centre capacity: 13.50 GW (end of 2024) and 31.24 GW (end of 2025). $730 billion ÷ $38 billion ≈ 19 GW; held flat, 31 + 10 × 19 ≈ 220 GW by 2035; 8.5% a year of growth reaches 316 GW (my arithmetic).
  40. IEA, Energy and AI (April 2025) and Key Questions on Energy and AI (April 2026): data centres 415 TWh in 2024 and 485 TWh in 2025; about 950 TWh in 2030 (Base Case); in 2035 about 700 TWh (Headwinds), 970 (High-Efficiency), 1,200 (Base) and over 1,700 (Lift-Off).
  41. LBNL, United States Data Center Energy Usage Report, 2025 update (2026): 649 TWh in 2030 (Reference Case; bounds 521–843); 176 TWh in 2023 from its 2024 report; (649 − 176) ÷ 7 ≈ 68 TWh a year (my arithmetic). EIA, Short-Term Energy Outlook, September 2026: sales of 4,135 TWh in 2026 and 4,211 TWh in 2027.
  42. EIA, Today in Energy (20 February 2026): 86 GW planned for 2026, of which solar 43.4 GW, batteries 24 GW, wind 11.8 GW and gas 6.3 GW. Capacity factors for 2025 from the EIA’s Electric Power Monthly, tables 6.07.A and B: solar 24.0%, wind 33.8%, gas combined cycle 58.7%; 18.1 GW of average output × 8.76 ≈ 159 TWh a year (my arithmetic).
  43. Grid Strategies, National Load Growth Report 2025 (November 2025): five-year peak growth of 166 GW, “Data Centers 90 GW ~55%”; it also notes that utility forecasts may overstate data-centre growth by about 40%.
  44. GE Vernova, third-quarter 2026 results: gas equipment backlog and slot reservations of 122 GW; 5 GW shipped in the quarter. LBNL, Queued Up: 2026 Edition: “the median duration from IR to COD was over 5 years for projects built in 2025”. Wood Mackenzie, press release (August 2025): a 30% supply shortfall for power transformers in 2025. On-site generation: see What binds, note 7.
  45. AEP Ohio, Data Center Tariff: “On July 9, 2025, the Public Utilities Commission of Ohio adopted Ohio Power’s 2024 Data Center Tariff (DCT) settlement”; minimum demand up to 85% of contract capacity. The 25 MW threshold and the term of up to 12 years are as reported by POWER magazine.
  46. Microsoft, FY27 first-quarter earnings call (28 October 2026), transcript: calendar-2026 capital spending of “approximately $170 billion”.
  47. The bars and their sources are on the Verdict page, notes 1–2: IEA World Energy Outlook 2025 (R1), an IEA commentary on space cooling of 10 July 2026 (R2), IEA The Future of Heat Pumps (R3).