Duczer East
Healthcare

In-perimeter AI on governed clinical and operational data.

Financial Services

Private AI and data platforms built to clear model-risk and audit review.

Financial services

Private AI, KYC/AML, API gateways and data governance for banks.

Insurance

Change data capture, governed agents and integration for insurers.

Healthcare

PHI document intelligence, FHIR APIs and in-perimeter AI for health systems and plans.

GuideIntegration & Security6 min read

LiteLLM proxy production guide: checklist and failure modes

What the vendor's production guide asks you to set, and what to test before go-live

On this page
  1. What should be set before go-live?
  2. Which settings and failure modes does the checklist cover?
  3. What happens when the database is unavailable?
  4. How do we size and scale it?
  5. Which controls sit in the paid tier?
  6. Where does this fit in a larger gateway decision?
  7. What do we usually see go wrong?
  8. How did we compare, and what are the limits?

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.

AreaWhat the guide saysFailure mode to test
Master and salt keysMaster key in a secret manager; do not change the salt key after adding modelsA rotated or lost salt key leaves stored model credentials unreadable
WorkersOn Kubernetes use one worker per pod and scale by pod; start with 1 vCPU and 4Gi of memory per worker, then adjust from load testsA pod stops serving when recycling is combined with a single worker
DatabaseSize the connection pool per worker; run migrations through a deploy hook and disable schema updates on serving pods; verify the database certificateConnection exhaustion under autoscaling; a migration run by every pod at once
Spend writes and RedisBatch spend writes; use Redis 7.0 or newer with more than one instance; add the Redis transaction buffer at roughly 1,000 requests a secondSpend counts lag or drift when several instances share one database
LoggingError logs to your logging stack rather than the database; JSON logs; keep prompt storage off for sensitive workPrompts and secrets written to a store your policy does not allow
Health checksUse the readiness endpoint; it returns 200 during a database outageA proxy that looks healthy while it cannot write spend or keys
ReleasesVerify image signatures and deploy immutable digestsAn 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.

Frequently asked questions

Is LiteLLM ready for production?

It can be, if your team owns patching, upgrades and uptime and you set the items in the vendor's production guide. Test the failure cases, especially the database, before go-live.

How many workers should we run?

The vendor's guide says to use one worker per pod on Kubernetes and scale by pod, starting at 1 vCPU and 4Gi of memory per worker. Adjust from your own load tests.

Should prompts be stored by the proxy?

For sensitive workloads the guide advises keeping message logging and prompt storage off. Decide what your policy needs for audit, and store only that.

Newsletter

The Practitioner's Briefing

Senior-level insights on agentic AI, data engineering and enterprise integration, delivered to your inbox.

One email when there is something worth reading. Unsubscribe any time.

Let's Talk

Want to discuss the ideas raised here?

Tell us what you are working on. A senior practitioner replies, and only your email is required.

Get a quote