Two phases of one life
Every AI model, from a spam filter to a large language model, goes through two distinct phases. In training, it learns: its internal numbers, called weights or parameters, are adjusted again and again until its predictions match the examples it is shown. In inference, it works: the finished model receives a new input, such as a question or a photo, and produces an output. The two phases use similar mathematics but have very different demands. Training is a single enormous project with a beginning and an end. Inference never ends while the model is in service, and its total cost grows with every user and every request.
Inside training
Training a large language model means feeding it trillions of tokens, small pieces of text, and asking it to predict each next token. After each batch, the error is measured and every weight is nudged slightly to reduce it, a process that requires both a forward pass through the network and a more expensive backward pass. This runs for weeks or months on thousands of specialised chips, such as graphics processors, linked by very fast networks inside data centres. Failures of individual chips must be handled without losing progress. A useful rule of thumb from research is that training takes about six calculations per parameter for every token the model learns from.
Inside inference
Inference is just the forward pass, with no adjustments, and needs roughly two calculations per parameter for each token produced. A language model writes its answer one token at a time, feeding each new token back in, so longer answers cost more. Speed matters more than raw throughput here, because a person is waiting. Inference must also be available all day in many regions, often on chips located nearer users. Engineers therefore shrink models for serving, for example by storing weights with fewer digits, a technique called quantisation, or by training smaller ‘student’ models to imitate larger ones. Some lighter models now run on phones and laptops without contacting a server at all.
Comparing the bills
Consider an illustrative model with 70 billion parameters trained on 15 trillion tokens. Using the rule of thumb, training needs about six times 70 billion times 15 trillion, or roughly 6.3 × 10²⁴ calculations. Producing one 500-token answer needs about two times 70 billion times 500, or 7 × 10¹³. Divide one by the other and training equals about 90 billion such answers. That sounds like a lot, yet popular services can handle hundreds of millions of requests a day, so within a year or two of heavy use, the accumulated cost of answering can rival or exceed the cost of training. These are simplified estimates, but they show why inference efficiency matters.
Energy and infrastructure
Both phases consume electricity, mainly in data centres, and that use has grown quickly with AI. The International Energy Agency has highlighted data centres as one of the fastest-growing sources of electricity demand. Training needs dense clusters of chips in a few sites with abundant power and cooling. Inference is spread more widely, closer to users, because every extra millisecond of distance adds delay. Gulf states have invested in both: Abu Dhabi’s Technology Innovation Institute has trained and released its own family of language models, and large data-centre campuses are being built in the region, where cooling is a significant engineering challenge because of high summer temperatures.
Why the distinction matters
Knowing which phase you are talking about clears up many debates. A model’s knowledge is fixed at training time, which is why it may not know about recent events unless it is given a search tool during inference. Privacy questions differ too: data used to train a model may influence it permanently, while data in a single conversation may not, depending on the provider’s policy. And costs differ for businesses. Building a model from scratch is affordable only for a few organisations, but using one, or adapting an existing model with a small amount of extra training called fine-tuning, is within reach of far smaller companies.
Sources & further reading
- Kaplan et al. · Scaling Laws for Neural Language Models (arXiv) ↗
- IEA · Energy and AI ↗
- Technology Innovation Institute, Abu Dhabi ↗
Figures are rounded and widely published; check the linked organisations for the latest editions. These organisations do not endorse this website.



