Ask a team what they would change to make their AI feature more reliable, and most will answer with a model name. A newer one, a bigger one, the one that just topped a benchmark.

Then you look at the actual failures and almost none of them are model failures.

The system fed the model the wrong evidence, or too much of it. Or the prompt was ambiguous in a way nobody noticed until a user phrased something slightly differently. Or the output was free text where the next step needed structure, so a downstream parser guessed and guessed wrong.

I spent the first six days of a sixty-day series on this, and the through-line surprised me more than it should have: the model is the smallest replaceable part of a production AI system, and almost every reliability problem lives in the layer around it.

Write down what the model is responsible for

Swapping models changes the ceiling of what your system can do. It does not change whether your system knows which document to look at, what it is allowed to do, or what happens when it is wrong.

Those are architecture questions, and a better model answers none of them. So "upgrade the model" often produces a system that fails in exactly the same shape, slightly more fluently, because the failure was never in the generation step.

It helps to write down what behaviour the model is genuinely responsible for, and treat everything else as your problem. For a retrieval-backed assistant or an extraction pipeline, that list is short. The model turns evidence into prose, or a request into a structured decision. Deciding which evidence, validating the decision, enforcing what happens next: none of that is the model's job, and none of it improves when the model does.

Ask which of your current bugs would still exist if you replaced today's model with one from eighteen months ago. If the honest answer is nearly all of them, that tells you where the engineering is.

Fluency is not reasoning, and the difference is operational

An LLM generates one token at a time, each conditioned on everything before it. It may represent where a sentence is heading, but it follows no plan you can inspect, and it cannot revise a sentence already produced.

This sounds like trivia until you notice what it rules out. A confident, well-formed answer carries no signal about whether the underlying claim is true, because fluency is a property of the generation process rather than evidence of correctness. The same mechanism that produces a correct answer produces a fabricated one, with identical polish.

Two things follow directly. You cannot use "it reads well" as a quality gate, which is what manual review without a rubric actually does. And you cannot rely on the model to notice mid-answer that it has drifted: it can only add tokens, never edit earlier ones, and nothing in decoding checks the answer against your requirements.

Both of those have to be built around the model, as a verification step that checks claims against retrieved sources and a schema that constrains what a valid answer even looks like. Neither is exotic, and neither arrives by choosing a better model. Both have a price. A verification step is often a second model call, adding its latency and cost to every answer, and a schema strict enough to catch errors will also reject some answers that were fine.

Token counts are a product constraint

Text becomes tokens before the model sees it. Tokens are what you pay for, what fills the context window, and what determines how long a response takes.

The operational sting is that token counts have nothing to do with how important the text is. A rambling retrieved document and a critical safety instruction cost the same per token and compete for the same space. Teams meet this when a feature that behaved in testing becomes three times more expensive against real traffic, because real documents are longer and messier than the tidy samples someone picked for the demo.

It also lands unevenly. Text in some languages tokenises far less efficiently than English, so the same feature can cost noticeably more per request for part of your user base, and hit context limits sooner, which is a product decision arriving through an implementation detail.

More context frequently makes things worse

The instinct with a large context window is to fill it. Put everything in, let the model work out what matters.

It does not behave that way. Relevant information competes with irrelevant information for the model's attention, and adding weak evidence alongside strong evidence reliably dilutes the answer. A system that retrieves twenty documents and passes all twenty will often perform worse than one that retrieves twenty, ranks them, and passes three.

The failure is quiet, which is why it persists. Nothing errors, and the answer still arrives, still fluent, now subtly shaped by the four irrelevant documents that happened to be semantically nearby. You only catch it by comparing against a version that passed less.

Treat context as a budget you spend deliberately rather than a container you fill, and at each step ask whether the next item is more useful than the thing it is crowding out. Passing three instead of twenty moves the risk into ranking, so if the ranker misses, the model never sees the right document. Measure how often the right document makes the top three on labelled questions (recall at three) before you cut.

A vague prompt becomes a vague system

Prompts stop being text the moment real users depend on them. They become operating instructions, and they inherit every ambiguity left in them.

"Be helpful and concise" reads fine to a human because we silently fill in the intent. A model fills it in differently on Tuesday than on Monday, and differently again for a user who phrased their question in an unusual way. The variation was always present. Testing did not reveal it because the people testing knew what they meant, and unconsciously phrased their inputs to suit.

The useful exercise takes ten minutes. Hand your prompt to a colleague and ask them what a technically compliant but unhelpful response would look like. You are asking what it could produce while honouring every word. That reading is available to the model too, and it is the one that turns up once real inputs stop resembling your test cases.

Sampling settings are product decisions

Temperature and the related sampling parameters set how much variation your users experience.

A support assistant that answers the same policy question two different ways has a consistency bug. A brainstorming tool that returns identical output every time is broken in the opposite direction. The same parameter has opposite correct settings in the two products, and what each product is for decides which setting is right.

The version that causes real trouble is a single global setting across a system that does several jobs. One value covering both the summarisation path and the creative-drafting path guarantees one of them is wrong. Set these per use case and write down the reason next to each value.

The part you actually control

The surrounding system is the part you own. You cannot make the model better, but you can decide what evidence reaches it, what shape its output has to take, how much variation is acceptable, and what happens when it is wrong.

That explains a pattern that otherwise looks strange from the outside, in which teams ship genuinely reliable AI features on unremarkable models while better-resourced teams with frontier access ship things that impress in a demo and frustrate in week two. One team treated the model as a component and engineered the rest. The other treated the model as the product and kept waiting for the next release to fix things that were never the model's fault.

To see which describes your system, run one check from each section on a single feature: replay its open bugs against an older model, cut its context until answers degrade, ask a colleague for the compliant but useless reading of its prompt, and find out whether its temperature was chosen for that feature or inherited from a shared config.

Read the detail

Each of these is a short standalone post in the journal, with the specifics, the failure modes, and what to do about them:

They are the opening chapter, AI Systems Basics, of 60 Days of Production AI Systems, a series on building AI that survives real users. If you would rather start from the beginning, the series page lays out all sixty in ten chapters.

Terms in this piece

About this deep dive

Format
Deep dive
Level
Practitioner
Read
6 min read
Published
Aug 1, 2026
Disciplines

Long-form engineering, further than a blog post goes.