LiteLLM upgrades and support

A LiteLLM upgrade touches the proxy, its PostgreSQL schema, Redis state, routing and virtual key budgets at once, so it needs a tested plan. This page covers what the work includes, what drives cost, and what support covers after go-live.

On this page

Why LiteLLM upgrades need a tested plan before they reach production

Upgrades and ongoing support for a self-hosted LiteLLM gateway can be run by your own platform team, by an implementation partner, or by a mix of both. The deciding factor is how many environments, teams and integrations depend on the gateway. A proxy that serves one test team can be upgraded in an afternoon of careful work. A gateway that issues virtual keys to several teams, enforces budgets, routes traffic across provider accounts and feeds application code in production needs a written rollout plan, a staging copy and a named owner for every change.

The reason is that the parts of a LiteLLM deployment change together. The proxy image, the PostgreSQL schema that stores keys, teams, budgets and spend, the Redis state used for shared rate limits and router cooldowns, and the routing and budget configuration all depend on one another. A new proxy version can expect a migrated schema, and an old schema can leave keys, spend counters or cooldown state behaving differently from what your teams expect. Before any production change, confirm the target version with the LiteLLM GitHub releases page, read the upgrade notes for every minor version you are crossing, and take a verified database backup so you can restore if the migration does not go as planned.

For most regulated teams the practical answer is a mix. Keep day-to-day operation, key issuance and change approval in-house, because those decisions belong to the people who answer for the gateway. Outsource the work that is easy to get wrong under time pressure: a staged upgrade in a copy of production, a test of routing, fallbacks and budget enforcement against real provider accounts, the database migration rehearsal, and a defined support path after go-live. Ask any partner to show how they verify the four supported minor versions policy in your environment and what they will and will not cover after the change window closes.

What a LiteLLM upgrade and support engagement includes

Each component below produces a document or test result the client keeps, so the upgrade path can be repeated by the client's own team later. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and ongoing support, upgrades and continuous testing are available as retainers.

Version and release assessment

We review the current deployment against the release line LiteLLM supports and the target minor version, including the provider integrations, enterprise features and custom callbacks in use. The output is a version decision record that states the target release, the reasons for it, and the changes that need attention. Check whether your deployment runs on a -stable tag and confirm which minor versions your support terms cover before choosing a target.

Supported minor versions
4
LiteLLM releases

Staging upgrade and regression tests

We upgrade a staging copy of the gateway and run regression tests for routing, virtual keys, budgets, TPM and RPM limits, and model restrictions against your real provider configuration. The client receives a test report listing each case, its result and any defect found. Ask for test cases that cover fallback order and cooldown behavior, since these are the paths most likely to change silently between releases.

PostgreSQL migration rehearsal

Schema migrations run against the gateway database when the proxy moves to a new version, so we rehearse them on a copy of production data before any cutover. The client receives a migration runbook with backup steps, the migration order, expected run time at your data volume, and the checks that confirm success. Confirm with your team how spend data and key records will be backed up and restored if a migration fails partway.

LiteLLM production guide

Production cutover and rollback

We run the production upgrade in a planned window, with health checks on each proxy instance and a tested path back to the previous image and database state. The client receives a rollback plan that names the trigger conditions, the owner of each step and the verification that routing and key access work after rollback. Agree in writing who approves the rollback decision before the window opens.

Post-go-live support handover

After cutover we hand over the upgrade procedure, monitoring checks and open issues to your platform team, and agree the support path for defects and security patches. The client receives a support handover that lists owners, escalation contacts and the upgrade calendar. Ask the vendor to state in writing what its support covers, including whether 24/7 response times apply to your contract.

LiteLLM Enterprise docs

How to choose a stable release and stay within the four supported minor versions

LiteLLM maintains support for the four most recent stable minor versions for both open source and Enterprise deployments, according to its enterprise documentation. The practical consequence is that a deployment which falls behind the current minor line drops out of that window, and the team then loses the fixes and vendor support that come with it. Before you standardize on a version, decide which minor line each environment will run and how far behind the newest minor release you will allow it to drift. Write that rule down before the first production deployment, because it sets the pace for every upgrade that follows.

To choose a release, start from the LiteLLM releases page on GitHub, which lists v1.105.1, published October 14, 2026, as the latest release at the time of writing. Open each candidate tag and confirm whether it is a stable release rather than a pre-release or nightly build, and record the tag you select, not just the minor line. The supplied sources do not define LiteLLM's tag naming convention for production-ready builds, so confirm with the vendor, through your Enterprise support channel if you hold a license, which tags they treat as production-ready. Confirm the same point for your own environment, including whether your container image pipeline pulls by tag or by digest.

Plan a minor upgrade cadence and treat every candidate version as a change to test before it reaches production. For each candidate, run your own routing rules, virtual key budgets, model restrictions and admin UI SSO sign-in in a non-production environment that mirrors production, and check the results against your expected behavior. Record which exact version each environment runs, including the proxy image and any Enterprise license in use, so that support requests and security reviews reference the same build. A reader should be able to answer, for any environment on any day, which version it runs and when it was last tested.

What drives LiteLLM upgrade cost and duration

This table compares the factors that expand or shrink the test scope for a LiteLLM upgrade, and how each one changes the work. Read each row as a question to answer about your own deployment before asking for a quote. The main takeaway is that most cost comes from how much configuration must be re-verified, not from the upgrade command itself.

DriverWhy it mattersHow to keep it down
Environments and proxy podsEach environment (dev, staging, production) and each proxy pod must be upgraded and checked, so test and rollout steps multiply with every copy.Keep environments configured from the same versioned files, and confirm how many pods each environment runs before scoping.
Virtual keys, teams and budgetsUpgrades can change how key limits, budgets, TPM and RPM settings and model restrictions are enforced, so a sample of keys per team must be re-verified.Group keys by team and use a small set of representative keys per team, plus a check that budget resets and spend totals still match.
Providers and self-hosted models in routingEach provider account and private model in the router needs a test call, and routing strategy, retries, cooldowns and fallback order must be confirmed after the upgrade.Limit routing tests to the strategies and fallback paths you use in production, and document the expected failover order first.
Single instance or several instances with RedisMultiple proxy instances rely on Redis for shared rate limits and router state, so tests must cover shared state and instance failover, not just one process.Confirm the Redis version against the production guide's requirement of 7.0 or newer, and roll instances one at a time with a verified health check between steps.
PostgreSQL size and migration historyDatabase migrations run between versions, and a long history of earlier migrations or a large spend table increases backup, dry-run and rollback effort.Take a verified backup, rehearse the migration on a copy of production data, and ask the vendor which migrations the target version applies.
Custom callbacks and guardrailsCustom code that hooks into requests, logging or guardrails can break on API changes, so each custom component needs its own regression test.Keep custom code small and isolated, pin the version it was tested against, and maintain a list of hooks to retest on every upgrade.
SSO and identity configurationAdmin UI sign-in, team assignment from identity claims and JWT settings depend on identity provider configuration, so sign-in and role mapping must be retested after each change.Test with one account per role in each identity provider and record the expected team mapping before the upgrade.
Enterprise edition in useEnterprise features such as audit logs, RBAC, IP allowlisting, secret manager integrations and guardrail logging each need their own verification, and support terms apply to the chosen version line.Limit Enterprise checks to the features you actually enable, and confirm with the vendor which version line your support covers.

How a LiteLLM upgrade runs from staging test to production cutover

This sequence moves a LiteLLM gateway from its current minor version to a target release with evidence at each gate: a known configuration baseline, a rehearsed database migration, tested routing and budgets, a reversible cutover and a monitored settling period.

  1. Inventory the current version, configuration and state

    DeployOpen records the running LiteLLM version, the proxy image or package in use, the config file, the provider and model list, the PostgreSQL schema version, Redis usage and the secrets referenced by the proxy. The client receives a written baseline that names every virtual key team, budget and model restriction in scope. The step is done when the client confirms the baseline matches what operations believes is running, and any drift between the config in source control and the live proxy is resolved or documented.

  2. Build a staging environment that matches production

    The team stands up a staging proxy with the same topology as production: the same number of proxy instances, the same Kubernetes or hosting pattern, a PostgreSQL instance and Redis when more than one proxy instance runs in production, and the same ingress and secret manager wiring. Provider credentials in staging should be separate test keys with spend limits set at the provider. The output is a staging environment and a comparison sheet listing every difference from production, so the client can judge whether a test result carries over. Confirm that the image or package version under test is the exact release being deployed, using the published release notes from the LiteLLM releases page.

  3. Rehearse the database migration on a copy

    DeployOpen restores a recent copy of the production PostgreSQL data into an isolated database and runs the target version's migration against it. The run is timed, the logs are kept, and row counts for keys, teams, budgets and spend records are compared before and after. Schema changes are reviewed for anything that locks large tables during cutover. The client receives a migration report with the exact steps, observed issues and a go or no-go recommendation. Ask the client to confirm backup and restore procedures for the production database before this rehearsal starts.

  4. Run regression tests for routing, budgets and access

    The test suite exercises the behavior the business depends on: routing strategy and its weights, retry counts, cooldown behavior after repeated provider failures, failover order across priority-ordered deployments, virtual key budgets, TPM and RPM limits, and model restrictions on each key. Tests run against the staging proxy using test keys that mirror production team configurations. Each expected result is written down before the run, so a deviation is visible. The output is a test report that lists passes, failures and any behavior that changed between versions. Release notes and the LiteLLM routing documentation are used to confirm intended behavior when a result is unclear.

  5. Execute a controlled production cutover with rollback

    The cutover runs in a scheduled window agreed with the client. The team takes a verified database backup, applies the rehearsed migration, rolls out the new proxy version to instances in a staged order and runs a short smoke test after each stage against known keys and models. A rollback procedure is written beforehand, naming the previous image or package, the database restore point and who makes the call to roll back. The output is a cutover record with timestamps, the migration result and the smoke test outcomes. Rollback is only useful if the restore point is tested, so the team confirms it in staging before the window.

  6. Monitor through a post-upgrade window

    After go-live, DeployOpen and the client watch error rates, provider failures, cooldown events, budget rejections, spend reporting and database performance for an agreed monitoring period. Any unexpected change in routing or budget enforcement is logged and triaged against the regression report. The client receives a closing report that confirms the running version, the open issues and the agreed follow-up. Support after this window depends on the retainer or support scope agreed in writing. Ask for the support channel, response targets and what the Enterprise support terms cover if the client needs them, since those terms are set by LiteLLM's enterprise documentation, not by this step.

How an upgrade moves from staging to production with a rollback path

The upgrade starts from the running production version, where the team inventories the current release, configuration, virtual keys and database state. The same change is then applied to a staging gateway backed by a copied PostgreSQL database and Redis, so the migration can be tested without touching live traffic. Regression checks cover routing, budgets and virtual keys before a go or no-go decision. A go sends the new version out across proxy pods one step at a time, while a failed check restores the prior version and the database snapshot taken before the change.

Upgrade path from production inventory through staging checks to a rollback branch.

What usually breaks after a LiteLLM upgrade and how to prevent it

Most LiteLLM upgrade problems come from the shared state around the proxy: the PostgreSQL schema, Redis, routing, budgets, identity mappings and custom code. Each card below names one place where a release can change behavior, and the prevention step to take before the upgrade reaches production. Confirm specifics against the release notes for the exact version you plan to install.

Schema migration against live data

A database migration applied to a live PostgreSQL schema without a tested snapshot is the hardest failure to reverse. Virtual keys, spend records and team budgets all live in that database, so a failed or partial migration can block every request through the gateway. Take a snapshot, restore it into a staging copy, run the migration there, and time it against a realistic data volume. Record the rollback procedure before you start.

Production guide

Traffic shifting to unexpected models

A release can change router defaults, model group names or fallback order, so requests that used to reach one provider start reaching another, or a self-hosted model receives traffic it cannot handle. Compare the routing configuration in the new version with your current one, and replay representative requests against staging. Check which deployment served each request in the logs, and confirm cost and data residency still match what you approved.

Routing docs

Budgets and limits behaving differently

Budgets, TPM and RPM limits, and temporary budget increases are enforced by the proxy, so a release that changes how spend or window counters are computed can alter what existing virtual keys are allowed to do. Some teams may suddenly hit limits, while others may exceed budgets they assumed were enforced. Before rollout, test a sample of keys for each team and user type, compare reported spend with the previous version, and confirm how counters reset.

Virtual keys docs

Mixed versions during rolling deploys

When several proxy instances sit behind one load balancer, a rolling update can leave old and new releases serving traffic at the same time. Requests may be handled differently depending on which instance receives them, and a schema change may break the older instance. Plan the rollout so the schema is compatible with both versions during the overlap, or stop traffic and upgrade in one window. Watch error rates per instance and per version throughout.

Redis state from the old release

Redis holds shared rate limits, router state and cache when more than one instance runs, and it requires version 7.0 or newer. Cached router cooldowns, counters or cache entries written by one release may be read incorrectly by another. Confirm your Redis version meets the requirement in the new release, decide whether to flush cached state during the cutover, and check the release notes for any change in key format before reusing an existing instance.

Production guide

SSO and team mappings changing

An identity configuration that worked before an upgrade can behave differently after it, especially for admin UI sessions, role assignment and team mapping from identity provider claims. Users may be signed out, land in the wrong team, or lose admin rights. Retest sign-in with a test account for each identity provider and role, verify the resulting team and key access, and keep the previous identity settings available for rollback. Note the free five-user SSO limit applies to the admin UI.

Free SSO limit
5 users
Admin UI SSO docs

Custom callbacks and guardrails not loading

Custom callbacks, logging destinations and guardrails are code or configuration that depends on internal interfaces, so a release can rename a hook, change a module path or alter an expected return value. The proxy may start but silently skip your logging or policy checks, which is the worst outcome for a regulated team. Run a test request that must trigger each custom component, confirm the log entry or policy decision appears, and treat a missing component as a failed upgrade.

Recurring costs of running LiteLLM after go-live

This table lists the cost components that keep running after a LiteLLM gateway goes live, who pays for each, and what to ask for in a quote. Read it as a checklist of recurring lines to price separately, since the largest unknowns are usually staff time for upgrades and whether a support tier is bought.

Cost componentRecurring or one-timeWhat drives itWhat to ask for in a quote
Proxy pod infrastructureRecurringNumber of proxy pods, LiteLLM's suggested 1 vCPU and 4 GiB memory per worker, traffic volume and the number of Uvicorn workers per podCompute sizing per environment, assumed traffic, autoscaling behavior and who operates the cluster
PostgreSQLRecurringRequired for virtual keys and spend tracking, size of the logs and spend history, backup retention and high availability setupManaged or self-hosted option, storage growth estimate, backup and restore testing, and who handles migrations
Redis 7.0 or newerRecurringNeeded once more than one proxy instance runs for shared rate limits, router state and cache, so it is added as HA scales outDeployment model, version commitment, failover setup and who patches it
Staff time for release tracking and upgradesRecurringFrequency of new minor and patch releases, the four supported minor versions window, database migration complexity, and custom code that must be retestedNamed owner and hours per release cycle, upgrade calendar, and whether upgrades are included in a retainer
Staging environmentRecurringA copy of production topology needed to test each minor version, including routing, budgets and provider connectionsWhether staging is a full mirror or a scaled-down copy, and who funds its infrastructure and test data
Enterprise licenseRecurring, only where neededRequired only for governance features such as SCIM, JWT authentication, audit logs, RBAC, IP allowlisting and secret manager integrations; SSO is free for up to 5 users from v1.76.0Exact feature list tied to your controls, user count, and renewal terms, confirmed directly with LiteLLM
Support tierRecurring, optionalLiteLLM Enterprise support includes a dedicated channel with the engineering team. Optional 24/7 SLAs, per LiteLLM's enterprise docs, offer a 1 hour response for critical issues and 72 hours for security patches; the SLA must be purchasedWhether the 24/7 SLA is included or optional, response commitments in writing, and what your internal team must still handle

How LiteLLM upgrades differ by deployment shape

A single proxy instance with an embedded database and no Redis is the simplest shape to upgrade, but it is also the shape where a failed migration takes the whole gateway down. Because there is no second instance to absorb traffic, the upgrade window is the full outage window, so the rollout order should start with a restorable backup and a staging copy of the database. The production guide recommends PostgreSQL as the primary supported database, and virtual keys need PostgreSQL, so confirm early whether the embedded database can support the keys and budgets you plan to issue.

  • Backup first: Take and test a database backup before changing the image or package version.
  • Staging migration test: Run the target version against a copy of production data and confirm keys, budgets and model routes still resolve.
  • Redis check: Confirm no Redis dependency is configured, since none is needed with one instance.
  • Evidence kept: Store the old and new version tags, the backup identifier and the staging test output with the change record.

Before go-live, confirm with the vendor whether the embedded database is acceptable for your virtual key and budget requirements.

What your team needs to provide before an upgrade or support engagement starts

Before an upgrade or support engagement starts, your team needs to give us access to the current deployment and its configuration, including the config.yaml that defines models, routing and callbacks, and the running image tags. We also need a current PostgreSQL backup and a separate copy for migration rehearsal. Because virtual keys, teams and spend records all live in that database, the backup must be restorable and tested before any schema change is attempted. If more than one proxy instance runs, provide the Redis details as well, since shared rate limits and router state depend on it, and confirm the Redis version against the 7.0 minimum in the LiteLLM production guide.

Provide the list of providers and models referenced in routing, the virtual key, team and budget inventory exported from the admin UI or database, and the identity provider settings if SSO is in use. Name one owner who approves each go or no-go decision, and a separate person with rollback authority for the agreed change window. A clear owner for each decision shortens the work and reduces rework, because test results can be signed off once rather than re-reviewed by several stakeholders. Also list the test cases the business owners need to see pass, such as budget enforcement for a named team or fallback behavior when a provider is disabled, so acceptance is agreed before the rehearsal begins.

Confirm access rules and data handling before any copy of production data leaves your environment. A database copy can contain prompts, key hashes, user identifiers and spend records, so agree in writing where the copy will be stored, who may access it, how long it is kept, and how it is deleted after the rehearsal. Your security or privacy team should approve this before transfer, and any sanitized or reduced dataset should be documented as such. Where your policy does not allow external access, the rehearsal can be run inside your own environment under your controls.

Questions buyers ask about LiteLLM upgrades and support

Can our team upgrade LiteLLM on its own without a partner?

Yes, many teams can, provided they have someone who runs PostgreSQL and Kubernetes or container platforms and reads release notes closely. The work is tractable for a small, well-tested configuration, but the risk grows with the number of providers, teams, virtual keys, custom callbacks and SSO integrations in place. Check the LiteLLM releases page for each target version and read the notes for database migration steps. The planning question is less about skill and more about whether your team has time to build a staging environment, replay routing and budget tests, and keep a rollback path ready. The sections on scope and cost explain how to decide between in-house work and a fixed-scope engagement.

How long does a LiteLLM upgrade take, and what drives the timeline?

The duration depends on how much of the deployment is affected, and no fixed figure applies to every environment. The main drivers are the number of minor versions crossed, the size of the PostgreSQL database and how long its migrations run, whether custom callbacks or configuration need changes, how many provider connections and routing groups must be retested, and whether you run a staging environment that mirrors production. Approval cycles in regulated organizations often take longer than the technical work. Ask any provider for a written list of the phases, the environments they will use and the tests they will run before you accept a timeline.

What does the upgrade need from our team?

An upgrade needs named owners on your side for several inputs. You need access to the staging and production clusters, a current database backup and a tested restore path, the master key and provider credentials held in your secret manager, and a list of the teams, keys and models in use. Someone must approve the change window and sign off on routing and budget test results. Application owners should confirm that their model aliases still behave as expected. Ask the provider to list these inputs in the written scope so that delays caused by missing access or approvals are visible early.

How do the four supported minor versions affect our planning?

LiteLLM states that it maintains support for the four most recent stable minor versions for both open source and Enterprise deployments, according to its enterprise documentation. That gives you a window for scheduling upgrades, but it does not remove the need to test. Plan a recurring review of the latest stable releases, move on a predictable cadence, and avoid waiting until your running version is close to leaving the window. Confirm the current support policy with LiteLLM before you commit to a schedule, since support terms can change and the policy is set by the vendor.

What does the free five-user SSO limit mean for upgrades?

The free SSO allowance applies to the Admin UI, and from v1.76.0 SSO is free for up to 5 users, with an Enterprise license needed beyond that. For upgrades, this means that any version change should be tested against the exact identity provider settings you use, whether Google, Microsoft Entra ID, Okta or generic OIDC. If your user count exceeds the free limit, confirm the licensing position before you upgrade, because the edition you run and the number of users you have both affect what you can use after the change. Verify this with LiteLLM against your own user count.

What does LiteLLM Enterprise support add, and what does a retainer cover?

LiteLLM Enterprise support includes a dedicated channel with the engineering team and optional 24/7 SLAs, with a 1 hour response for critical issues and 72 hours for security patches, according to LiteLLM's enterprise documentation. Those vendor terms are separate from anything DeployOpen provides. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and the written retainer scope sets which tasks, environments and response expectations apply. Ask both parties to confirm in writing who handles vendor tickets, who applies patches, who runs regression tests and how the two sets of responsibilities fit together.

Does DeployOpen issue an audit report or certification for our LiteLLM deployment?

No. DeployOpen plans, implements, hardens, documents and supports self-hosted platforms, and it prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. For upgrades, DeployOpen can keep change records, test results and configuration documentation that your auditor may request, so your compliance team has evidence to review. The scope section explains which evidence is included in a given engagement.

How DeployOpen scopes, delivers and supports LiteLLM upgrades

DeployOpen plans, tests and carries out LiteLLM upgrades inside your own infrastructure, with the scope agreed in writing before work starts. Each upgrade is rehearsed against your routing, budgets and database, and handed over with the runbook and evidence your team needs to run the next one.

How we scope

  • Inventory the running LiteLLM version, database, Redis use, providers and the teams and keys that depend on them.
  • Agree in writing which target stable release, environments and test cases the upgrade covers.
  • Confirm the upgrade cadence and whether ongoing support is handled as a retainer or a one-off project.

How we build

  • Rehearse the upgrade and database migration in a staging environment that mirrors production configuration.
  • Test routing, retries, fallback order, virtual key model restrictions and budget enforcement before rollout.
  • Prepare a rollback path, database backup steps and a cutover checklist for your change window.

How we hand over

  • Document the upgrade procedure, test results and configuration changes in a runbook your team can reuse.
  • Walk your platform and security staff through version selection, migration checks and post-upgrade verification.
  • Deliver the findings and open items in writing so your team knows what to monitor after go-live.

How we support

  • Offer ongoing upgrades, release tracking and continuous testing as a retainer after go-live.
  • Confirm with us which support tier, response targets and escalation path apply to your engagement before signing.
  • Review each new stable release against your configuration and schedule the next upgrade window with your team.

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.