Moving LiteLLM from open source to Enterprise

Adding an Enterprise license to a self-hosted LiteLLM gateway keeps the same image, config and database, but the pre-flight checks decide whether it is safe to open to every team.

On this page

What moving LiteLLM from open source to Enterprise keeps and changes

If your self-hosted LiteLLM gateway already runs open source and now needs SSO beyond the free user limit, audit logs or another Enterprise feature, the move keeps the same image, config.yaml and version line. You add LITELLM_LICENSE to each gateway instance, and keys, teams, models and spend data stay in the existing database. The move is a configuration change plus checks, not a rebuild or a data migration project.

The supported path depends on version support. LiteLLM maintains the four most recent stable minor versions for both open source and Enterprise deployments, so adding the license should not force a version change. Confirm that the minor version you run is still inside that window before you start, because a gateway that has fallen behind needs an upgrade plan, which is a separate piece of work. Also confirm which feature you need from Enterprise, since the free SSO limit and the Enterprise feature set are different thresholds.

The licensing split is worth understanding before you buy. Content under the enterprise/ directory is covered by the license in enterprise/LICENSE, and the rest of the repository is under the MIT license, according to the BerriAI/litellm LICENSE file on GitHub. Ask your legal team to confirm how that split applies to the features you plan to use, and record which build and license terms your gateway runs under.

Which parts change when a gateway adds an Enterprise license

This table compares each part of a self-hosted LiteLLM gateway against what happens when an Enterprise license is added, and what you must do about it. Read the Impact column to see what changes for callers and data, and the Action needed column for the checks to run before opening the gateway to every team.

ChangeImpactAction needed
Container image and config.yamlStay the same. Enterprise uses the same image and version line as open source.Keep the image tag you already pin. Do not switch to a separate Enterprise image unless the vendor documentation tells you to.
LITELLM_LICENSE variableNew input to each gateway instance. Enterprise features are unlocked per instance through this variable.Set the variable on every gateway instance and worker deployment, then confirm each instance reports the Enterprise license at startup.
Virtual keys, teams, models and spend dataStay in the existing PostgreSQL database. Callers keep their keys and spend history.Back up the database before the change. Confirm key, team and spend counts match before and after.
SSO for the Admin UIFree for up to 5 users from v1.76.0. Enterprise is needed beyond that limit.Count the Admin UI users who will sign in with SSO and confirm the count against the free limit or the license.
SCIM provisioningAvailable only with Enterprise, alongside SSO beyond the free limit.Confirm the license covers SCIM if your identity provider will push user and group changes.
JWT authentication and audit logsEnterprise features that change how callers authenticate and how administrative actions are recorded.Confirm the license covers each feature you plan to use, and test audit log output in a non-production gateway first.
Organization and team RBAC, IP allowlistingEnterprise controls for who can manage which teams and from which networks.Map current team and admin roles to the RBAC model and document which networks may reach the Admin UI and API.
Secret manager integrations and team-level guardrails and loggingEnterprise integrations for secrets and per-team controls on guardrails and logs.Choose the secret manager and confirm the license covers it, then define guardrail and logging settings for each team before go-live.
enterprise/ directory codeContent under enterprise/ uses the license in enterprise/LICENSE. The rest of the repository is MIT.Have legal review enterprise/LICENSE before building or redistributing code from that directory.

Which Enterprise capabilities each team needs before wider access

Platform engineering owns where the gateway runs, how its secrets are stored, and which networks can reach it. Enterprise adds secret manager integrations for AWS, Azure, Google, HashiCorp Vault and CyberArk, IP allowlisting for access to the gateway, and SCIM for provisioning users and teams from your identity provider. These change how the gateway is deployed and operated, so the platform team should map them to its existing tooling before go-live.

  • Secret manager integrations: Confirm which of the listed secret managers you already run and whether the master key and provider credentials can be read from it instead of plain environment variables.
  • IP allowlisting: List the client networks, CI runners and admin paths that must reach the proxy, and test that blocked sources fail as expected.
  • SCIM provisioning: Confirm which identity provider you will connect, what attributes it sends, and who owns deprovisioning when someone leaves.
  • Configuration as code: Decide how the same license variable and settings are applied across every gateway instance and environment.
  • Vendor confirmation: Ask LiteLLM which secret manager and SCIM behaviors apply to your specific deployment model and version.

Before setting a rollout date, the platform team should confirm each integration in a non-production environment that matches production networking.

Pre-flight checklist: LiteLLM open source to Enterprise before every team gets access

Moving to Enterprise keeps the same image, config and version line, so the work before opening the gateway is mostly about state, identity and access. Each card below names one check, why it matters for the move, and what to confirm in the running environment before every team receives a key.

PostgreSQL through DATABASE_URL

Keys, teams, models and spend history all live in the database, so the gateway must point at a PostgreSQL instance you back up and can restore. Confirm that every instance reads the same DATABASE_URL from your secret store, that the database is not a local container with ephemeral storage, and that a restore into a separate environment has been tested at least once before go-live.

Moving from OSS

Redis 7.0 or newer

Once more than one gateway instance or worker runs, shared rate limits, router state and cache depend on Redis. Without it, each instance enforces TPM, RPM and budget limits on its own, so a key can exceed its intended limit by the number of instances. Confirm the Redis version is 7.0 or newer, that all instances connect to the same deployment, and that a test key hitting two instances is counted once.

Production guide

Admin UI SSO and disabled env login

Before the Admin UI is reachable from a shared network, set up SSO and set disable_env_credential_login: true so admins sign in through the identity provider rather than with the master key. Confirm that a login with the master key through the browser is refused, that SSO works for each admin group you intend to allow, and that the Admin UI is not exposed on a public route while this is unverified.

Free SSO limit
5 users
Admin UI SSO docs

Master key rotation

The LITELLM_MASTER_KEY grants full administrative control, and it must start with sk-. If any non-admin has seen it, pasted it into a ticket, or stored it in a shared script, treat it as exposed and rotate it before opening the gateway. Confirm the key lives only in a secret manager, that the rotated value is deployed to every instance, and that old copies in CI logs or chat history are removed.

Pinned version or digest

Open-source and Enterprise deployments run the same image, so a floating tag can change the code under a production gateway without a planned review. Pin an exact version tag or image digest in your manifests, and verify the cosign signature before deploying, since signing applies from v1.83.0. Confirm that the running pods report the pinned version and that the digest in the cluster matches the one you verified.

Virtual key, budget and model limits

Before any team receives access, test the limits that will govern spend: per-key, per-user and per-team budgets, TPM and RPM limits, and restrictions to specific models. Create one test key per team with a low budget and a single allowed model, then confirm that requests to other models are refused, that the budget stops calls at the limit, and that spend appears against the correct team in the database.

Virtual keys docs

How the Enterprise license, database, Redis and identity provider fit together

The diagram starts with client applications and users calling the LiteLLM proxy instances behind the gateway boundary. Each instance carries the LITELLM_LICENSE value and reads config.yaml, and all instances share one PostgreSQL database for keys, teams, models and spend. Redis is shared across instances for rate limits, router state and cache, and the identity provider handles admin UI sign-in. The secret manager holds LITELLM_MASTER_KEY. Check that the admin surface sits behind the trust boundary and that no instance enforces limits alone.

Illustrative component layout only, not a deployment blueprint.

Upgrade sequence from LiteLLM open source to Enterprise, step by step

This sequence moves a running self-hosted LiteLLM gateway to Enterprise in a controlled order, so each change can be checked and reversed before the license reaches every instance.

  1. Confirm the running version is supported

    The platform team checks the running LiteLLM version against the four most recent stable minor versions that LiteLLM supports for both open source and Enterprise deployments. If the instance is behind that window, upgrade within the open source line first, so the Enterprise change is the only variable in the next steps. Done when the running version appears on the supported list in the LiteLLM enterprise documentation and the team records the exact tag. Rollback point: none is needed at this stage because no changes have been made.

  2. Back up PostgreSQL and record config.yaml

    The database owner takes a full PostgreSQL backup of the database referenced by DATABASE_URL and confirms the backup restores to a scratch instance. The platform team copies the current config.yaml and the deployment manifests into version control or a dated archive. Done when the restore test succeeds and the team can name the backup and config revision. Rollback point: this backup is the restore target for every later step, because keys, teams, models and spend data stay in the same database.

  3. Pin the exact image tag or digest and verify its signature

    The platform team replaces any floating image reference with an exact version tag or an image digest, so the running image cannot change during the upgrade window. From v1.83.0, LiteLLM signs Docker images on GHCR with cosign, and the team verifies the signature using the method shown in the LiteLLM compliance documentation before deploying. Done when the signature check passes and the pinned reference is committed to the deployment repository. Rollback point: redeploy the previously recorded tag or digest.

  4. Set LITELLM_LICENSE on one non-production instance

    The platform team adds LITELLM_LICENSE to one non-production gateway instance and keeps the same image, config.yaml and version line. Moving to Enterprise does not change those, so the only deployment change is the license variable. Done when the instance starts cleanly and its logs confirm the license loaded without errors. Rollback point: remove LITELLM_LICENSE from that instance and restart it, which returns it to open source behavior.

  5. Confirm keys, teams, models and spend still load

    The platform team and an application owner check the test instance against the existing database. They confirm that virtual keys authenticate, teams and their budgets appear, configured models route, and recent spend totals match what the production instance shows. Done when a short test script or manual checklist passes for each category and the results are written down. Rollback point: if any category fails, stop the rollout, restore the PostgreSQL backup on the test environment if data was altered, and revert LITELLM_LICENSE.

  6. Configure admin UI SSO and disable env credential login

    The identity team configures SSO for the Admin UI with the organization's provider, such as Google, Microsoft Entra ID, Okta or a generic OIDC provider. The platform team then sets disable_env_credential_login: true, so administrators sign in through SSO rather than environment credentials. Done when an administrator signs in through the provider and a test login with environment credentials is refused. Rollback point: re-enable environment credential login on the test instance only, and confirm the SSO settings with the identity owner before retrying. Confirm the Enterprise license requirements for SSO user counts in the LiteLLM documentation before rollout.

  7. Add Redis 7.0 or newer before scaling out

    Before more than one gateway instance or worker serves traffic, the platform team deploys Redis 7.0 or newer and sets it as the shared store. Without Redis, each instance enforces rate limits independently, so per-key and per-team limits would not hold across the fleet. Done when all instances connect to the same Redis endpoint and a rate-limit test across two instances shows a shared count. Rollback point: keep the gateway at one instance until Redis is verified, which preserves the single-instance behavior already tested.

  8. Roll the license out and run budget and access tests

    The platform team adds LITELLM_LICENSE to the remaining instances in small groups, checking health after each group. After the last instance is updated, the application and security owners run budget, RPM and TPM limit tests, model restriction tests on a sample key, and a check that expired or temporary budget increases behave as configured. Done when every instance reports healthy, the test results are recorded, and the owners sign off. Rollback point: revert LITELLM_LICENSE on the affected instances, and restore the PostgreSQL backup only if spend or key data was changed.

What makes the move to Enterprise take longer

This table lists the factors that widen or shorten the work of adding an Enterprise license to a running gateway, with the question to ask for each. Read each row against your own environment, since the same license step can be quick for one deployment and slow for another. The main takeaway is that the license itself is the smallest part of the move; instance count, identity scope and existing data decide most of the effort.

DriverWhy it mattersWhat to ask for
Gateway instances and workersEach instance needs LITELLM_LICENSE. With more than one instance or worker, Redis 7.0 or newer must be shared, or limits are enforced per instance.Confirm the instance and worker count per environment, whether Redis is already shared, and that the Redis version meets 7.0 or newer.
SSO users and identity providersSSO is free for up to 5 users; beyond that an Enterprise license is needed. Each identity provider (Google, Entra ID, Okta or generic OIDC) needs its own callback and group mapping.Count named users who will sign in through SSO, list every identity provider in use, and confirm which group claims map to roles.
Teams, keys and budgets in the databaseKeys, teams, models and spend stay in the existing database, so the move keeps this data. Large volumes raise the cost of any schema check and of reviewing budgets before cutover.Export counts of teams, virtual keys and budgets, and confirm the PostgreSQL backup is current and restorable before the license is added.
Secret manager and identity integrationsEnterprise adds secret manager integrations (AWS, Azure, Google, HashiCorp Vault, CyberArk) and JWT authentication. Each one needs its own credentials, network path and failure handling.List every secret store and identity source to connect, who owns each credential, and how rotation will be tested.
Audit logs flowing to an external SIEMAudit logs are an Enterprise feature. Forwarding them to a SIEM requires a log pipeline, retention rules and parsing that someone must own.Confirm the SIEM target, required retention, the log fields the security team expects, and who validates events after go-live.
Environments that need the same license and checksDevelopment, staging and production each need a license decision and their own pre-flight checks, so drift between them adds work.Ask for a list of environments, which ones hold real data, and whether the same checks run in each before any change is promoted.
Admin UI already exposedIf the Admin UI is reachable before SSO and disable_env_credential_login: true are set, the move must also close that exposure and may need credential rotation if non-admins know the master key.Confirm the current network path to the Admin UI, who knows LITELLM_MASTER_KEY, and whether a rotation window is available.

Verifying the image signature and pinning the version before the license goes in

Pin the gateway image to an exact version tag or digest, and verify its signature, before you add a license. An unpinned tag can change under you between a test run and a production rollout, and a license change is a poor moment to discover that the image you are running is not the one you reviewed. LiteLLM signs each Docker image published to GHCR with cosign from v1.83.0 onward, and its compliance documentation, linked from this page's sources, shows the verification steps to run before deploying. Make verification a gate in your pipeline: the deployment should fail if the signature does not match the release you approved, and the approved tag or digest should be recorded in the same change record as the license request.

The Enterprise move does not change the version line. LiteLLM states that the same image, config.yaml and version line carry over, with LITELLM_LICENSE added to each gateway instance. That means the pin you already use for open source should not need to change because of the license alone. Keep the license change separate from any version change so that a problem can be traced to one cause. If you also need to move to a newer release, do that as its own change with its own backup and rollback plan.

Before you choose the tag, confirm the current release on the LiteLLM releases page. The latest version listed at the time of research was v1.105.1, published October 14, 2026, but newer releases may have been published since then. Pick a version that is still inside the four most recent stable minor versions LiteLLM supports for both open source and Enterprise, and confirm that choice with your Enterprise contact before the license is issued. Record the exact tag or digest, the cosign verification output and the date of verification as evidence for your change and compliance teams.

What does moving LiteLLM from open source to Enterprise cost and require?

What does moving LiteLLM from open source to Enterprise cost?

LiteLLM sets its Enterprise license terms, so the license price comes from LiteLLM, not from DeployOpen. DeployOpen does not publish a price list. Your total cost has three parts: the LiteLLM license, the engineering work to add the license and supporting controls, and the infrastructure you already run. The license is recurring, while the implementation work is usually one-time, though ongoing upgrades and testing may be retained separately. To compare quotes, ask LiteLLM for current license terms and ask DeployOpen for a written scope that lists SSO, Redis, secret management, hardening and budget setup as separate line items. A quote follows from that written scope.

How long does the move to LiteLLM Enterprise take?

Duration depends on how many gateway instances you run, how many environments need the change, and how much of the pre-flight checklist is still open. A single instance with the license key added to an existing deployment moves faster than a multi-instance setup that also needs Redis, SSO for the Admin UI, and a secret manager integration. Change windows, identity provider approvals and security review of the admin settings are often the slowest steps, not the license itself. Ask for a timeline in the written scope that separates the checklist work, testing in a non-production environment, and the production change window.

Can our team move LiteLLM to Enterprise without outside help?

A team with Kubernetes or container experience and database administration skills can often handle a single gateway instance by following the LiteLLM documentation and a clear checklist. The work gets harder when you add SSO through your identity provider, Redis for shared rate limits and router state across several instances, and separate development, staging and production environments that must match. Each of these touches a different owner: platform, identity, security and the data team. If those owners are already stretched, an outside partner can take the implementation and documentation, while your team keeps ownership of the running system.

What do we need to give DeployOpen to move LiteLLM to Enterprise?

Plan access and time before the work starts. You will need access to the PostgreSQL database that backs the gateway, the identity provider that will sign admins in, and the secret manager that holds the master key and the license value. You will also need a Redis instance if you run more than one gateway instance or worker, and agreed change windows for each environment. Named contacts who can approve identity changes and production deployments shorten the work. Confirm these items with your own security and platform teams, since access rules and approval paths differ by organization.

Do existing LiteLLM keys, teams and spend data survive the Enterprise move?

Yes. LiteLLM states that moving to Enterprise keeps the same image, config.yaml and version line, and adds the LITELLM_LICENSE value to each gateway instance. Keys, teams, models and spend data stay in the existing database. Even so, take a PostgreSQL backup before any change and test the restore on a copy, because the change touches the production database and rollback depends on it. Keep the LITELLM_SALT_KEY and master key unchanged during the move, and check that virtual keys still authenticate in a test environment before you open the gateway to other teams.

Does DeployOpen issue certifications or audit reports for our LiteLLM gateway?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares the systems, controls and evidence that a compliance assessment will examine, such as admin access settings, audit logging configuration, backup records and change records. Independent auditors and certification bodies perform the assessment and issue any report. Ask your auditor which evidence they expect for the gateway before the work starts, so the evidence DeployOpen prepares matches what the assessment will request.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so the move to a LiteLLM Enterprise license happens on the gateway you already run. We start from a written scope that covers the Postgres and Redis layout, SSO, master key handling, hardening and budgets before any change reaches production.

How we scope

  • Inventory the running gateway: image tag, config.yaml, database, Redis, worker count and who holds admin access today.
  • Agree in writing which Enterprise features you need, such as SSO beyond the free user limit, SCIM, audit logs and team RBAC.
  • Confirm the license terms, pricing and support tier with LiteLLM before the build, and record the quote against the written scope.

How we build

  • Add LITELLM_LICENSE to each gateway instance on the same image and version line, then verify keys, teams, models and spend still load.
  • Move the Admin UI behind SSO with disable_env_credential_login set to true, and rotate the master key if non-admins have seen it.
  • Pin an exact version or digest, verify the cosign image signature, and confirm Redis is in place once more than one instance runs.

How we hand over

  • Deliver a runbook covering the license variable, SSO configuration, master key rotation, image verification and the pre-flight checklist.
  • Document the test results for limits, budgets and model restrictions so your security and compliance teams can review the evidence.
  • Walk your platform and security teams through the setup and the steps to follow before opening the gateway to every team.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover, scoped in writing.
  • Plan each future upgrade against the supported release lines and the database migration steps, with backups taken first.
  • Confirm with LiteLLM which Enterprise support tier, response times and security patch commitments apply to your license.

Sources and further reading

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.