Inference is the process of using a trained model to produce an output. Google’s glossary explains that, in large language models, inference means using the trained model to generate a response to an input prompt. Training happens once, at great cost; inference happens every time someone sends a request. That is why API providers charge per token processed during inference, and why options such as batch processing, which runs requests asynchronously, can cost less. Latency, the time until you get a response, is also a property of inference.
Source: developers.google.com/machine-learning/glossary (checked 2026-11-26).