On this page
Definition
Inference is the stage at which a trained machine learning model processes new input and produces an output, distinct from training, which is the earlier process of building the model's parameters from data.
Simple explanation
Training is like a student studying for years to learn a subject. Inference is that same person sitting an exam afterwards, using what they learned to answer a new question they have never seen before. The model does not learn anything new during inference — it applies what it already knows.
Every time you send a message to ChatGPT, upload a photo for a vision model, or get a recommendation from a shopping app, that response is generated through inference on an already-trained model.
Why it matters
Inference is where AI meets the real world — it is the step users actually experience, and it happens far more often than training. A model might be trained once and then used for billions of inference requests.
For businesses running AI products, inference cost, speed and reliability directly determine the user experience and the ongoing running cost, separate from the one-off cost of training or fine-tuning a model.
How it works
- 1Input receivedNew data — text, an image or other input — is sent to the trained model.
- 2Forward passThe model processes the input through its fixed, already-learned parameters.
- 3Output generatedThe model produces a prediction, such as the next word, a classification or an image.
- 4DeliveryThe output is returned to the user or application, often within a few seconds.
Real examples
Products named for illustration only. Inclusion is not an endorsement.
- ChatGPT responsesEvery reply you receive is the result of an inference call to the underlying model.
- Cloud inference APIsProviders like OpenAI, Anthropic and Google charge per token processed during inference.
- On-device inferenceSome apps run smaller models locally on a phone to avoid sending data to a server.
Advantages
- Enables a single trained model to serve unlimited users after one training process.
- Can be optimised independently of training for speed and cost.
- Supports real-time applications like chat, translation and recommendations.
- Can run in different environments — cloud, on-device or at the edge — depending on needs.
Limitations
- Consumes ongoing compute resources, unlike a one-off training cost.
- Latency and cost scale with usage volume, which can be significant at large scale.
- The model cannot learn or improve from what happens during inference alone.
- Larger models generally require more powerful, expensive hardware to run inference quickly.
Common misunderstandings
- ClaimInference makes the model smarter over time.RealityThe model's knowledge is fixed after training; inference only applies that fixed knowledge to new inputs unless a separate update process is run.
- ClaimInference and training cost the same amount to run.RealityTraining is typically a large one-off cost, while inference is a smaller but recurring cost that adds up with usage.
Frequently asked questions
Is inference the same as training?
No. Training builds the model's knowledge from data; inference is using that already-built model to answer new questions.
Why does inference sometimes feel slow?
Larger models require more computation per response, and high demand can add queuing delays.
Does inference use my data to retrain the model?
Not by default in most enterprise settings — check the provider's policy, as consumer tools sometimes differ.
Can inference happen without an internet connection?
Yes, if the model is small enough to run locally on your own device rather than in the cloud.
Why do AI providers charge per token for inference?
Because each token processed consumes computing resources during inference, which is the main ongoing cost of running the model.
The Tool Money Lab perspective
Inference cost is the number that quietly determines whether an AI feature is commercially viable at scale, far more than training cost, which is usually a one-off, amortised expense.
We pay close attention to inference speed and cost when reviewing AI products, since a slow or expensive inference layer shows up directly as a poor user experience or an unsustainable pricing model.
Conclusion
Inference is what happens every time a trained AI model is actually used — turning new input into an output, whether that is a chat reply, an image or a recommendation.
Understanding the difference between training and inference clarifies both how AI products are built and why their ongoing running costs work the way they do.