This website uses cookies

Read our Privacy policy and Terms of use for more information.

Last Updated: November 22, 2026

"AI Inference" graphic with a glowing brain and data chart, illustrating how AI inference works

What Is Inference in AI?

Inference is the moment a trained AI model is put to work. Every time ChatGPT answers a question, a fraud system scores a card payment or a phone transcribes a voice note, the model is running inference: taking new input and producing an output from what it learned in training. NVIDIA's definition is a good one: inference is "the process where a trained AI model generates new outputs by reasoning and making predictions on new data."

Why should a business leader care? Because training happens once, but inference happens every time someone uses the product. That makes inference AI the part of the stack that decides how fast a tool feels, how much it costs to run and whether it can scale to thousands of users.

Key Takeaways

  • Inference is a trained model producing outputs on new data. Training builds the model; inference uses it.

  • An inference engine is the software that runs a model efficiently, such as vLLM for large language models.

  • An inference model is simply a trained model deployed to answer requests. Reasoning models spend extra compute at inference time to think through hard problems.

  • Inference cost is usually priced per token, and the gap between model tiers is large: the same workload can cost $13.50 or $540 a month depending on the model.

  • GPUs dominate inference today, with Google TPUs, custom chips and CPUs filling specific roles.

🎯 Before you read on, we put together a free 2026 AI Tools Cheat Sheet covering the tools business leaders are actually using right now. Get it instantly when you subscribe to AI Business Weekly.

Table of Contents

Training vs Inference: The Difference

The easiest way to understand inference is to compare it with training.

Training

Inference

Purpose

Teach the model patterns from data

Use the model to answer new requests

How often

Occasionally (a new model or version)

Constantly, every user request

Data

Huge historical datasets

Only the new input, such as a prompt or an image

Time per run

Days to months for large models

Milliseconds to seconds per request

Cost pattern

Large, one-off compute bill

Small per request, large in aggregate

What matters most

Final model quality

Speed, cost per request and reliability

A simple analogy: training is learning a language; inference is speaking it in conversation. You only learn once, but you speak every day, which is why inference ends up dominating the long-run bill for any popular AI product.

How AI Inference Works

Inference starts when a trained model receives input. For a large language model, a request goes through a few stages:

  1. Tokenize. Your text is split into tokens, small chunks of words, and turned into numbers.

  2. Prefill. The model reads the whole prompt in one pass through its transformer layers and builds an internal memory of it, called the KV cache.

  3. Decode. The model predicts the next token, adds it to the output, and repeats, one token at a time, until the answer is complete.

  4. Return. Tokens are turned back into text and streamed to you.

That token-by-token decode step is why long answers take longer and cost more than short ones, and why output tokens are priced higher than input tokens on most APIs. For image, audio and video models the steps differ, but the principle is the same: a trained network turns new input into a prediction. Our explainer on how large language models work goes deeper on the model side, and our guide to context windows explains how much input a model can read at once.

What Is an Inference Engine?

The term has two meanings, depending on whether you are reading an AI textbook or an engineering blog.

In classic AI and expert systems, the inference engine is the reasoning part of the system. Britannica describes it this way: an inference engine "interprets and evaluates the facts in the knowledge base in order to provide an answer." Rule-based systems for diagnosis or credit decisions were built on this idea long before today's neural networks.

In modern AI, an inference engine is the serving software that runs a trained model fast and cheaply in production. A popular open-source example is vLLM, which describes itself as "a fast and easy-to-use library for LLM inference and serving." Engines like this earn their keep with techniques such as PagedAttention for memory, continuous batching of incoming requests, quantization and speculative decoding. Chip makers and cloud providers ship their own engines too, tuned for their hardware.

For most businesses, the inference engine is invisible: you call an API from OpenAI, Anthropic or Google and they run the engine for you. It becomes your decision only if you host open models yourself.

What Is an Inference Model?

An inference model is a trained model that has been deployed to answer requests. The model file itself does not change during inference; it just applies what it learned. The same model can be trained once and then serve millions of inference requests.

A newer twist is the reasoning model. Instead of answering in one quick pass, these models generate intermediate reasoning before the final answer. NVIDIA calls this test-time scaling and notes that reasoning models "perform multiple passes to work and reason through complex problems", which takes significant compute at inference time. The practical result: reasoning models are often better on hard math, code and analysis, but each answer uses more tokens, takes longer and costs more. Picking a reasoning model for a simple FAQ bot is like hiring a senior consultant to answer the phone.

LLM Inference: Latency, Throughput and Cost

Three numbers decide whether LLM inference works for a real product.

Metric

What it means

Why it matters

Latency

How long it takes to produce each token, and the first token

Users notice slow answers; voice and chat need low latency

Throughput

How many tokens the system processes per second across all users

Decides how many people one server can handle

Cost per token

What each input and output token costs to process

Decides your margin or your monthly bill

These pull against each other. NVIDIA's glossary notes that low latency matters for real-time applications but often raises costs, while higher throughput through techniques such as dynamic batching brings cost per token down. Most of the engineering in inference is about finding the right balance for a given use case.

Inference Cost: What You Actually Pay

For most companies, inference cost shows up as an API bill priced per million tokens. Here is what Anthropic charges for its current Claude models, from its official pricing page (November 2026):

Model

Input (per 1M tokens)

Output (per 1M tokens)

Batch API

Claude Haiku 5.5 (prompts up to 100K tokens)

$0.10

$0.50

50% off

Claude Sonnet 5.5

$2

$10

50% off

Claude Opus 5.5

$4

$20

50% off

Claude Fable 5.2

$8

$40

50% off

Worked example. Say a support assistant handles 1,000 chats a day, each with about 2,000 input tokens (instructions, history and the customer's question) and 500 output tokens. That is 2 million input and 0.5 million output tokens a day.

  • On Haiku 5.5: $0.20 + $0.25 = $0.45 a day, about $13.50 a month

  • On Sonnet 5.5: $4 + $5 = $9 a day, about $270 a month

  • On Opus 5.5: $8 + $10 = $18 a day, about $540 a month

Same workload, a 40x spread. That is why model choice is the biggest inference cost lever most teams have. Batch processing (50% off for work that can wait) and prompt caching (cache hits on Sonnet 5.5 cost $0.10 per million tokens instead of $2) cut it further. For full rate cards, see our Claude API pricing guide and the AI pricing hub.

The long-run trend is falling prices for the same capability. Stanford's 2025 AI Index found that the cost of querying a model at GPT-3.5's level on the MMLU benchmark dropped from $20 per million tokens in November 2022 to $0.07 by October 2024, a more than 280-fold decline in about 18 months. Cheaper inference also tends to get used for far more tasks, so total spending can still rise.

Hardware Used for AI Inference

Inference is mostly parallel math, which is why general-purpose CPUs struggle with large models and specialized chips dominate.

Hardware

Examples

Where it fits

GPUs

Nvidia data center GPUs

The industry default for training and serving large models

TPUs

Google TPUs, including TPU 8i

Google's own chips; TPU 8i is built for latency-sensitive inference

Custom accelerators

AWS Inferentia, wafer-scale and other specialist chips

Lower cost or higher speed for specific workloads

CPUs and on-device chips

Laptop and phone processors

Small models, edge devices and privacy-sensitive tasks

Google split its eighth-generation TPUs into two chips in April 2026, saying "TPU 8i is designed with more memory bandwidth to serve the most latency-sensitive inference workloads." Nvidia's data center GPUs remain the default for most inference today, but rivals are closing in with their own designs; our guide covers the inference chips from Nvidia's rivals, from Google's TPU 8i to Cerebras. For the chip-level trade-offs, see TPU vs GPU, and for what the hardware itself costs, our Nvidia H100 price guide.

How Companies Cut Inference Costs

Because inference runs constantly, small efficiency gains add up fast. The common techniques:

  • Quantization: storing model weights at lower precision (for example 8-bit or 4-bit instead of 16-bit) so they use less memory and run faster.

  • Distillation: training a smaller model to copy a larger one's behavior for a specific job.

  • Pruning: removing parts of the network that contribute little.

  • Batching: grouping requests so the hardware stays busy.

  • Caching: reusing work for repeated prompts or shared instructions instead of recomputing it.

  • Speculative decoding: letting a small model draft tokens that the large model only checks.

  • Model routing: sending easy requests to a cheap model and only hard ones to an expensive one.

For buyers, the last one is the easiest win. Most teams do not need the top model for every request, and routing simple tasks to a smaller tier is where the 40x gap in the worked example above turns into real savings.

Business Use Cases for AI Inference

Almost every AI-powered product depends on inference. Common examples:

  • Customer support assistants and helpdesk triage

  • Search ranking and embedding generation

  • Product recommendations

  • Fraud detection and transaction scoring

  • Document processing and data extraction

  • Voice assistants and transcription

  • Tools that generate text, images or video

The practical question for each one is the same: how fast does it need to be, how many requests will it serve, and what is each request worth? Those three answers tell you which model tier and which hardware make sense.

Frequently Asked Questions

What is inference in AI?
Inference is when a trained AI model takes new input, such as a prompt, an image or a transaction, and produces an output like an answer, a label or a prediction. Training teaches the model; inference is the model being used, which happens every time someone interacts with an AI product.

What is an inference engine?
In classic AI, an inference engine is the part of an expert system that applies rules to a knowledge base to reach an answer. In modern AI, it is the serving software that runs a trained model efficiently in production, such as vLLM for large language models.

What is an inference model?
An inference model is a trained model deployed to answer requests. It does not learn during inference; it applies what it learned in training. Reasoning models are a type of inference model that spend extra compute thinking through a problem before answering.

Why is AI inference expensive?
Each request needs a lot of parallel math on specialized chips, and popular products serve millions of requests. Costs are usually priced per token, and output tokens cost more than input tokens. Choosing a smaller model, batching and caching are the main ways to bring inference cost down.

What is the difference between training and inference?
Training builds a model by learning patterns from large datasets, usually as an occasional, expensive job. Inference uses the finished model to answer new requests in milliseconds to seconds, constantly, which is why it dominates the long-run cost of running AI.

The Bottom Line

Training gets the headlines, but inference is where AI meets your budget. It decides how fast a tool feels, what each request costs and whether a pilot can scale to the whole company.

If you are buying AI rather than building it, focus on three things: match the model tier to the task, use batch and caching discounts where work can wait, and watch cost per request as usage grows. The teams that treat inference as an ongoing cost to manage, not a one-time setup, are the ones whose AI projects survive the CFO review.

📨 Don't miss tomorrow's edition. Subscribe free to AI Business Weekly and get our 2026 AI Tools Cheat Sheet instantly: bite-sized AI news every morning, zero hype.

⭐ Get more AI Business Weekly in Google: add us as a preferred source on Google.

Written by Sameer Khan, with support from the AI Business Weekly Editorial Team. AI-assisted and fact-checked against the sources linked above.