During inference, software runs a model's learned parameters on new input. A language model may generate text, while another model may assign a label or produce an image. The model's architecture and the surrounding runtime determine how that computation is performed.
Inference is distinct from training, which updates learned parameters. Its practical performance depends on input size, output length, hardware, memory and implementation. Faster execution does not by itself establish that the model's answer is correct.
ELI5
Inference is the moment a trained AI model uses what it learned to handle a new input. Training is like studying examples; inference is like answering a new question after the studying is finished.
For example, when a photo app labels a new picture as containing a dog, it is performing inference. The model receives the picture, runs its learned calculations, and returns a result. The speed and computing cost of that step affect how quickly and cheaply the app can respond.
Does inference always train the model?
No. Ordinary inference uses existing parameters. A separate training process is needed to update those parameters.
Why can inference speed vary?
The model, workload, available memory, hardware and execution software all affect the amount and arrangement of computation.









