AI

Inference

Running a trained model to produce output, as distinct from training it. The phase where cost, latency and throughput matter operationally.

Inference cost scales with token count, model size and whether reasoning is involved. Batching, caching (KV cache), quantisation and speculative decoding are all techniques to reduce it. For hosted models the cost is per-token pricing; for self-hosted models it is hardware and energy.

Explained in depth

Learn it in context

Related concepts