Skip to content

Home / Explainers

plain english

AI Training vs Inference: What Is the Difference?

Training is the one-time, very expensive process of teaching an AI model by showing it huge amounts of data. Inference is what happens every time you use the finished model, such as asking a chatbot a question.

Training can take weeks on thousands of chips and cost many millions of dollars. It produces the model's weights.

Inference uses those weights to answer requests. Each answer is cheap, but billions of them add up, so for popular products inference is now the larger share of AI computing demand.

This is why chip makers talk about "inference speed" and cost per token: serving users quickly and cheaply is a separate engineering problem from building the model.

Quick answers

Which costs more, training or inference?

Training costs more up front. For a widely used model, total inference cost over time can exceed it.

What is pre-training?

Pre-training is the first big training stage, where a model learns language and knowledge from vast text before being tuned for tasks.

What is post-training?

Post-training is the later tuning, often with human feedback or reinforcement learning, that makes a model helpful and safe.

In the news

More explainers