docs: trim license FAQ to essential steps only

This commit is contained in:
shin-bot-litellm 2026-02-02 19:02:37 +00:00
parent 087e605357
commit 8eed235f99

View file

@ -74,56 +74,17 @@ You can find [supported data regions litellm here](../docs/data_security#support
## Frequently Asked Questions
### How to set up your Enterprise License (`LITELLM_LICENSE`)
### How to set up and verify your Enterprise License
After purchasing an Enterprise license, you will receive a license key (a JWT string starting with `eyJ...`). To activate Enterprise features on your self-hosted LiteLLM Proxy, add the key to your environment:
**Step 1: Add `LITELLM_LICENSE` to your `.env` file**
1. Add your license key to the environment:
```env
LITELLM_LICENSE="eyJ..."
```
Or if you're using Docker, pass it as an environment variable:
2. Restart LiteLLM Proxy.
```bash
docker run -e LITELLM_LICENSE="eyJ..." ghcr.io/berriai/litellm:main-latest
```
Or add it to your `docker-compose.yml`:
```yaml
environment:
- LITELLM_LICENSE=eyJ...
```
**Step 2: Restart LiteLLM Proxy**
After setting the environment variable, restart your LiteLLM Proxy so it picks up the new license key.
### How to verify your Enterprise License is active
Once LiteLLM Proxy has restarted with the `LITELLM_LICENSE` set, you can verify the license is applied by checking the Swagger API docs:
1. Open your browser and navigate to your LiteLLM Proxy's API docs page:
```
http://<your-proxy-host>:<port>/
```
2. Look at the **description text** at the top of the Swagger page.
3. If the license is valid, you will see **"Enterprise Edition"** in the description, for example:
> *Enterprise Edition*
>
> *Proxy Server to call 100+ LLMs in the OpenAI format.*
4. If you do **not** see "Enterprise Edition", the description will simply say:
> *Proxy Server to call 100+ LLMs in the OpenAI format.*
:::tip
If "Enterprise Edition" is not showing up after setting `LITELLM_LICENSE`:
- Double-check that the license key is correct and has not expired.
- Ensure there are no extra spaces or quotes around the key.
- Confirm that the proxy was fully restarted after setting the variable.
- Check the proxy logs for any license validation errors.
:::
3. Open `http://<your-proxy-host>:<port>/` — the Swagger page should show **"Enterprise Edition"** in the description. If it doesn't, check that the key is correct, unexpired, and that the proxy was fully restarted.
### SLA's + Professional Support