Will the AI Compute Race Repeat the Steam Engine's Path?
This article draws a historical parallel between the early steam engine and today's AI infrastructure race. It explains why grossly inefficient machines still scaled in the 18th century, how efficiency gains came from targeted local redesign rather than reinvention, and why useful theory arrived generations later—sometimes built on wrong assumptions. It then maps these stages onto current AI workloads and gives developers a practical efficiency checklist: cost per accepted task, tiered model routing, context governance, semantic caching, batch and elastic scheduling, and full-chain observability, plus a sample cost attribution function.
1. A Time Gap Worth Revisiting
More than a century separated the first commercially running steam engine from the first thermodynamic theory that could actually explain how it worked. That gap is worth recalling today, when a single AI coding session can burn through millions of tokens.
The current landscape feels familiar: teams compete on the number of accelerator cards, the scale of their clusters, and how many tokens a single job can consume. Put that logic back into steam engine history and it matches the earliest phase—machines with absurdly low thermal efficiency that still ran at mine shafts for decades.
History, though, is not a clean relay race. The real progression was far messier: efficiency improvements and the first outlines of theory overlapped in time, and key theoretical concepts even appeared before the improvements, only to sit unused for a long while. This article first reconstructs that real curve, then maps it onto AI infrastructure and agent applications, and finally offers a practical approach to efficiency and theorization.
2. Phase One: Why Inefficient Machines Still Spread
The first “fire-water” devices of 1698 had no pistons. They pushed water directly with steam pressure, which limited lift height and carried a risk of bursting under high pressure—impractical in deep mines. What actually deployed at scale was the 1712 atmospheric engine: steam condensed inside a cylinder to create a vacuum, and external atmospheric pressure pushed the piston to do work.
Its thermal efficiency was roughly 0.5% to 1%, meaning about 99% of the fuel energy entering the system was discharged. Only two factors drove its adoption:
- Fuel cost was structurally eliminated. The machine sat at the mouth of a coal mine and burned nearly worthless low-grade coal, so efficiency never entered the decision function.
- It solved a rigid, non-substitutable need. Low-pressure operation did not explode, and there was no more reliable alternative for draining deep mines.
More than 1,400 of these machines were built across the 18th century, and some stayed in service into the 19th or even the 20th. The conclusion: the first stage of technology diffusion is driven by “a rigid scenario need plus externalized input costs,” not by efficiency.
Map that to today: if compute and energy are a small enough share of your cost structure, or your scenario is “no build, no business,” an inefficient approach can still scale. That is the real situation for a large number of AI applications right now, and it explains why the efficiency discussion keeps getting postponed.
3. Phase Two: Efficiency Gains Came From Local Redesign, Not Reinvention
In 1763, an engineer repairing a teaching model of an atmospheric engine noticed that every cycle repeatedly heated and cooled the cylinder, wasting large amounts of steam to compensate for the cylinder’s own temperature loss. In 1765 he proposed a separate condenser—moving condensation into a chamber independent of the cylinder so the cylinder stayed hot throughout the cycle. That single change cut fuel consumption by about three quarters.
Two engineering facts here are often overlooked:
- The improver did not rebuild the whole machine. He located the single point where energy loss was most concentrated and made a local structural swap.
- The payoff was huge because what got eliminated was a recurring fixed loss, not some instantaneous metric.
A parallel track existed at the same time: raising steam pressure could significantly increase the work extracted per unit of fuel, but materials and safety levels initially could not keep up, so that route was shelved for decades. This shows that efficiency paths are forced to fork under engineering feasibility constraints—the most advanced approach is not necessarily the one that lands first.
4. Phase Three: Theory Lagged, and Concepts Preceded Applications
It was only long after the efficiency improvements that a French engineer, in 1824, provided an analytical framework for the ideal cycle. He cared not about how to build a better machine but about the universal upper limit of converting heat into work. Crucially, the “caloric” assumption he used is wrong by today’s standards, yet his conclusion—that there exists an efficiency ceiling determined only by the temperatures of the hot and cold reservoirs, independent of the specific construction—still holds.
About two decades later, conservation of energy and the dynamic nature of heat were established, and the theory of the steam engine finally closed. In other words:
- A useful theory can appear first under a wrong worldview.
- Another full generation can pass between “having the right conclusion” and “having the right explanation.”
5. Mapping to AI: Which Phase Are We In?
| Steam engine phase | Current AI counterpart | Signal to judge |
|---|---|---|
| Inefficient commercial use | Massive compute buildout, competing on token consumption | Cost per task is not a tracked metric |
| Efficiency improvement | Inference optimization, cache reuse, tiered model routing | Cost is starting to be measured per unit of effective output |
| Theory building | A unified explanation of scaling, emergence, and interpretability | Resource needs can be predicted from first principles |
Most teams are still in phase one, a few leading teams have entered phase two, and no one has completed phase three. That is not alarming. What is alarming is treating phase-one success as a permanent law.
6. An Efficiency Engineering Checklist for Developers
Things you can do right now in the “Watt phase,” all product-agnostic:
- Establish a cost-per-effective-output metric. Do not look at total tokens; look at the resources consumed per completed, acceptable task.
- Route in tiers. Grade requests by difficulty; send simple tasks to smaller models or rule-based logic, and escalate only complex ones.
- Govern context. Deduplicate retrieved snippets, compress history, and inject only necessary fields—input length often affects cost more than model choice.
- Reuse results. Apply semantic caching to high-frequency repeated requests, and set clear invalidation conditions for the cache.
- Batch and schedule elastically. Separate offline and online tasks into different pools, use off-peak compute, and pair container platforms with autoscaling.
- Make the full chain observable. Use logging services and monitoring alerts to attribute resource consumption to specific call chains; otherwise there is nowhere to start optimizing.
Illustrative cost attribution logic:
def cost_of(task):# Use "accepted task" as the denominator, not request counttokens_in, tokens_out = task.usageretries = task.retry_counthuman_fix = task.human_minutes * HUMAN_RATEmachine = (tokens_in * P_IN + tokens_out * P_OUT) * (1 + retries)return {"machine_cost": machine,"total_cost": machine + human_fix,"cost_per_accepted_task": (machine + human_fix) / max(task.accepted, 1),}
Note the last item: only by counting rework and human correction in the denominator can you expose cases where “a bigger model is actually more expensive.”
7. How to Reach the “Carnot Moment” Early
The mark of theorization is not writing a more complex framework but being able to state an implementation-independent upper bound and criterion. Three actionable directions:
- Look for the upper bound. Just as “efficiency is determined only by the hot and cold reservoir temperatures,” ask where the lower bound on the information required per unit of effect lies under a given task distribution.
- Separate the replaceable parts. Make the model, retrieval, and tool calls into replaceable components, so you can do a local swap like the separate condenser instead of rebuilding the whole machine.
- Take pride in reaching correct conclusions even from wrong assumptions. Early theory need not be perfect; being falsifiable by experiment matters more than being self-consistent.
8. Conclusion
The lesson from the steam engine is not “wait a few decades and theory will appear on its own.” It is that the scale-expansion phase and the efficiency-improvement phase can run in parallel, while theory must be actively constructed within engineering practice. For practitioners today, the most rational strategy is to capture the scale dividend from rigid scenario demand on one side, and on the other make cost per effective output, observability, and modular architecture the default configuration. When the industry enters an efficiency competition, that accumulation is the “separate condenser” you have already built.
