LLM Gateway
Self Host

Enterprise Licensing

Install and verify an Enterprise or white-label license on a self-hosted LLM Gateway deployment.

LLM Gateway runs without a license: core gateway and management functionality remain available. A signed license unlocks Enterprise features in production. Licenses are verified offline using public keys included in the official images; the token is never sent to LLM Gateway.

To obtain or renew a license, contact sales. On a self-hosted deployment you can also ask from the dashboard: Billing → Enterprise for self-hosted → Register this install. It sends the work email, team size, optional note and the installed version to LLM Gateway, and the address receives a confirmation email before the request reaches sales.

Choose a license

LicenseOrganization accessAdmin dashboard
EnterpriseOne organization bound to the licenseNo
White-labelMultiple Enterprise organizationsYes

Both license types include a maximum number of distinct users across unlocked Enterprise organizations. Existing memberships are not removed if usage exceeds a renewed license's lower limit, but new licensed users are blocked until usage is below the limit.

Each license lists the Enterprise features it includes, such as SSO, audit logs, guardrails, and data streams. A feature that is not listed stays locked and shows a contact-sales card. Licenses issued before features were listed include every Enterprise feature available at that time. A white-label operator can restrict an organization further from the admin dashboard, but cannot grant a feature the license does not include. The billing page's Enterprise plan section shows what each organization can use.

For a standard Enterprise license, sales will ask for the organization ID to bind. It is the first ID after /dashboard/ in that organization's dashboard URL.

Installing a license does not change an organization's recorded plan. The bound organization must also be provisioned on the Enterprise plan; confirm that step with sales when the license is issued. White-label operators can assign the Enterprise plan from the multi-organization admin dashboard.

Docker Compose

Add the signed token supplied with your agreement to the .env file beside your Compose file:

LLMGATEWAY_ENTERPRISE_LICENSE=your-signed-license

Keep .env out of version control. The provided split and unified Compose files pass this value to the processes that verify entitlements.

Recreate the affected containers so they receive the new environment value:

# Split deployment
docker compose -f infra/docker-compose.split.yml up -d --force-recreate api gateway

# Unified deployment
docker compose -f docker-compose.unified.yml up -d --force-recreate llmgateway

A plain docker compose restart does not reload changed environment variables.

Docker

Add this option to the complete docker run command in the Docker guide:

-e LLMGATEWAY_ENTERPRISE_LICENSE="your-signed-license"

When replacing a license, recreate the container with the new value.

Kubernetes and Helm

Store the token under the LLMGATEWAY_ENTERPRISE_LICENSE key in the Kubernetes Secret referenced by the chart's existingSecret value:

apiVersion: v1
kind: Secret
metadata:
  name: llmgateway-secrets
type: Opaque
stringData:
  LLMGATEWAY_ENTERPRISE_LICENSE: "your-signed-license"
  # Include the chart's other required secrets here.
existingSecret: llmgateway-secrets

The existing Secret must also contain the other values required by the chart. Restart the API and gateway workloads after rotating the Secret. For a temporary or non-production installation, the chart can create the Secret from enterprise.license, but do not commit a token to a values file.

Verify the license

Sign in as a deployment administrator and request GET /admin/license from the internal API. The response includes the license state, kind, expiration, seat limit, distinct seats used, remaining seats, and the included features (features). It never returns the token or customer identifier.

The possible states are:

StateEnterprise access
activeEnabled
graceEnabled with an expiry warning
missing, invalid, not_yet_valid, or expiredLocked; core functionality remains available
developmentEnabled only when running from source outside production

The seven-day grace period begins exactly when the license expires. Enterprise features lock at the end of grace, but health checks and core gateway traffic continue working.

Rotate licenses and verification keys

Replacing a token with another token signed by an already-supported key only requires updating the deployment secret and recreating or restarting the API and gateway processes.

When a token uses a new key ID, first upgrade the API and gateway images to a version containing its public verification key. Then install the new token. Old public keys remain in images during the rotation window, so replicas can be upgraded before the license changes.

Licenses issued from December 2026 carry two signatures over the same content, Ed25519 and the post-quantum ML-DSA-65, and both must verify. Verifying them needs an image from that release or later; an older image reports the license as invalid. Licenses issued earlier carry only the Ed25519 signature. They keep working through their expiry and the seven-day grace period, but stop on 1 January 2028 if that comes first: from that date they report invalid, even during grace. Ask sales for a replacement before then.

Treat the signed token like a password: store it in your secret manager, do not commit it, and do not include it in logs or support messages.

How is this guide?

Last updated on

On this page

Ready for production?

Ship to production with SSO, audit logs, spend controls, and guardrails your security team will approve.

Explore Enterprise