Large Programs

Home / How LLMs Work

How LLMs Work

How Do Language Models Run? GPUs and Data Centres

Training and running big models needs special chips and lots of electricity. Here is the basic picture.

26 November 2026 · 1 min read

Illustration for the article How Do Language Models Run? GPUs and Data Centres
Illustration made for this site.

Two boxes comparing training and inference, plus the IEA estimate for data centres and the Phi-3 model size.
Diagram made for this site from the facts on this page.

Why GPUs?

Neural networks need many simple calculations at the same time. GPUs, originally built for computer graphics, are good at that. For example, the AlexNet team said in their paper that a very efficient GPU implementation made training faster. See AlexNet.

Training vs using

Training is slow and expensive and happens once in a while. Inference, answering your question, happens each time you chat.

Data centres

Big models usually run in data centres filled with servers. The International Energy Agency estimates data centres used around 1.5% of the world's electricity in 2024. Not all of that is AI. See how much energy AI uses.

Smaller models can run on a laptop or phone. Microsoft's Phi-3 report describes a 3.8 billion parameter model small enough to run on a phone. See small language models.

Why it matters

Computing uses energy and hardware. Making models more efficient is an important research goal.

Sources