LiteLLM upgrades

Keeping a self-hosted LiteLLM gateway on a supported release line, planning database migrations, and moving from open source to Enterprise.

LiteLLM upgrades and database migrations

Upgrading a production LiteLLM proxy safely: reading every release note in between, pinning image tags, backing up first, and estimating how long migrations on a large spend log table will lock writes.

Moving LiteLLM from open source to Enterprise

What changes, and what does not, when a self-hosted LiteLLM gateway adds an Enterprise license, plus the pre-flight checklist (Postgres and Redis, SSO, master key, hardening, budgets) before opening it to every team.

Rolling back a LiteLLM upgrade safely

What to do when a new LiteLLM release misbehaves: backing up PostgreSQL first, keeping LITELLM_SALT_KEY unchanged, removing config the older version does not know, Helm rollback, and clearing migration records the older release never applied.

Upgrading LiteLLM on Kubernetes with the Helm migrations job

Running LiteLLM schema migrations once per release in a Helm PreSync job instead of racing proxy pods: DISABLE_SCHEMA_UPDATE on the pods, the job's 1800 second deadline, raising helm upgrade timeouts for large spend log tables, and pinning image tags.

Migrating LiteLLM tracing from OpenTelemetry v1 to v2

Turning on LITELLM_OTEL_V2 without breaking dashboards: the renamed root and inference spans, guardrail spans moving under the request root, vendor presets through the mapper chain, and which saved queries and alerts to rewrite first.

LiteLLM API stability: which endpoints are safe to build on

Deciding which LiteLLM proxy endpoints internal tools and automation can depend on: the OpenAPI spec as the public contract, private Admin UI routes that change without notice, additive versus breaking changes, and checking the public surface of the version you run.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.