Mobius

Training vs Inference

Training is the process of teaching a model by feeding it large amounts of data, inference is the process of actually using that already-trained model to produce an answer. Training happens once, or periodically, inference happens every time someone uses the model.

Training, When it happens:

Before the model is deployed, often once or periodically

Inference, When it happens:

Every single time a user asks a question or makes a request

Training, Cost pattern:

Large one-time or periodic cost

Inference, Cost pattern:

Smaller cost repeated per use, adds up at scale

Training, Goal:

Build the model's knowledge and patterns

Inference, Goal:

Apply that knowledge to a real, live request

When it happensBefore the model is deployed, often once or periodicallyEvery single time a user asks a question or makes a request
Cost patternLarge one-time or periodic costSmaller cost repeated per use, adds up at scale
GoalBuild the model's knowledge and patternsApply that knowledge to a real, live request