AI inference glossary
Serving

Offline inference

Also known as batch inference, offline batch serving

In plain English

Offline inference processes a large pile of requests with no user waiting, so the only goal is maximum tokens per dollar, not latency.

Technical definition

Offline inference is model serving without an interactive deadline, where requests are processed in bulk and the objective is total throughput and cost rather than per-user latency.

Engineering details

Synthetic data generation, document processing, embedding backfills, and evaluation sweeps do not care when any individual request returns. That frees the scheduler to run the largest batches the memory allows, order requests to maximize prefix reuse, and hold the accelerator at its throughput limit. Online serving lives at the opposite end of the same tradeoff, sacrificing throughput to keep every user above an interactivity floor.

Why it matters

The same hardware can differ by multiples in tokens per dollar between offline and tight latency operation, so quoting a single price per million tokens without stating the operating point is close to meaningless. Fleets often split into latency tiers for this reason.

How to read it in InferenceX

The right edge of an InferenceX throughput versus interactivity curve, where batch size is maximal and per-user speed is lowest, approximates offline operation. Reading one curve at both edges shows the full online to offline cost range for a recipe.