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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
- 8 active products (Qplanify, Quia, Unsaid, SearchAI Domain, Cookamo, Chatmately, Jotask, DiscordPlace) — 6 with an integrated LLM.
- Claude API, OpenAI, embeddings, RAG, autonomous agents in production: not in a sandbox.
- 7,000+ commits, multiple agents running in parallel 24/7 on the same codebase.
- First euro earned from an LLM product: €46/month recurring MRR, zero manual intervention.
What I can do for your team
Three engagements depending on where you are.
-
2 days
LLM production audit
Assessment of your current LLM stack: API calls, costs, measured latencies, existing guardrails (or lack thereof). Deliverable: risk report + 10 recommendations ranked by impact and effort. Entry at €2,000.
-
Short engagement · 2–4 weeks
LLM production architecture
Setting up economic guardrails, semantic cache, streaming, fallbacks and evaluation pipeline. Team onboarding. 30-day async support. For teams with a working prototype who want to go to production without surprises.
-
Long engagement · 4–10 weeks
Full multi-agent deployment
Multi-agent architecture adapted to your codebase, development and go-live, monitoring, regression tests, Docker/K8s infra, team knowledge transfer. From prototype to production with the least possible human intervention.
Learn more: Reduce AI costs → · RAG enterprise chatbot → · AI consulting pricing →
FAQ
-
What's the real difference between an LLM prototype and an LLM in production?
A prototype handles 1 to 10 calls per hour in a controlled context. Production is 100 to 10,000 calls per hour, users doing unexpected things, API outages, varying costs, and nobody reviewing responses manually. The problems aren't the same — and neither are the solutions.
-
Which LLM to deploy to production in 2026 — Claude, GPT-4, Gemini?
It depends on use case, budget and compliance requirements. Claude 3.5 Sonnet is excellent for long tasks with reasoning; GPT-4o for cases where OpenAI compatibility is needed; Gemini Flash for volume and cost. The honest answer: test all three on your own data before choosing, and design fallback between models into the architecture from the start.
-
How do you control LLM costs in production?
Four mechanisms in order of impact: semantic caching (reduces calls by 30–60% on similar queries), tight prompt engineering (cutting context by 30% cuts costs by 30%), per-user token budget (stops loops and abuse), and model routing by task complexity (don't use GPT-4o for a 3-label classification).
-
What is an LLM guardrail, concretely?
A guardrail is a rule that runs before or after each LLM call to detect and block unwanted behaviour: off-topic response, sensitive content, output too short or too long, confidence too low. Economic guardrails handle cost and call volume. Quality guardrails handle response relevance. Both are necessary in production.
-
How much does it cost to deploy an LLM to production?
The 2-day audit costs €2,000–5,000. The LLM architecture engagement (guardrails, cache, monitoring) is €5,000–15,000. The full multi-agent deployment is €15,000–40,000. Full pricing is on the dedicated page.
-
What's the first step to putting an LLM in production?
A 2-day audit. The audit measures your current costs, identifies latency points, evaluates response quality on your real data and lists 10 priority actions. Most teams leave with enough to move forward on their own for 2 to 3 months.
From prototype to LLM in production — without surprises
LLM stack audit, production architecture or full deployment. Describe your situation in a few lines.