LiteLLM data privacy and compliance: what leaves a self-hosted gateway

What a self-hosted LiteLLM gateway sends to its vendor, what is optional or configurable, and which attestations LiteLLM publishes and what they cover.

On this page

Does LiteLLM keep prompts and personal data inside our gateway?

A self-hosted LiteLLM gateway does not send prompts, responses or personal data to the vendor. LiteLLM's data security documentation states that no data or telemetry is stored on LiteLLM servers when you self-host, and that self-hosted software collects and transmits no personal data to LiteLLM servers. The only outbound traffic the documentation describes is Enterprise billable request metering and Enterprise license checks, and both depend on configuration you control. Usage telemetry is off by default with no default endpoint, so nothing reaches LiteLLM servers unless you configure an endpoint that points there. Your checklist should record the configuration that enables each of these flows, not just the default.

On Enterprise, metering sends request counts with endpoint category, route, status, model ID, LiteLLM version and license ID to telemetry.litellm.ai over HTTPS. The metering documentation states that prompts, responses and virtual keys never leave the deployment. Metering cannot run without outbound HTTPS to the collector and the OAuth token endpoint, so an air-gapped or egress-restricted network needs a documented exception or an onboarding conversation with LiteLLM before go-live. The license key is checked offline first and sent to the license server only if that check fails. Confirm with the vendor which hostnames must be allowed, and test egress from the gateway subnet rather than assuming the rule.

Attestations are a separate question. LiteLLM's compliance documentation says the company is SOC 2 Type II audited and that the current report is requested through its Trust Center, so ask for the report and its scope period directly. ISO 27001 appears on the Enterprise marketing page alongside SOC 2 Type 2, but neither the compliance nor the data security documentation mentions it. Ask LiteLLM in writing whether an ISO 27001 certificate exists, which entity holds it and what scope it covers. Until you hold that evidence, record ISO 27001 as unconfirmed in your vendor file, and note that DeployOpen prepares your own controls and evidence but does not issue attestations.

Data flows and attestations by edition

This table compares what a self-hosted LiteLLM gateway sends outside your environment in the open-source and Enterprise editions, and what you must configure or request. Read each row as a question to answer for your own deployment before go-live. The main takeaway is that prompts and virtual keys are documented as staying inside the deployment, while Enterprise metering and license checks create outbound traffic you should plan for.

Data flow or attestationOpen sourceEnterpriseWhat you must configure or request
Usage telemetryOff by default with no default endpoint; nothing reaches LiteLLM servers unless you configure an endpoint pointing thereSame telemetry default as open source, per the data security docsConfirm no telemetry endpoint is set in your configuration and review it during change control
Billable request meteringNot applicableRequest counts, endpoint category, route, status, model ID, LiteLLM version and license ID sent over HTTPS to telemetry.litellm.aiConfirm outbound HTTPS to the collector and OAuth token endpoint; air-gapped deployments must contact LiteLLM during onboarding
License key checkNot applicableChecked offline first; the key goes to the LiteLLM license server only if the offline check failsConfirm with the vendor how offline validation works in your network and when an online check would occur
Prompts and virtual keysStay in your deploymentDocumented as never leaving the deployment through meteringVerify with your own egress logs that prompts, responses and virtual keys do not leave; ask the vendor to confirm in writing
SOC 2 Type IIDocumented as audited; current report requested through the Trust CenterDocumented as audited; current report requested through the Trust CenterRequest the current report from the LiteLLM Trust Center and review its scope and period with your assessor
ISO 27001Not stated in the compliance or data security docsListed on the Enterprise marketing page only, not in the docsTo confirm with the vendor: certificate scope, issuing body and whether it covers the Enterprise product you will run

How the gateway decides what goes outbound

A self-hosted LiteLLM gateway has three paths that can reach the vendor, and only one of them is on by default in no sense at all: usage telemetry. According to LiteLLM's data security docs, usage telemetry is off by default when you self-host and has no default endpoint, so nothing reaches LiteLLM servers unless you configure an endpoint that points there. The second path is Enterprise billable request metering, which sends request counts with endpoint category, route, status, model ID, LiteLLM version and license ID to the collector at telemetry.litellm.ai over HTTPS. The metering docs state that prompts, responses and virtual keys never leave the deployment. The third path is license validation. The gateway checks the Enterprise license key offline first and contacts the LiteLLM license server only if that offline check fails. Confirm in writing which of these paths your configuration enables, and review the gateway's egress rules against that list.

Metering has a hard dependency that shapes network design. It cannot run without outbound HTTPS to the collector and the OAuth token endpoint, so a deployment that cannot reach them, such as an air-gapped network, must contact LiteLLM during onboarding to arrange an alternative. Treat this as a procurement and architecture decision made before go-live, not a firewall exception raised later. Ask the vendor for the current list of hostnames and the token endpoint, confirm whether your edition and contract require metering, and record the answer in the architecture file so security reviewers can trace each allowed destination to a business reason.

Browser-side behavior is covered separately from the outbound paths. LiteLLM's data security docs say Admin UI login cookies hold a JWT and expire on browser close, on logout or after 24 hours, and that LiteLLM uses no third-party cookies. Those statements describe the vendor's software behavior, so verify them in your environment by inspecting the cookies the Admin UI sets and checking that no third-party domains load in the browser. Also confirm the exact cookie attributes your reverse proxy and TLS termination apply, since those settings sit outside the vendor's code.

Where data stays and where metadata leaves

The diagram starts with client applications sending requests to the LiteLLM proxy inside your deployment boundary. Prompts and responses travel only to the model providers and internal models you configure, and they stay inside. Two outbound paths are optional or conditional: usage telemetry, which is off by default and has no default endpoint, and, on Enterprise, billable request metering that sends count-level fields to the collector over HTTPS. The Enterprise license key is checked offline first and sent to the license server only if that check fails. Confirm which of these paths your deployment will enable and whether your network allows them.

Prompts stay in your deployment, while only optional metadata leaves it.

Decisions that change what leaves the deployment

Most of what leaves a self-hosted LiteLLM gateway is set by a handful of choices made before go-live: the edition, telemetry settings, egress rules, logging destinations and who requests attestations. Each card below names one decision, what it changes, and what to check before you sign off on the design.

Buy Enterprise or stay on open source

Staying on the open-source edition means no billable request metering runs, so no request counts are sent to the collector at telemetry.litellm.ai. Enterprise adds metering and an outbound license path, so the gateway needs HTTPS egress to the collector and the OAuth token endpoint. Ask the vendor to confirm the exact hostnames and ports your egress policy must allow before you choose the edition.

Metering docs

Leave telemetry endpoints unset

Usage telemetry is off by default when you self-host and has no default endpoint. Nothing reaches LiteLLM servers unless someone configures an endpoint that points there. Record the telemetry settings in your configuration as code so a later change is visible in review.

Data security docs

Egress policy for the collector and OAuth endpoint

If metering is enabled, the collector and OAuth token endpoint must be reachable, and the allowlist should cover nothing else for this purpose. Confirm that prompts, responses and virtual keys are excluded from metering payloads before you approve the rule. Review the rule when the gateway is upgraded, because the set of endpoints can change between releases.

Air-gapped exception for licensing

The gateway checks the Enterprise license key offline first and contacts the LiteLLM license server only when that check fails. Metering, however, cannot run without outbound HTTPS. Restricted networks that cannot reach these endpoints need a written exception agreed during onboarding, so decide this with the vendor before procurement closes.

Logging destinations for prompt content

Prompts and responses leave the gateway wherever your callbacks, log stores and observability tools send them, not through LiteLLM's telemetry. List every logging destination, its region, its retention and who can read it. Prompt content that contains personal data needs the same access and retention controls as the systems that hold the original records.

Owner of the attestation request

LiteLLM states that it is SOC 2 Type II audited and that the current report is requested through its Trust Center. Its Enterprise marketing page also lists ISO 27001, which the docs do not mention. Name one owner in your organization to request the report, record what it covers, and confirm the ISO 27001 status in writing, since a vendor report does not cover your own deployment.

Compliance docs

How the answer changes by deployment situation

A self-hosted open-source gateway with no Enterprise license is the simplest case. LiteLLM's data security documentation states that no data or telemetry is stored on LiteLLM servers when you self-host, and that usage telemetry is off by default with no default endpoint. Nothing should reach LiteLLM servers unless you configure an endpoint that points there. The outbound paths that remain are the ones your team creates: calls to the model providers you approved, calls to your own database, Redis and secret stores, and any observability or logging sinks you add.

  • Telemetry setting: Confirm in the deployed configuration that usage telemetry is not pointed at any LiteLLM endpoint.
  • Provider calls: List every provider route in the gateway config, since these are the only paths that carry prompts by design.
  • Container images: Record the image tags you pulled and how you verified them, because the docs mention grype scanning of Docker images.
  • Egress rules: Confirm that firewall rules block unapproved destinations, so a configuration change cannot add an outbound path silently.

Keep the configuration file, the egress rule set and the provider list under change control, and ask LiteLLM in writing to confirm the telemetry default for the version you run.

Verifying the data boundary before approval

This sequence turns the vendor's documented data flows into evidence you can check in your own environment, so the approval record shows what leaves the gateway, through which endpoint, and under which license path.

  1. Confirm the edition and license status

    Record whether you are running the open-source MIT code or an Enterprise build, because the metering collector and license checks described in the vendor docs apply only to Enterprise deployments. Ask the platform owner to export the running version and any license key identifier from the deployed proxy, and check that the version is on a release line the vendor still supports. The step is done when the edition, version and license status are written into the approval record with the name of the person who confirmed them.

  2. Inventory every outbound endpoint and its switch

    List each external host the gateway can contact, including telemetry, metering, license and any provider endpoints you configure, and note the setting or condition that enables each one. Compare the list against the vendor's data security and billing metering documentation, and flag any endpoint that is not explained there. Confirm with the vendor in writing which endpoints are expected for your edition. The step is done when every endpoint has an owner, an enablement setting and a documented reason.

  3. Test egress from the production network

    Run the test from the same network segment, proxy path and DNS resolver that production traffic uses, not from a developer laptop or a staging subnet. Attempt connections to each endpoint on the inventory and record whether they succeed, fail or are blocked by policy. Also confirm that provider traffic goes only to the model endpoints you approved. The step is done when the captured results match the inventory, and any unexpected success or failure is logged with a ticket for investigation.

  4. Record the license validation path

    Document how the gateway checks the Enterprise license key: the offline check comes first, and the key is sent to the vendor's license server only if that check fails. Test the behavior by reproducing the offline condition in a non-production environment and observing which outbound calls occur. Confirm what your deployment needs if it cannot reach the license endpoints, including whether the vendor requires onboarding contact for restricted networks. The step is done when the validation path is written down with observed evidence from the test.

  5. Request the SOC 2 Type II report and ISO 27001 position

    Ask the vendor for the current SOC 2 Type II report through its Trust Center, and read the scope, the audit period and any noted exceptions with your security team. Separately, request a written statement on ISO 27001, because the vendor's public Enterprise page lists it while its technical documentation mentions only SOC 2 Type II. Treat the report and the written position as vendor evidence, not as DeployOpen's attestation or a certification you hold. The step is done when both documents are filed with the approval record and any gap is assigned to a named owner.

  6. Re-verify the boundary after each upgrade

    Repeat the endpoint inventory, the egress test and the license path check whenever the gateway moves to a new release, because defaults, endpoints and telemetry behavior can change between versions. Compare each new release's documentation against the recorded inventory before the upgrade reaches production. Keep the previous evidence so the team can show what changed. The step is done when the post-upgrade results are signed off by the same owner who approved the original boundary.

Evidence a security reviewer asks for

This table lists the evidence a security reviewer typically requests for a self-hosted LiteLLM gateway, where each artifact originates, and who on your side should own it. Read it as a checklist to take into the review, and confirm each vendor statement against the current documentation and your own network captures before you sign off.

Question or artifactWhere it comes fromOwner
Is usage telemetry enabled, and which endpoint does it call?Data privacy and security docs: telemetry is off by default when self-hosting and has no default endpoint. Confirm in the deployed configuration file and environment variables.Platform engineering
Does any data reach LiteLLM servers from the open-source gateway?Data privacy and security docs state no data or telemetry is stored on LiteLLM servers when self-hosted. Verify with a captured egress test on a staging instance.Security engineering
What is the egress allowlist for Enterprise metering?Billable request metering docs: outbound HTTPS to the collector at telemetry.litellm.ai and the OAuth token endpoint. Confirm the exact token endpoint with the vendor during onboarding.Network team
Which fields leave the deployment in request metering?Billable request metering docs list request counts, endpoint category, route, status, model ID, LiteLLM version and license ID. Compare against the metering docs before approval.Security and compliance
Do prompts, responses or virtual keys leave the deployment?Billable request metering docs state they never leave the deployment. Test with proxy logs and packet capture to confirm.Security engineering
How is the Enterprise license key checked?Compliance docs: the key is checked offline first and sent to the license server only if the offline check fails. Ask the vendor how a failed check is logged.Platform engineering
What happens to a deployment that cannot reach the collector?Metering docs say air-gapped or restricted deployments must contact LiteLLM during onboarding. Record the agreed arrangement in writing.Procurement and architecture
How do Admin UI sessions behave?Data privacy and security docs: login cookies hold a JWT and expire on browser close, logout or after 24 hours, with no third-party cookies. Test session expiry in your browser policy.Application security
Are the Docker images scanned, and how?Data privacy and security docs state images are scanned with grype. Ask for the scan output for the version you deploy and run your own scan in your registry.Security engineering
What does the SOC 2 Type II report cover, and is ISO 27001 covered?Compliance docs state SOC 2 Type II audited, with the report requested through the Trust Center. The Enterprise page lists ISO 27001, but the docs do not mention it. Request written confirmation of scope and period.Compliance lead

Questions buyers ask before approving LiteLLM

Does prompt content leave a self-hosted LiteLLM gateway?

Prompts, responses and virtual keys do not leave the deployment through LiteLLM's own metering. The data security documentation states that self-hosted software stores no data or telemetry on LiteLLM servers and collects no personal data for transmission to them. Usage telemetry is off by default with no default endpoint. Prompts still travel to whichever model providers you configure, so the review should cover each provider's terms and your routing rules. On Enterprise, billable metering sends only request counts with endpoint category, route, status, model ID, LiteLLM version and license ID to the collector. Confirm each statement against the LiteLLM data security documentation and your own network logs during a pilot.

Is SOC 2 enough, or is ISO 27001 needed?

SOC 2 Type II is the attestation LiteLLM's documentation names, and the current report is requested through its Trust Center. Its Enterprise marketing page lists SOC 2 Type 2 and ISO 27001 together, but the compliance documentation mentions only SOC 2 Type II. Ask LiteLLM in writing whether an ISO 27001 certificate exists, which entity holds it, its scope and its validity dates. Whether SOC 2 is enough depends on your own policies, customer contracts and regulators. Attestations cover the vendor's operations, not your deployment, so your own controls for hosting, access and logging still need evidence. An independent auditor or certification body makes the determination for your organization.

What changes when we buy the Enterprise edition?

Enterprise adds controls that matter for a privacy review, including audit logs, organization and team RBAC, IP allowlisting, secret manager integrations, SSO and SCIM beyond the free user limit, and team-level guardrails and logging. It also introduces billable request metering and a license check. The license key is checked offline first and sent to LiteLLM's license server only when that offline check fails. Your data flow therefore changes at the point you accept metering and any license traffic. Document that change, confirm which outbound endpoints your firewall must allow, and ask LiteLLM for the current list of Enterprise features in writing.

Can an air-gapped deployment run request metering?

Metering cannot run without outbound HTTPS to the collector at telemetry.litellm.ai and to the OAuth token endpoint. LiteLLM's metering documentation says deployments that cannot reach these endpoints, such as air-gapped ones, should contact LiteLLM during onboarding. Treat that as a commercial and technical conversation to start early, not a setting to flip. Ask LiteLLM what alternative reporting exists, how license validation works offline, and what evidence they will provide for usage counts. Your architecture team should decide whether a controlled egress path to those two endpoints is acceptable under your policy before the Enterprise purchase is finalized.

What can our reviewers do alone, and where does a partner help?

A security or compliance reviewer can read LiteLLM's data security, compliance and metering documentation, check the license file and inspect the deployment's network egress. They can also request the Trust Center report and send written questions to the vendor. Work that usually needs a partner includes configuring the gateway so that logging, retention and key handling match the policy, documenting the data flows, collecting evidence for assessors and testing that egress rules behave as described. DeployOpen plans and implements these items inside your infrastructure and prepares evidence for assessments, but it does not issue audit reports or certifications.

What would a partner scope, and what drives its cost?

A partner's scope normally covers a data flow inventory, the configuration of logging and retention, egress and firewall rules, identity and secret handling, evidence collection and a written list of open vendor questions. Most engagements are fixed-scope and agreed in writing before work starts, and DeployOpen does not publish a price list. The main cost drivers are the number of model providers and routes, how many environments must be reviewed, whether Enterprise features are in scope, how much existing evidence you already have, and whether air-gapped egress needs a separate path. Ask any quote to itemize each of these items, separate one-time work from recurring support, and state what the client must provide.

What should we ask LiteLLM in writing before approval?

Ask for the current SOC 2 Type II report through the Trust Center, its audit period and the scope of systems it covers. Ask whether an ISO 27001 certificate exists, who holds it and what it covers. Request the exact list of outbound endpoints for each edition and for metering, confirm the offline license check behavior and ask what happens when the license server is unreachable. Ask how air-gapped metering is handled, what data the collector retains and for how long, and how vulnerabilities in images are disclosed. Also request the support terms that apply to security patches. Keep the written answers with your approval record.

Primary sources for the privacy review

Start the privacy review with the vendor's own documentation, read in this order: the data security page, the compliance page, the billable request metering page and the Enterprise page. The first two describe what a self-hosted gateway does by default. The last two describe what changes once you hold an Enterprise license. Treat each page as a claim to verify against your own network captures and configuration, not as a substitute for them.

Read the LiteLLM data privacy and security docs first. Its statements that telemetry is off by default for self-hosted installs and has no default endpoint are the baseline your reviewer will test. Confirm them by checking the environment variables and configuration in your own deployment and by reviewing egress rules, since a configured endpoint is the only documented path to LiteLLM servers. Note the cookie and Docker image scanning statements there, and ask which image digests your team will pin.

Open the LiteLLM compliance and SOC 2 Type II page to see how the vendor describes its audit status and the offline-first license check. Request the current SOC 2 Type II report through the LiteLLM Trust Center rather than relying on the summary. The same page does not mention ISO 27001, so ask the vendor in writing for any ISO 27001 certificate, its scope and its validity dates before you cite it in a control narrative. Then read the billable request metering docs to confirm which fields leave the deployment, and plan firewall rules and onboarding for the collector and token endpoint if your network is restricted. Finally, the LiteLLM Enterprise page lists certifications and support terms, which you should match against the signed contract and the trust documentation before relying on them.

How DeployOpen scopes a LiteLLM privacy review

DeployOpen reviews a self-hosted LiteLLM gateway by tracing each outbound path, from telemetry and license checks to Enterprise request metering, and documenting what the deployment sends and what stays inside your infrastructure. The review is delivered as written scope, configuration and evidence that your compliance and security teams can check themselves.

How we scope

  • Written scope lists every outbound path to confirm: telemetry, offline license checks, and metering to the collector.
  • We record which LiteLLM edition runs, its version, and whether the deployment has outbound HTTPS access or is air-gapped.
  • Scope states which regulation-specific questions are out of this review and which are covered by separate pages.

How we build

  • We configure telemetry off and confirm no endpoint points at LiteLLM servers unless you approve it.
  • We check the Enterprise license path and, where metering applies, document the fields sent and confirm prompts stay in the deployment.
  • We test egress with network rules and logs so the documented data flows match what the gateway actually sends.

How we hand over

  • You receive a data-flow document mapping each outbound destination, the data category, and the configuration setting that controls it.
  • The package includes a list of questions to put to LiteLLM, such as the current SOC 2 Type II report and any ISO 27001 scope.
  • Evidence is organized for your auditors, and DeployOpen does not issue audit reports, attestations or certifications.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, so data-flow documentation can be re-checked after each release.
  • A quote follows from the written scope, so you can compare the review against your own team's effort.

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.