Why LLM proofs of concept fail in production

A proof of concept proves one thing: the model can produce a plausible answer once. Production asks a different question — can it produce a reliable answer thousands of times a day, at a cost that makes sense, without falling over when an API stalls? That is an engineering problem, not a model problem.

The three gaps nobody budgets for

Design the unhappy path first

Before optimising prompts, decide what happens when the model is unavailable. A good fallback is often a cached answer, a simpler rule-based response, or an honest message that routes the user to a human. Users tolerate a graceful degradation far better than a spinner that never ends.

A practical rule: every model call in your system should have a defined timeout, a defined retry count and a defined fallback. If any of the three is missing, that call is a production incident waiting to happen.

Instrument before you optimise

Log tokens in and out, latency, success rate and which step of a chain failed. Without this, cost spikes and quality drops are mysteries. With it, you can see that 60% of your spend is going to a context-retrieval step that could be shortened, or that one prompt is responsible for most of the retries.

When to move from pilot to production

Move when three numbers are stable: cost per successful answer, p95 latency, and failure rate. If any of them swings wildly, the system is not ready regardless of how good the demo looks. The model is the easy part. The engineering around it is what determines whether the project survives contact with real users.