Contents
- 1. An LLM Just Keeps Guessing "the Next Word"
- 2. What Are "Weights"? — A Trillion Knobs Make Intelligence
- 3. Two Stages of Learning — Pre-training and Post-training (RLHF)
- 4. Inference — The Moment Your Question Becomes Electricity
- 5. Power — How Much Electricity Does an LLM Eat?
- 6. Is "Development Is a Money Fight" True?
- 7. But Cash Alone Doesn't Win — The Efficiency Backflow
- 8. What's Next — The "Power and Physics" Wall After Cash
- Summary
- FAQ
The compute poured into training GPT-4, released in 2023, was roughly 2.1×10²⁵ floating-point operations (FLOP) according to research group Epoch AI, and Stanford HAI put the cost of that compute at about $78 million. Even the older GPT-3's training alone used about 1,287 MWh of electricity (a 2021 estimate by Google researchers) — more than a century's worth of power for an average household, spent to build just one model. Behind the casual "hey, summarize this" we type lies a world of physics and stacks of cash.
This article digs deep into "how an LLM (large language model) actually works," from three directions: mechanism, power, and money. Specifically — (1) why can an LLM produce language out of a collection of knobs called "weights (parameters)," (2) how much electricity does one question or one training run consume, and (3) is the claim that "frontier LLM development is a money fight" true? The short answer to the third: "For the absolute frontier, it is essentially true — but a counter-current where 'cash alone doesn't win' has grown stronger in 2026." That is the accurate picture.
My stance up front: an LLM's "intelligence" is neither magic nor consciousness — it is the result of beating a giant probability-prediction machine into shape with electricity. Understanding the mechanism dissolves both excessive hype and excessive fear. This article goes into intermediate-level depth. If you're starting from "what even is an LLM," read what is an LLM (primer) first; for context length see the context window; for pricing see AI API for beginners.
Dissecting an LLM From Three Directions
— What intelligence is made of, the power it burns, the cash it costs
An LLM's smarts are no magic. They are the result of beating a giant probability machine into shape with power and cash.
Know the mechanism, and both hype and fear dissolve.
1. An LLM Just Keeps Guessing "the Next Word"
It may sound surprising, but ChatGPT, Claude, and Gemini all essentially do one thing. "Given the text so far, compute the probability of the most likely next word (more precisely, 'token') as a continuation, pick one, and line them up." That's it. Feed it "the cat is on the ___" and it assigns probabilities to candidates like "mat," "couch," "floor" and emits the highest one (or one sampled by probability). It repeats this one token at a time until the text ends.
Here is the question that trips many people up. "How can a mere word-guessing game summarize papers or write code?" The answer: "To truly guess the next word accurately, it has no choice but to 'understand' the structure of the world to some degree." Guessing "the capital of Japan is ___" requires geography; "3 + 5 = ___" requires arithmetic; "the cause of this bug is ___" requires programming knowledge held internally. As a byproduct of training "next-word guessing" to the extreme on enormous text, knowledge and reasoning emerge. That is the strange and essential nature of LLMs.
So what is computing that "next-word probability"? As foreshadowed, the lead actor is a staggering pile of numbers called "weights (parameters)." The next chapter reveals what they are.
2. What Are "Weights"? — A Trillion Knobs Make Intelligence
To put the inside of an LLM in one analogy: "a giant computation device with hundreds of billions to over a trillion 'knobs.'" Each knob is a "weight (parameter)," and when the signal of an input word passes to the next layer, it decides "which signals to strengthen or weaken, and by how much." GPT-3 had about 175 billion; the latest frontier models are said to exceed a trillion. The setting of these vast knobs is exactly what the model's learned "knowledge" is.
How "weights" turn into language
"Learning" is the work of turning these trillion knobs little by little toward the right answer.
The finished knob settings (weights) = the model's "knowledge" itself.
The Transformer, which appeared in 2017, is the foundation of modern LLMs. Its heart is the "Attention" mechanism, which dynamically judges by weights "which word in the sentence matters to the current word." Whether "bank" in "saw the river in front of the bank" means a financial institution or a riverbank is decided by weighting its relationship to the other words in context — and this "context-dependent weighting" is exactly why an LLM can return coherent responses even over long passages. When people say "something about weighting," they mean precisely this Attention and the trillions of multiplications behind it.
The crucial point: these weights were not set by hand. At first they are a blob of random numbers, meaningless. Meaning is instilled through "learning." So how does that learning happen?
3. Two Stages of Learning — Pre-training and Post-training (RLHF)
An LLM's learning splits broadly into two stages — the process by which the previous chapter's "random knobs" become "smart knobs."
Stage 1: Pre-training. Feed it internet-scale text (books, the web, code) and have it relentlessly "guess the next word." Each time it errs, all parameters are adjusted by a tiny amount in the direction that shrinks the error (this adjustment algorithm is the famous "backpropagation + gradient descent"). Repeat this over trillions of tokens, and the foundations of grammar, knowledge, and reasoning get carved into the knobs. Pre-training eats most of the compute, most of the power, and most of the cash. The astronomical ~2×10²⁵ FLOPs of a GPT-4-class model burns here.
Stage 2: Post-training. A pre-trained-only model is "knowledgeable but ill-mannered." So RLHF (reinforcement learning from human feedback) and similar teach it "helpful, safe ways to answer." Since around 2025, labs have also been putting heavy effort into post-training that drills long reasoning (thinking carefully), tool use, and agentic behavior. The reason recent models "think before answering" so much is the evolution of this post-training. Multi-agent behavior is also instilled here.
4. Inference — The Moment Your Question Becomes Electricity
If training is "the construction work of setting the knobs," then inference is "the operation of actually producing answers using the finished knobs." Every time you type a question into ChatGPT, trillions of multiplications run through nearly a trillion knobs, and tokens are generated one at a time. We've seen how heavy training is — but across society as a whole, it is inference, not training, that eats the power.
The reason is simple: training runs basically once per model, but inference runs hundreds of millions of times a day worldwide. Over a model's lifetime, power and compute demand pile up far more on the inference side than on training. "One question is hardly any electricity" — true, one is tiny. But "tiny × hundreds of millions × every day" stacks up into a nation-scale power problem. Let's look at concrete numbers next.
5. Power — How Much Electricity Does an LLM Eat?
"AI eats power" is often said, but how much exactly? Here are the representative figures published as of 2026.
LLM power consumption in numbers
one short question
65x+ the most efficient
(an old generation)
2024→2030 forecast
Even one short query (0.42Wh), scaled to 700M/day, equals the power of ~35,000 U.S. households (third-party estimate).
Data-center racks average under 8kW (Uptime Institute 2024 survey), while an NVIDIA DGX GB200 rack for AI draws about 120kW (NVIDIA docs); a single AI data center site runs from under 50MW to over 1GW (Epoch AI tracking data).
What stands out is that "power use differs by orders of magnitude depending on the model and the length of the prompt." In third-party estimates (see the table below), many models use under 0.5 Wh for a short question, but a long prompt to the most power-hungry models exceeds 29 Wh — more than 65 times the most efficient ones. As touched on in the token-consumption-as-workload trap, "just do everything on the top model" is a luxury in both power and cost. Sending light errands to a light model is kind to both the planet and your wallet. According to the IEA (International Energy Agency), global data-center power hit about 415 TWh in 2024 (about 1.5% of the world total) and is projected to double to about 945 TWh by 2030 — with AI as the main driver of that growth.
"Energy per Query" Depends on Who Measured It, and How
"X Wh per query" figures get quoted a lot, but they are measured in completely different ways depending on the source. Read a company's own measurements and outside estimates separately.
| Figure | What it covers | Source | How it was obtained |
|---|---|---|---|
| 0.24Wh | A Gemini Apps text prompt (median) | Google (Aug 2025, own paper) | Measured in its own data centers, including idle machines and data-center overhead |
| ~0.34Wh | A ChatGPT query (average) | OpenAI CEO Sam Altman's blog (Jun 2025) | The company's own figure; the method was not published |
| 0.42Wh | A short prompt to GPT-4o | Jegham et al. (third party, 2025) | Estimated from public API performance data and inferred hardware configurations |
| 29Wh+ | A long prompt to the most power-hungry models | Same | Same; more than 65x the most efficient models |
Company measurements use consistent conditions but cannot be checked from outside; third-party estimates are easier to compare but rest on more assumptions. Both are values for a single text query; reading long documents, generating images or video, and long agent tasks use more.
Applying this to your own use gives a sense of scale. If you ask 50 short questions a day, 0.24–0.42 Wh × 50 comes to about 12–21 Wh per day — roughly the same as running a 10 W LED bulb for one to two hours. A single long prompt to a heavy model, by contrast, can exceed 29 Wh. What drives the electricity is less how often you ask than which model you use and how long you make it think.
6. Is "Development Is a Money Fight" True?
Here is the question you were most curious about. "Is frontier LLM development a money fight?" The verified conclusion first: "Limited to the frontier's pre-training, it is essentially true." The numbers back it up.
Frontier training-cost trajectory
Frontier training compute has grown 4–5x per year (Epoch AI).
Training costs are rising 2.4x per year — a money fight indeed.
Concretely, Stanford HAI's AI Index 2024 estimated the compute cost of training at about $78 million for GPT-4 and about $191 million for Google's Gemini Ultra (AI Index 2024). A paper from research group Epoch AI finds that training costs for the largest models have grown 2.4x per year since 2016 and that, if the trend continues, the largest training runs will cost more than $1 billion by 2027 (Cottier et al.). And this is "one successful run" — behind it sit failed trial-and-error, data preparation, salaries, and inference infrastructure. On top of that, each GPU costs thousands of dollars; running tens of thousands of them for months racks up the electricity bill. A wall of money that "a bright idea" or "a clever algorithm" alone can never clear stands at the entrance to the frontier. In this sense, "money fight" is no exaggeration — it's fact. That's why only a handful who secured enormous capital — OpenAI, Google, Anthropic, Meta, xAI — can fight at the very front.
7. But Cash Alone Doesn't Win — The Efficiency Backflow
The previous chapter said "the money fight is real." But ending the story there misreads the reality of 2026. It is by no means true that "with enough cash you win" — if anything, a counter-current has strengthened. As an honest answer, let me write this other side too.
The symbolic case is the series of moves where China's DeepSeek released models approaching the frontier on a relatively small budget, and was said to have "reset the cost floor." Techniques to build the same performance orders of magnitude cheaper — efficient architectures, Mixture of Experts (MoE), distillation (transferring a big model's knowledge into a small one), and careful data-quality work — have been demonstrated one after another, driving a wedge into the "huge capital = victory" formula. Industry attention is widening from "just go bigger" to "how to deliver the same performance cheaper and with less power."
So the accurate picture is this: "The race to update the frontier's 'peak performance' is a money fight. But the race to deliver 'good-enough performance' cheaply is a contest of wits and efficiency." Most models we use day to day benefit from the latter, getting cheaper, faster, and more power-efficient year by year. As written in how far you can go on the free tier, by 2026 even free tiers reached a practical level — fruit handed to users by the efficiency backflow.
8. What's Next — The "Power and Physics" Wall After Cash
So can you scale forever just by stacking cash? No — and that's the new wall that began to appear in 2026. An Epoch AI analysis (August 2024) finds that training runs of about 2×10²⁹ FLOP are likely feasible by 2030, but that the constraint likely to bind first is power, followed by chip manufacturing capacity. The bottleneck is no longer just "the budget to buy GPUs." Instead, what blocks the way is —
- Power: can you continuously supply gigawatt-scale electricity in one place? Now a problem of power plants and grids
- Interconnect: the bandwidth to synchronize tens to hundreds of thousands of GPUs without latency. There is a physical ceiling on what one giant training job can handle
- Data: high-quality training text is itself running dry (there is a limit to how much good writing humanity has produced)
What comes after "the money fight" is "a fight of power, physics, and wits." That's why companies are now shifting toward investing in nuclear power, developing their own dedicated chips, leveraging synthetic data, and researching efficient architectures. The era you could win by throwing money is, ironically, turning into an era you can't win with money alone.
Summary
An LLM's true nature is "a giant prediction device where hundreds of billions to over a trillion 'weights' keep computing the probability of the next word." The Transformer's Attention handles "context-dependent weighting," and pre-training (which eats most of the compute, power, and cash) plus post-training (RLHF, reasoning training) make the knobs smart. The smarts are no magic — they are a byproduct of drilling "next-word guessing" to the extreme on enormous text.
On power: one query is 0.24 Wh (median) by Google's own measurement, a short query 0.42 Wh by a third-party estimate, and a long prompt to the heaviest models 29 Wh+ (more than 65x the most efficient); GPT-3's training alone took 1,287 MWh. Across society, inference-side consumption piles up, and global data-center power is projected to double to about 945 TWh by 2030 (IEA). "Do everything on the top model" is a luxury in both power and cost; the smart move is to pick the model by the weight of the task.
And the core question — "is LLM development a money fight?" The answer is "essentially true, limited to the frontier's pre-training" (about $78M in compute for GPT-4; over $1B per run projected by 2027). But the "cash alone doesn't win" backflow is strong too (DeepSeek's floor reset, efficiency, distillation). Updating peak performance is a cash fight; delivering practical performance cheaply is a wits fight — this two-layer structure is the reality of 2026. And next comes the physical wall of power, interconnect, and data scarcity. Understanding an LLM not as a "magic box" but as an "electricity-powered probability machine" keeps you from being swept up in either hype or fear. To learn more, see what is an LLM (primer), the context window, and the free-tier comparison.
FAQ
Q. Are more parameters (weights) always smarter?
A. "Bigger was smarter" once held almost universally, but in 2026 it's not that simple. Even at the same parameter count, performance varies greatly with data quality, post-training, and architectural ingenuity. Small-but-smart models (products of distillation and efficient design) have multiplied, and "parameter count = intelligence" no longer holds. We've entered an era of "how it's trained" over "how many."
Q. Does an LLM really "understand," or is it rote memorization?
A. Even experts disagree — it's a hard question. What's certain is that "it shows generalization that rote memorization can't explain" (it solves problems not in its training). Whether that's "the same meaning-understanding as humans" is a separate question with no clear answer. Practically, treat it as "an extremely advanced prediction device that behaves as if it understands." That's exactly why it errs so confidently (hallucination).
Q. Can I build my own LLM?
A. "Frontier-class" is impossible for an individual (it needs hundreds of millions of dollars and tens of thousands of GPUs). But training a small model, or fine-tuning an existing open model, is feasible even for individuals. Moreover, most practical needs are met by using existing models via the API. There's almost no need to "build everything yourself."
Q. Is AI's power consumption a serious problem for the planet?
A. It's a fact that the scale is becoming non-negligible (data-center power is about 1.5% of the world's, projected to double by 2030 (IEA)). But efficiency is also advancing furiously in parallel; "power per token" is dropping year by year. The problem is less "the efficiency of one query" than "the explosive growth of total volume × frequency." How much renewables, nuclear, and dedicated chips can offset that is the future focus.
Q. In the end, what's worth knowing as a user?
A. Three things. (1) The model is a "probability predictor," so it errs even in a confident tone (verify important info). (2) Heavy questions are costly in power and money, so pick the model by the task's weight (light errands to light models). (3) "Peak performance" is a money fight, but "practical performance" gets cheaper and more power-efficient every year (waiting for free/cheap models to evolve is also smart). The more you know the mechanism, the more cheaply and cleverly you can use AI.