AI 101 — What is AI inference?

Share
AI 101 — What is AI inference?

Every answer an AI gives you is inference: running a trained model on new input to produce an output. Training is how a model learns; inference is how it works. If training is teaching, inference is doing.

Why it matters right now. Training makes the headlines — a new model, a bigger cluster, a record run — but training happens once per model, while inference happens every time anyone asks a question. That asymmetry is why the money has shifted: Google Cloud describes inference as the phase "where AI delivers business value," and this week's news — Amazon pledging $1 billion to host data-center towns, an AI unit reinventing itself as an inference cloud — is infrastructure being built for that steady, always-on demand, not the one-off act of training. When people talk about "inference economics," this is what they mean: the cost of answers, multiplied by billions of answers.

The mental model. A trained model is a finished instrument. Its weights — the billions of numbers learned during training — are frozen at release; nothing new is learned when you type a message. When your request arrives, the model reads your prompt in one pass, then writes its reply one token at a time, each new token predicted from everything before it. Two phases, both called inference: reading the question (engineers call it prefill) and writing the answer (decode). Your whole chat window is a sequence of these cycles, repeated as fast as the hardware allows.

Contemporary computer with black screen placed on stand near row of server steel racks in data center

The analogy. Think of a driver who spent years in driving school. That was training — expensive, slow, done once. Now she drives a taxi route eight hours a day. Every trip is inference: same knowledge, new street, instant judgment. Each individual trip costs a tiny fraction of what the school cost, but the taxi company's entire budget is trips, because she does thousands of them. The school made her a driver; the trips are the business.

Common misconceptions. First: "the model is learning from our conversation." It isn't. Inference runs the trained weights as-is — which is why a chatbot can be confidently wrong and why your corrections don't stick (when a vendor does let a model learn from feedback, that's a separate step, usually fine-tuning). Second: "inference is the cheap part." Per request, yes — Google Cloud notes each prediction is far less computationally demanding than a training run. But training a frontier model happens a handful of times a year, while inference runs continuously at global scale, so it now dominates how AI compute is actually spent. Third: "inference" doesn't mean the model is reasoning or concluding anything deep — the word is borrowed from statistics, where it simply means drawing an output from a model given data.

Why inference has its own industry. Because it runs constantly and users watch the clock, engineers optimize it differently from training. Requests from many users are batched onto the same hardware; a model can be quantized — its numbers stored with less precision — to fit more answers per second; and repeat portions of your prompt can be cached so the model doesn't re-read your whole document every message (as we covered in What is prompt caching?). Even the economics of thinking changed: reasoning models spend extra inference — tokens generated before the visible reply — to work through hard problems, which is why turning "thinking" up makes the same question cost more. Every token you see is produced one at a time by this machinery, one predicted from what came before.

Related reading: What is a large language model? · What is a token in AI? · What is model quantization?

When a chatbot gets something basic wrong, do you blame the model or the prompt? Write to us via our contact page.

Source: Google Cloud — What is AI inference?

Get SiliconNoon in your inbox

One email a day with the AI stories that matter — what happened, the numbers, and why it matters. No spam, unsubscribe in one click.

Read more

AI 101 — What is a diffusion language model?

AI 101 — What is a diffusion language model?

A diffusion language model writes text the way an image generator paints a picture: it starts with a block of noise and refines the whole thing over several passes, instead of typing one word at a time left to right. Almost every AI you have used does the typing. This is the main rival design, and in the last week it went from research curiosity to something running real phone calls and coding agents. The reason it is in the news is Inception's Mercury 2.5 release, which the company calls the…

AI 101 — What is an embedding?

AI 101 — What is an embedding?

An embedding is a list of numbers that represents the meaning of something — a word, a sentence, a photo, a song — so a computer can compare meanings using arithmetic. The rule is simple and surprisingly powerful: things that mean similar things get similar lists of numbers. That's the whole idea, and it's the foundation of semantic search, recommendation feeds, and most of what people call "AI memory." Why it matters right now Embeddings are the invisible layer under nearly every AI feature…

AI 101 — What is a token in AI?

AI 101 — What is a token in AI?

A token is the chunk of text an AI model actually reads and writes — not a word, not a character, but a piece of a word: "un", "believ", "able". Every language model, from the smallest phone-side model to the biggest frontier system, does its work by predicting one token after another. If you understand tokens, you understand why AI bills look the way they do, why some languages cost more than others, and why a model can count the letters in "strawberry" and still get it wrong. It is also the…