GlossaryEntry 14 of 30

Inference

The stage where an already-trained model is used to produce an answer.

Read the transcript

Every question you ask an AI sets a machine to work. AI glossary, entry fourteen: inference. It's the stage where an already-trained model is used to produce an answer. First, learn, then serve. A model's life has two stages: training, where it learns, and inference, where it does the work. Like a chef who trained for years and now, every evening, cooks the dishes that are ordered. Then, an example. Your phone recognizes your face to unlock. It compares what it sees with your saved face, and answers: it's you. That's inference: the model learns nothing new. Why does it matter? Every answer takes computing, and so energy. That's why paid AI services charge by usage or cap your messages. And your waiting time depends on it too: the model's size, the length of the text. Remember: inference is the AI at work, after the learning is done; every answer takes computing power, and so energy; and the model doesn't change during inference. Inference is the evening service… after years of training. Next entry: large language model.

How it works

A model's life has two stages: training, where it learns, and inference, where it does the work. Every time you ask an AI a question, that's inference: the model applies what it learned without learning anything new. Think of a chef who trained for years and now, every evening, cooks the dishes that are ordered.

Why it matters to you

Pay per use

Every request keeps machines busy. That's why paid AI services charge by usage or cap how many messages you can send.

Waiting time

How long you wait for an answer depends on inference: the model's size, the length of the text, the power of the servers.

Common myth

False: “An AI is only expensive while it's being trained.”

Training is expensive, but inference happens again with every question from every user. Over time, it adds up too.

In the news