Inference
Category: Generative AI / LLM
The process of using a trained AI model to make predictions or generate outputs on new input data, as opposed to the training phase.
Full Explanation
Inference is the deployment-time phase where a trained model processes new inputs to produce outputs—whether classifying images, generating text, or making recommendations. Unlike training, which updates model weights, inference only performs forward passes through the network. Inference optimization is critical for production systems, as it determines response time, throughput, and operating costs. Key metrics include latency (time per request), throughput (requests per second), time to first token (for streaming), and cost per inference. Optimization techniques include quantization (reducing numerical precision), batching (processing multiple inputs together), model distillation (using smaller models), caching (storing common results), and hardware acceleration (GPUs, TPUs, custom chips). For language models, inference is often the dominant cost in production, making efficiency improvements highly valuable. The inference landscape includes both cloud API services and self-hosted solutions.
Related Terms
More in Generative AI / LLM
Explore More
- AI Tools Library — Discover AI tools related to Inference
- AI Education — Courses to learn about Generative AI / LLM
- AI News — Latest news and updates