Skip to main content

Activate your license

LiteLLM Enterprise is a license key for the gateway image that you run now. The key enables the Enterprise features. You do not install a different image, and you do not migrate data.

The license key is a JWT. LiteLLM gives you the key when you buy a license or start a 30-day trial.

Set the license key​

Set LITELLM_LICENSE in the environment of each gateway instance. Then restart each instance.

LITELLM_LICENSE="eyJ..."

You can also set the key as litellm_license in general_settings, or keep an encrypted key in LITELLM_SECRET_AWS_KMS_LITELLM_LICENSE for AWS KMS. Refer to the configuration reference.

If you run the gateway in more than one region, use the same key in each region. Each instance does a check of the key independently. One license covers all the regions that share one database. Refer to Multi-region deployment.

Verify the license​

  1. Open http://<your-proxy-host>:<port>/ in a browser.
  2. Find Enterprise Edition in the description of the API docs page.
  3. If the page does not show Enterprise Edition, make sure that the key is correct and not expired.
  4. Restart all the gateway instances fully, and then do the check again.

If you set NO_DOCS, the gateway does not show the API docs page. Do the check before you disable the API docs. Refer to Restrict all API documentation.

What the license enables​

The full feature list on the Overview page shows all the features that the key enables. Each feature page has an Enterprise feature note at the top. In the sidebar, these pages have an Enterprise label.

Some features have special conditions:

Next steps​

LiteLLM Enterprise
SSO/SAML, audit logs, spend tracking, multi-team management, and guardrails, built for production.
Learn more →