LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Deployment & Operations

Online Inference

Online inference returns model predictions synchronously in response to a live user or system request, typically under 100ms end-to-end for tabular models and under 2s for streaming LLM completions.

Full definition

Online inference requires always-on capacity, autoscaling, fast feature retrieval (online feature store), and tight observability (latency p50/p99, error rate, request volume). Cost-per-request is materially higher than batch because hardware sits warm awaiting traffic. The trade-off is direct user impact: every additional 100ms of latency measurably reduces conversion in consumer applications.

Why it matters

Online inference is the surface where model quality meets product UX. It is also where almost all GenAI cost lives in a chat or copilot product. Latency budgets, batching policies, and cache hit rates matter as much as model architecture.

Example

A payment processor scores every transaction in <40ms via an online endpoint backed by a feature store; latency above 80ms triggers a fallback rules engine to preserve checkout flow.

Source & further reading

Primary source: AWS — Real-time vs Batch Inference (Sagemaker docs) (2024).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/nl/glossary/online-inference/.