A LiteLLM proxy is ready for production when its secrets, database, workers, logging and health checks are set the way the vendor's production guide describes, and you have tested what happens when each one fails. This post turns that guide into a checklist with failure modes. The settings come from the LiteLLM production guide, read on December 1, 2026. Check the current guide before you copy any value, because it changes.
What should be set before go-live?
Start with secrets and trust. The guide says to set a master key that starts with sk-, keep it in a secret manager and rotate it. It also asks you to set a salt key and not change it after adding models, because stored credentials then become unreadable. Set trusted proxy ranges to your load balancer's address ranges, or to an empty list if clients connect directly, since the proxy warns at startup when they are unset. Then handle logging: keep debug logging off, use JSON logs, and keep message logging and prompt storage off for sensitive workloads.
Which settings and failure modes does the checklist cover?
The guide groups its advice into secrets, workers, database, Redis, logging, health checks and releases, and each group has a way to fail in production. The table restates the vendor's settings in one column and adds our test idea in another, so you can turn it into a go-live checklist with an owner against every line. Values such as worker size and request rates are the vendor's starting points, not targets for your estate. Re-read the current guide before you copy any value, because the project changes quickly.
| Area | What the guide says | Failure mode to test |
|---|---|---|
| Master and salt keys | Master key in a secret manager; do not change the salt key after adding models | A rotated or lost salt key leaves stored model credentials unreadable |
| Workers | On Kubernetes use one worker per pod and scale by pod; start with 1 vCPU and 4Gi of memory per worker, then adjust from load tests | A pod stops serving when recycling is combined with a single worker |
| Database | Size the connection pool per worker; run migrations through a deploy hook and disable schema updates on serving pods; verify the database certificate | Connection exhaustion under autoscaling; a migration run by every pod at once |
| Spend writes and Redis | Batch spend writes; use Redis 7.0 or newer with more than one instance; add the Redis transaction buffer at roughly 1,000 requests a second | Spend counts lag or drift when several instances share one database |
| Logging | Error logs to your logging stack rather than the database; JSON logs; keep prompt storage off for sensitive work | Prompts and secrets written to a store your policy does not allow |
| Health checks | Use the readiness endpoint; it returns 200 during a database outage | A proxy that looks healthy while it cannot write spend or keys |
| Releases | Verify image signatures and deploy immutable digests | An unreviewed image tag pulled during a restart |
Every row above restates the vendor's guide. The failure modes are our own test ideas, and the guide does not list them.
What happens when the database is unavailable?
Decide this on purpose. The guide notes that the readiness endpoint returns 200 during a database outage, so a readiness probe alone will not tell you the proxy has lost its database. It also describes a setting that lets requests continue when the database is unavailable, and recommends it only for VPC-only deployments. For a regulated team the question is whether a call that cannot be logged or counted should still go through. Write the answer into the design, and test it by stopping the database in a non-production copy.
How do we size and scale it?
Start from the guide's per-worker figures, then load test with your own prompts and response lengths. The guide suggests 1 vCPU and 4Gi of memory per worker as a starting point, one worker per pod on Kubernetes with scaling by pod, and scaling on requests and tokens per second as well as processor and memory. It also advises keeping warm capacity and bounding queued requests. Set the request timeout on purpose, since the default is long. Record the load at which latency crosses your threshold and the first error, as you would in an engine test such as our vLLM vs Ollama test plan.
Which controls sit in the paid tier?
The LiteLLM documentation describes its Enterprise offer as single sign-on and SAML, audit logs, spend tracking, multi-team management and guardrails, and it also presents spend tracking and guardrails as gateway features, so the line between open source and Enterprise is not clear from the page alone (LiteLLM documentation). A footer links an MIT licence without saying which features are Enterprise only. Before you finish the design, ask the vendor to name the tier that holds each control your reviewers expect, and get the answer in writing, because a control you design around but cannot license is a rebuild.
Where does this fit in a larger gateway decision?
Running the proxy is only half of the gateway decision. The other half is whether LiteLLM is the right gateway for your estate. See Portkey vs LiteLLM for the operating-model choice and LiteLLM alternatives for other routes, including extending an API gateway you already run. Our self-hosted LiteLLM proxy work is quoted per scope, and the hardening a proxy before production use case shows how we plan it. A pilot of two or three internal apps, with budgets and audit logging, is the first engagement.
What do we usually see go wrong?
The common problems are not exotic. A team keeps the default settings in staging and ships them. A team stores prompts because logging was on by default, then discovers the database now holds data the policy forbids. A team scales pods without sizing the database connection pool, and the first traffic peak exhausts it. A team runs the schema migration from every pod at once. And a team treats a healthy readiness probe as proof that spend tracking works. Each of these has a line in the vendor's guide. The fix is to turn the guide into a go-live checklist with a named owner for every line.
How did we compare, and what are the limits?
We read the vendor pages linked in this post on December 1, 2026, unless another date is given. We did not run the products, and this is not a rating. Vendors change plans, names and features often, so a cell that is true today may not be next quarter. The guide covers many more settings than this post lists, and it changes with releases. Treat every statement here as a starting question for the vendor, and ask them to show it on your own use case.


