DTBrief Your daily dose of tech news — signal, not noise.
Learning CenterOne technology, explained in plain English

AI Inference, Explained: How the Answer Gets Made

Every ChatGPT answer, every Devin code change, every Gemini voice reply is inference — the moment a trained model actually does its job. Here is what happens inside those seconds, and why the companies that run models are now worth more than the ones that train them.

A row of glowing server racks on a factory line, prompts flowing in on one side and finished answers streaming out the other, on a deep navy background with cyan and warm yellow accents
Training builds the model once. Inference runs it a billion times a day — that is the whole job.
$3B
Baseten’s Series G, December 3, 2026, at a $30B valuation — to run AI models for other companies. Inference is now the money layer.
122%
Growth in the top five cloud providers’ inference computing power in 2026 (TrendForce), against 56% for training
2/3
Deloitte’s estimate of inference’s share of all AI compute — running models has overtaken building them

1 What it is

AI inference is the moment a trained model does its job. Training builds a model — weeks of computation on thousands of GPUs, adjusting billions of weights until the model can predict the next word, the next pixel, the next move. Inference is what happens after: you send the finished model a prompt, and it produces an answer. Every ChatGPT reply, every Devin code change, every Gemini voice answer is inference.

For years, training got the attention and the money. The giant training runs were the story. That has flipped. Deloitte estimates inference now accounts for roughly two-thirds of all AI compute, and TrendForce forecasts the top five cloud providers will grow their inference computing power by about 122% in 2026, against 56% for training. We are no longer mostly building models. We are mostly running them.

The news peg is the money. On December 3, 2026, Baseten — the company that runs AI models in production for other businesses — raised $3 billion at a $30 billion valuation, more than double its June valuation, and said its annual recurring revenue has tripled. The same day, Cognition, maker of the Devin coding agent, raised more than $3 billion at a $78 billion valuation. The companies that run models are now worth as much as the ones that build them — because running a model is where the revenue lives.

2 How it works

Generating an answer is two very different jobs, and confusing them is the root of most confusion about AI speed. The first job is prefill: the engine pushes your entire prompt through the model in a single forward pass. Because the prompt is known in advance, thousands of tokens are processed at once, which keeps the GPU’s arithmetic units busy — prefill is compute-bound. Prefill, plus queueing, is most of what you feel as the wait before the first word appears.

The second job is decode: the model generates the answer one token at a time, because each new token depends on the one before it. Every step must read the model’s entire weights from memory — about 140 gigabytes for a 70-billion-parameter model — plus the whole KV cache, just to compute one token’s worth of math. The arithmetic is trivial next to the data movement, so decode is memory-bound. That is why a lone request leaves a $30,000 GPU mostly idle, waiting on memory.

The trick that makes it all work is the KV cache. Because of the way attention works, adding a new token never changes the keys and values of earlier tokens, so they are computed once and stored. Each decode step then only computes the new token and appends it to the cache. The cache is also the central cost of long conversations: it grows linearly with every token, which is why a 32,000-token prompt can eat the memory other users need. Production engines add three more tricks — continuous batching (finished requests free their slots immediately), prefix caching (shared prompt beginnings are never re-processed), and speculative decoding (a small draft model proposes tokens the big model verifies in one pass, for a 1.5 to 3 times speedup with no quality loss).

3 Inference vs training — same model, opposite job

The confusion is the name. People say “AI runs on GPUs” as if training and inference were the same job. They use the same chips, but they stress them in opposite ways.

A two-panel diagram: on the left, a whole prompt enters the model in one wide parallel pass labeled prefill; on the right, tokens leave one at a time in a loop labeled decode, with a memory cache feeding each step, on a deep navy background with cyan and warm yellow accents
Prefill reads the whole prompt at once. Decode writes one token at a time. The KV cache is the memory between them.

Training is a construction project: one giant job, thousands of GPUs working in lockstep for weeks, measured in floating-point operations and time. Inference is a service desk: millions of small jobs a day, each one a single request, measured in tokens per second and the wait before the first word. A training run happens once per model version. Inference happens every time anyone, anywhere, asks the model anything.

Inference: Baseten, vLLM, TensorRT-LLM, GroqRuns a finished model to answer live requests. Measured in tokens per second and time to first token. The same computation repeats billions of times a day — and every request is a billable event.
Training: the giant runs that build a modelAdjusts billions of weights over weeks on thousands of GPUs. Measured in FLOPs and weeks. It happens once per model version — then inference takes over for the model’s whole life.
Training builds the model once. Inference runs it a billion times a day.

4 Why everyone is building it now

First, the money arrived. Baseten’s $3 billion Series G at a $30 billion valuation, led by Sands Capital and Altimeter with Nvidia participating, is a bet that running models is the durable business — and it comes three rounds into a single year for the company. Cognition’s $78 billion valuation the same day is the same bet from the other side: its Devin coding agent is valuable because every agent step is an inference call.

Second, agents multiply the demand. Deepwater’s Gene Munster estimates AI agents consume 10 to 15 times the tokens of a chatbot, and agents already burn about five times more tokens than human users on the OpenRouter platform. A chatbot answers once per question. An agent plans, tries, checks its own work, and tries again — each step another inference call, each call more tokens. The more useful agents get, the more inference the world needs.

Third, the hardware race has moved here too. Nvidia controls about 74% of the inference chips that ship, and sold $41 billion worth of inference processors in the first quarter of 2026, up from $18 billion a year earlier. But the fastest-growing slice is the one Nvidia does not sell: chips hyperscalers design themselves — Google’s TPUs, Amazon’s Trainium — whose shipments grew 44.6% year over year against 16.1% for merchant GPUs. Inference is a fixed, repeating job, which is exactly the profile a custom chip is built for.

5 The honest part

Decode is slow for a structural reason. A 70-billion-parameter model on an H100 produces only about 24 tokens a second for a single user, because each token requires reading 140 gigabytes of weights through memory. Batching fixes the economics — many requests share each weight read — but it does not fix your wait: more users in a batch means each one’s tokens arrive more slowly. There is a real trade-off between throughput and latency, and no engine escapes it.

Long context is expensive in memory, not just in money. The KV cache grows with every token, so a very long prompt or a very long answer can crowd out other users — in one documented example, a single 32,000-token prompt crashed the party for everyone else on the same GPU. Prefix caching and paged attention help, but the cache is a physical limit: context is never free.

And speed numbers are slippery. Tokens per second depends on batch size, model size, hardware, and whether the benchmark counts prefill — vendors quote their best case. The honest way to read an inference claim is to ask what batch and what model it was measured on. What is not slippery is the direction: every agent, every voice assistant, every coding tool multiplies the number of inference calls, so the cost of “one answer” keeps climbing even as the price of one token keeps falling.

Key terms

  • Inference Running a trained model to produce an answer — the moment a model does its job, as opposed to training, which builds it.
  • Prefill The first phase of inference: the whole prompt runs through the model in one parallel pass, building the KV cache and producing the first token.
  • Decode The second phase: the model generates one token at a time, each step reading all the weights and the whole KV cache.
  • KV cache The stored keys and values of every token so far, kept so each decode step only computes the new token — it grows linearly with context length.
  • Tokens per second The speed of decode: how many output tokens the engine produces each second, limited mostly by memory bandwidth.
  • Time to first token (TTFT) The wait from sending a prompt to seeing the first word — set mostly by the prefill pass.
From today’s briefing

This lesson comes from today’s Daily Tech Briefing (Episode 52, December 4, 2026): Huang grilled by the Senate, the post-quantum alarm & DeepSeek holds back. Read the full briefing: Huang Admits Chips Were Smuggled to China — Daily Tech Briefing.

Sources

Baseten, “Announcing our Series G” (December 3, 2026) — $3B Series G at a $30B valuation, ARR tripled; Reuters, “AI startup Cognition valued at $78 billion in $3 billion funding round” (December 3, 2026) — $78B valuation, $1.4B revenue run rate; TrendForce via myITcon (November 30, 2026) — top five cloud providers’ inference computing power up ~122% in 2026 vs 56% for training; Deloitte via AInvest (2026) — inference roughly two-thirds of all AI compute; The Information via Bytes Europe — Nvidia ~74% of inference chips shipped, $41B in inference processors in Q1 2026 vs $18B a year earlier; Deepwater Asset Management (Gene Munster) via AInvest — agents consume 10–15x the tokens of a chatbot, ~5x human users on OpenRouter; Kinda Technical, “Inference Mechanics: Prefill, Decode and the KV Cache” — prefill compute-bound, decode memory-bound, KV cache mechanics; Masst Docs, “KV cache & continuous batching” — Llama-3-70B decode ~24 tokens/sec on an H100, speculative decoding 1.5–3x speedup, 32K-token prompt crowding out other users.