Skip to content
Glossary

What is inference?

Inference is the moment a model actually generates an answer to one specific question, separate from training, which is the earlier, one-time process of building the model in the first place.

Training happens once, or occasionally, ahead of time, and produces the model. Inference is what happens every single time someone asks that model something: it's the model running on new input to produce a response. The two are often confused because both involve the model 'processing' text, but only training changes the model's underlying patterns, inference just uses them.

Inference is also the point where any live activity happens: a tool being called, a page being fetched, a document being retrieved, all get folded into the answer at this stage, not baked in beforehand. And because a model can weigh several plausible next words rather than always picking the exact same one (see sampling-variance), the same question can get a slightly different answer at inference time even when nothing about the model itself, or what it retrieved, has changed.

Related

Want to know where you actually stand on this? Run a free visibility check or try the free tools.