What is AI inference?

Inference is the act of running a trained AI model to get an output: every time your product sends a prompt and receives a response, that's one inference. Training builds the model once; inference is the ongoing cost of using it.

For a product team, inference is where the recurring costs and the user-facing speed come from.

The three numbers to track

  • Cost per request. Driven by the model's price and the tokens in and out.
  • Latency. Two parts: time to the first token (how long before anything appears) and tokens per second after that. Streaming the response makes waiting feel shorter.
  • Reliability. Rate limits, timeouts and outages happen. Plan a fallback.

Levers you control

  • Use a smaller, faster model for simple steps and a larger one only where quality needs it.
  • Trim what you send; cache what repeats.
  • Run non-urgent work in batches, which providers often discount.
  • Set a budget per user or per task for agents, which can loop.

Where inference happens

Usually in a cloud provider's data centre, on specialised chips (GPUs). That location matters for speed and for data residency. Our article on neoclouds and Canada's power problem explains who owns that hardware.

The Canadian angle

Canadian cloud regions exist for the major providers, but the newest models are not always available in them on day one. Check region availability for the exact model you plan to use. The federal sovereign AI compute program aims to expand domestic capacity.

Articles that mention Inference

All 27 terms in the AI glossary →