---
title: How Do Language Models Run? GPUs and Data Centres | Large Programs
description: Training and running big models needs special chips and lots of electricity. Here is the basic picture.
canonical: https://www.largeprograms.com/how-llms-run-on-computers/
---

[Home](/) / [How LLMs Work](/category/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](/img/hero/art-how-llms-run-on-computers.svg)
*Illustration made for this site.*

## 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](/alexnet-and-the-deep-learning-boom/).

## 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](/ai-and-energy-use/).

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](/small-language-models/).

## Why it matters

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

## Sources

- [https://www.iea.org/reports/energy-and-ai](https://www.iea.org/reports/energy-and-ai)
- [https://arxiv.org/abs/2404.14219](https://arxiv.org/abs/2404.14219)
- [https://en.wikipedia.org/wiki/Graphics_processing_unit](https://en.wikipedia.org/wiki/Graphics_processing_unit)

[Read this page as Markdown (.md)](/how-llms-run-on-computers.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
