Inference is everything that happens after a model is trained: putting it on GPUs and making it answer fast, reliably and cheaply. In March 2026, Baseten sat down with Philip Kiely, author of the book Inference Engineering, and Charlie O'Neill for 28 minutes on why this has become one of the most valuable skills in AI and how to learn it. This guide turns that conversation into plain words, ten diagrams and two calculators you can play with.
Inference used to be the small step after training. It is now a stack of dozens of technologies that every AI product runs on, and almost nobody was trained for it.
The conversation is How to become an inference engineer, published by Baseten on 26 March 2026. Philip Kiely has spent a little over four years at Baseten, a company that runs models for other companies, and wrote Inference Engineering from what he learned there. Charlie O'Neill works on post-training at Baseten. Between them they cover what inference is, why demand for it multiplies, why every research breakthrough makes it harder, and a bet that a world of open, specialized models will need far more people who can run them.
The thread through all of it is Philip's claim that the field is early enough for newcomers to matter: "You don't have to have a PhD to become an inference engineer." This guide is for two readers. People who want to build inference systems, and people who buy them and need to know what to ask. The second group includes most product managers.
Running a trained model to get an answer. Every time an AI product responds to someone, that is inference.
The chip models run on. Its memory size and memory speed set most of the limits in this guide.
The software that runs a model on GPUs and serves many users at once, such as vLLM, SGLang or TensorRT-LLM.
The notes a model keeps for every token it has read, so it doesn't redo work. It grows with the conversation.
The two phases of every answer: reading the prompt all at once, then writing the reply one token at a time.
One attempt a model makes at a practice task during reinforcement learning, so it can be scored.
In Philip's telling, inference is four steps: pick a model, get a GPU, load the model onto it, and make it run fast. The first three are easy. The fourth is the job. "Fast" has to hold for thousands of people at once, with prompts of every length, at a price the business can afford, without dropping a single request when a machine fails.
When Philip joined Baseten, inference was not easy, but much easier. A typical job was a classic machine-learning model or an early language model like BERT, with a few hundred million parameters, running a low-volume internal task on a CPU or a small GPU. Then speech models like Whisper needed a whole GPU each. Then language and image models grew from ten billion parameters to a hundred billion to more than a trillion.
As models grew, the software around them grew too. Philip describes a stack that runs from CUDA, the layer where GPU programs are written, up through the inference engine and the serving orchestrator, plus the infrastructure work of keeping thousands of expensive GPUs running and never dropping a valuable request. It went from something a small team could handle to something mission-critical for many large companies, built on dozens of technologies across several engineering specialties.
Philip says the book is first of all a map, because inference is not one technology but many layers of options and trade-offs. It runs 256 pages, with eight chapters and two appendices (a glossary and a reading list), and the PDF is free. Its chapters are Inference, Prerequisites, Architecture, Hardware, Software, Techniques, Modalities and Production. Laid out as a stack, they look like this:
Most people assume demand for inference grows with the number of users. Charlie's point is that it multiplies across several factors at once.
| Factor | Why it multiplies |
|---|---|
| More models | Every company that fine-tunes or trains its own model now has to serve it. |
| Bigger models | Each copy needs more GPUs. |
| Agents | One request starts many agents that call tools, search the web and start their own sub-agents. |
| Parallel thinking | Reasoning models can run several lines of thought at once for one answer. Charlie notes some frontier research modes are believed to work this way. |
| Longer context | When 32,000-token windows arrived they felt like plenty. Now a million is common and people want far more. |
| Tool output | Search results and files get dumped straight into the context. |
| Cheaper calls | When each call gets cheaper, people don't use the same amount. They use more. |
In most industries, research takes months, years or decades to reach production at scale. In inference, Philip says, a new paper can be running in production within a couple of days. That means taking research code, which is rarely written to stay up 99.999% of the time (about five minutes of downtime a year), and making it bulletproof very quickly.
The example they discuss is DeepSeek's sparse attention. Normally each new token looks back at every earlier token. DeepSeek adds a small, fast indexer that scores the earlier tokens, and the model then looks back only at the top 2,048. On long inputs that saves a great deal of work. On short ones it saves nothing: if a request has fewer than 2,048 tokens, the top 2,048 is all of them, and you have still paid for the indexer. Philip says Baseten sometimes switches the feature off for shorter requests, because it is less efficient at some lengths.
Every answer has two phases. Reading the prompt (prefill) happens all at once and is limited by how fast the chip does math. Writing the reply (decode) happens one token at a time and is limited by how fast the chip can fetch from memory. Philip's framing: they run together only because both are needed, but they are completely different shapes of work. Charlie adds that the balance between them has already shifted and will keep shifting as agent workloads grow.
The response is to separate them, which is called disaggregation. Philip says Baseten was one of the first adopters of NVIDIA's Dynamo toolkit, which can split the two phases onto different GPUs and move the KV cache between levels of memory.
The same system can be fast or slow depending on what people send it. The video gives two examples.
Coding agents are cache-friendly. Philip says some of the best results on Baseten's model APIs come from coding-agent users such as OpenCode, because those agents resend mostly the same context request after request. The KV cache from the last request can be reused, and performance jumps.
Guessing ahead can backfire. Speculative decoding uses a small drafter model to guess the next few tokens, and the big model checks all the guesses in one step. If the drafter was trained only on code and someone asks for a poem, most guesses are wrong. You still pay to draft them, so the answer comes out slower than if you hadn't guessed at all. Try it:
Philip's conclusion is that inference systems increasingly have to adjust in real time to whatever traffic is arriving, instead of being configured once and left alone. He expects the field to get harder and more valuable, not simpler.
Charlie makes a point that is easy to miss: inference engineering isn't only for inference engineers. Post-training used to mean mostly supervised fine-tuning: show the model good examples and let it imitate them. That needs no inference at all. Reinforcement learning changed this. The model has to produce its own attempts, which get scored, and those attempts must come from the current version of the model (this is what "on-policy" means). So the model being trained also has to be served, fast, at large scale.
One consequence is that training and serving are converging. Some companies now pitch both on the same kernels and settings, so a model behaves in production exactly as it did in training. Applied Compute calls this "zero train-to-deployment mismatch".
"Big Token" is their nickname for one possible version of the industry: two or three companies make the models, and everyone else rents intelligence from them one token at a time. Philip thinks that version is fading, and his argument rests on thresholds. Each task has a bar: tab completion, then code generation, then agentic coding, then PR review. Once a model clears a task's bar, it doesn't need to get smarter to do that task. Closed models clear each bar first, and open models clear the same bar a few months later. From then on, the task can move to a faster, cheaper, more reliable open model.
Charlie's counterpoint, and how he resolves it. Demand for intelligence is fairly inelastic: people want the smartest model available and will make their workflows more complex to use it. And a general open model can do only a subset of what the best closed model can. But he argues that's the wrong comparison, because open models can be specialized. Post-trained on one workflow, an open model can beat the biggest reasoning models from the frontier labs at that workflow, in his view. Today, full control of the weights is the only practical way to specialize. For repeatable work where cost and speed matter, he expects specialization to win, as it does across the rest of the economy.
Who controls AI. Charlie also makes a political argument: concentrating this much power in one or two organizations is risky, and widely held open models work more like a majority vote on how AI gets used. He notes that US enterprises have hesitated because the strongest open models have often been Chinese, and expects competitive American open models to ease that. Philip adds that open bases from Mistral and OpenAI's gpt-oss still see heavy demand for fine-tuning. These are their views, and they work for a company that serves open models.
Philip ties the two worlds back to careers. A world with one or two giant models needs relatively few inference engineers. A world with millions of specialized models, each owned by the company that uses it, needs an inference strategy, and people to run it, in every one of those companies. Baseten's book page predicts a million inference engineers within a couple of years.
Both speakers think pedigree counts for less than it used to. When you can ask a model to explain any paper, having twenty years of papers in your head is less of an edge. Curiosity and problem-solving are worth more. Charlie goes further: much of the last twenty years of deep-learning expertise doesn't apply to today's language models. Philip joined Baseten with no AI background and works at the level of the tools, not the theory.
One twist from Philip: when he tried to get AI models to help write the book, they did badly. Their knowledge of inference concepts was weak, and they kept reaching for older machine-learning operations and deep-learning ideas that no longer apply. His takeaway is that there is almost an advantage in learning what is happening now, rather than everything that came before.