Skip to content
zelo Français

Paul · zelo · 22 · ex-42 school

Your LLM prototype works. Production is a different problem.

Claude API, OpenAI, Gemini — LLMs are easy to test locally. What's hard is what comes after: costs doubling in 48 hours, latency on concurrent calls, hallucinations slipping through without any alert, and no way to roll back when something breaks. I've deployed 8 products with LLMs in production. Here's what breaks, why, and how to avoid it.

Three problems your prototype doesn't show

What works locally often fails in the first week of real production.

  1. Costs spiral without guardrails

    A user can trigger 40 LLM calls where you expected 4. Without token budgets, semantic caching and loop detection, your API bill doubles in 48 hours. Most teams find out on next month's invoice.

  2. Latency explodes on concurrent calls

    A single call to Claude or GPT-4 takes ~800ms on average. Ten simultaneous calls on one user request means 8 seconds — or a timeout. Without streaming, queue management and fallbacks configured, the user experience collapses as soon as real users arrive.

  3. Hallucinations reach production silently

    In testing you check responses manually. In production, nobody reads 2,000 responses per day. Without automated evaluation and alert thresholds, a systematic hallucination can run for weeks. The first report comes from a user, rarely from a log.

What makes an LLM stable in production

Three layers to put in place before the first real user.

  1. Economic guardrails from day one

    Token budget per user and per session. Semantic cache on similar requests (Redis + embeddings). Loop detection on chained calls. Estimated cost score per feature. These four mechanisms together cut API bills by 40 to 70% in the first weeks.

  2. Streaming architecture with retry and fallbacks

    Streaming enabled on all long responses (perceived latency cut by 3×). Priority queue for concurrent calls. Automatic fallback to a cheaper model if the primary times out. Circuit breaker if error rate exceeds 5%. This isn't over-engineering — it's what production demands at 100 active users.

  3. Automated evaluation and one-command rollback

    Evaluation pipeline comparing new responses to reference responses (LLM-as-a-judge or business rules). Alert if acceptance rate drops below threshold. One-command prompt rollback if score falls. Versioned prompt history in the repo, not in a Google Doc.

8 products with LLMs in production — what I've learned

Not a blog post: real commercial products, code in production for 14 months.

What I can do for your team

Three engagements depending on where you are.

Learn more: Reduce AI costs → · RAG enterprise chatbot → · AI consulting pricing →

FAQ

From prototype to LLM in production — without surprises

LLM stack audit, production architecture or full deployment. Describe your situation in a few lines.

Discuss your project