LiteLLM EU-only model routing for data residency

LiteLLM can filter model deployments by region and route teams to EU model groups, but routing alone does not show where prompts are processed. This page maps the GDPR transfer requirements to the configuration, evidence and gaps.

On this page

LiteLLM EU-only model routing for data residency: what it helps with and what it does not

A platform team that must keep certain customers or teams on EU-hosted models under GDPR Chapter V needs LiteLLM routing to do what it can, and needs its own evidence for everything routing cannot show. LiteLLM region tags on deployments, allowed_model_region set on an end user, and team-level model aliases for EU groups all help enforce where a request is sent. The region controls supported in the customer routing docs are eu and us, and deployments outside the requested region are filtered out of the model group. That is a routing decision. It is not, by itself, proof of where personal data is processed, stored, logged or viewed.

Several things sit outside what a router can establish. A region tag records the endpoint you configured, not the physical location of every processing step inside the model provider, the gateway's database and Redis, or the log sinks that receive prompt metadata. Access is also separate from location: under Article 44 and the EDPB's view in Guidelines 05/2021 (version 2.0), remote access from a third country, even only displaying data for support, counts as a transfer. Confirm which provider support staff, administrators and gateway operators can reach the data from outside the EEA, and whether any provider is subject to third-country authority powers that could reach EU-hosted data. Those questions belong to your transfer assessment, not to the allowed_model_region setting.

Before relying on this routing, check the deployments and records against your own design. Confirm that each EU-tagged deployment points to an endpoint your contract and processor terms place in the EEA, that fallback or retry paths cannot send an EU-scoped request to a worldwide group, and that the team aliases and end-user settings are tested with negative requests. Keep the configuration in version control and record the test results. DeployOpen can prepare the configuration, the test evidence and the transfer documentation for your review, but it does not issue an audit report or certification, and a GDPR compliance conclusion remains yours to reach with your counsel and, where relevant, your supervisory authority or auditor.

Mapping EU residency requirements to LiteLLM controls

This table maps each EU residency requirement to the LiteLLM routing control that supports it, the configuration it needs, and what routing cannot prove. Read the last column first: routing enforces where a request is sent, but it does not show where prompts are processed, stored or accessed.

RequirementPlatform capability and configurationRouting role and what remains open
GDPR Article 44: transfers to third countries must meet Chapter V conditionsSet allowed_model_region to eu on the customer and tag every EU deployment with an EU region in its model groupEnforcement for the routing hop only. Confirm the provider's processing and storage locations and whether any onward transfer occurs
Team-scoped EU groupsDefine an EU model alias on the team that points only to EU deployment groups, and keep worldwide groups under separate aliasesEnforcement if no fallback route reaches a non-EU deployment. Check retry and failover settings so a request cannot spill to a worldwide group
Default and fallback routesReview the router's failover priority ordering and cooldown behavior for each EU model groupEnforcement only when the EU group has no non-EU member. Test a forced failure in staging and inspect which deployment served the call
EDPB Guidelines 05/2021: remote access from a third country is a transferRestrict admin and support access to the gateway and the provider account from EU locations, and record who can view prompts in logsNot covered by routing. Requires access controls, support procedures and documented locations for administrators and vendor staff
GDPR Article 48: third-country disclosure ordersNo routing setting. Choose EU-headquartered providers and EU-hosted deployments, and review their contract terms for government accessOpen. Routing does not stop a non-EU provider from receiving a lawful order. Obtain legal assessment of each processor's exposure
EDPB Recommendations 01/2020: supplementary measures when access in the clear is possibleNo routing setting. Document which deployments receive data in clear text and what technical measures apply to themOpen. Routing cannot supply a supplementary measure. Ask the provider and your counsel whether one exists for your data
GDPR Article 32: security of processingUse one gateway configuration file under version control, and record each EU group, region tag and alias changeEvidence only. Change history shows configured intent. It does not show that traffic followed the route in production without log review
Evidence of routing in productionEnable request logs that record the deployment and region used for each call, and retain them under your records of processingEvidence only. Logs prove the route taken for sampled calls. Confirm the log store location and access before relying on them

Choosing a routing pattern for EU customers and EU teams

This pattern sets allowed_model_region on a customer record so that the proxy only considers deployments in that region. According to LiteLLM's customer routing docs, deployments in a model group outside the configured region are filtered out, and the supported values are eu and us. The filter depends entirely on the region tag you add to each deployment in your model configuration, so the tag is the control.

  • Tag every deployment explicitly: A deployment without a region tag cannot be matched to eu, so confirm how your configured version handles untagged entries before relying on the filter.
  • Check the tag against the real endpoint: A deployment tagged eu that actually points to a US endpoint produces a misleading record. Verify the region of each endpoint with the provider, not only the label in your config.
  • Keep the model group consistent: Filtering works within a model group. If an EU customer's model name maps to a group that also contains US-only deployments, confirm that the filter removes them before any call is made.
  • Test the negative path: Send requests as the restricted customer for a model that exists only outside the EU and confirm the call fails rather than succeeding through another deployment.
  • Record the configuration: Keep the customer setting, deployment tags and test results together so a reviewer can trace which region each customer was limited to.

Before going live, run the negative test against every model group the customer can reach, because a single untagged deployment in a shared group is the most common gap.

Configuring EU-only routing in a self-hosted gateway

This sequence turns an inventory of EU-hosted model deployments into a gateway configuration where EU-scoped customers, teams and keys can only reach EU model groups. It produces a tested routing setup and a record of what the gateway enforces and what it does not.

  1. Inventory every model deployment and its processing location

    The platform owner and the privacy lead list each model deployment behind the gateway, the provider and cloud region that runs it, and where prompts and completions are stored or accessed from. Include deployments reached through a provider account, private models you serve yourself and any fallback providers. Confirm the location with each provider's documentation or contract terms, not only the endpoint name. The output is a signed-off table marking each deployment as EU-processing or not, with the evidence for each mark.

  2. Tag each deployment with its region

    The gateway administrator adds a region tag to each deployment entry in the proxy configuration file, using the region values the routing feature recognizes for customer filtering, which are eu and us in the supplied documentation. Deployments with no verified EU processing receive no EU tag. Keep the configuration under version control so each change is reviewed. The check is that a configuration diff shows the EU tag only on deployments that passed the inventory.

  3. Group EU deployments into dedicated model groups

    Place EU-tagged deployments in their own model group, separate from worldwide groups that share the same model names. Mixing EU and non-EU deployments under one name makes it easy for a caller to reach a non-EU endpoint by accident. Name the groups so an operator can tell their region from the name alone. The output is a configuration where every EU group contains only EU-tagged deployments, which a reviewer can confirm by reading the file.

  4. Set allowed_model_region on EU end users

    For each end user or customer whose prompts must stay in the EU, the administrator sets allowed_model_region to eu on that customer record. The gateway then filters out deployments in model groups outside that region for that user. Work through the customer list with the team that owns those accounts, so no EU-scoped customer is left without the setting. The check is a test call as that end user that succeeds against an EU deployment and fails when only non-EU deployments are offered.

  5. Create team model aliases for EU groups

    Using team-based routing, the administrator sets model aliases on each EU team so that the model name the team's applications request resolves to the EU model group. A worldwide group can keep the same model name for other teams. Record which teams use which aliases. The check is a request from an EU team's key that reaches an EU deployment, confirmed in the request logs by deployment name or tag.

  6. Restrict EU virtual keys to EU model groups

    Create virtual keys for EU teams and restrict each key to the EU model groups only, using the per-key model restriction. This step needs a PostgreSQL database, because virtual keys are stored there, so confirm the database is in place before creating keys. Keys issued before the restriction must be reviewed and rotated or restricted. The check is an attempt to call a non-EU model name with an EU key, which should be refused.

  7. Test fallback and retry paths for non-EU traffic

    Review the routing settings for retries, cooldowns and priority-ordered failover, which the routing documentation describes. Confirm that no fallback list for an EU group contains a non-EU deployment, and that a retry after a failure stays inside the same region. Simulate a failure of each EU deployment in a test environment and check the request logs to see where traffic goes. Record the result, because routing settings are easy to change later without anyone reviewing the fallback effect.

  8. Document what the routing setup does and does not prove

    The privacy lead records the routing configuration, the test results and the inventory in the processing records, and states plainly that routing selects deployments but does not establish where prompts are processed by the provider, what access a provider's staff or authorities may have, or whether transfer conditions are met. Those questions need the provider contract, processor assessment and transfer analysis. The output is a short evidence file that a reviewer can read alongside the contract and assessment records.

How an EU-restricted request flows through the gateway

The request starts with an EU team's virtual key, which resolves to the team's model alias. The gateway then filters the model group down to deployments tagged eu, so the call only reaches EU-tagged deployments. The boundary to check is after the provider receives the prompt: routing decides where the request is sent, but it does not control remote support access, storage outside the EEA or third-country authority requests at the provider.

Routing enforces the EU deployment choice; provider-side access sits outside it.

Evidence that routing configuration produces and how to keep it

Routing settings only protect data residency if you can show what was configured, when it changed and who changed it. The cards below cover the artifacts a security or compliance reviewer will ask for, and which of them belong under change control before a model group goes live for EU-only traffic.

Exported region configuration

Export the allowed_model_region value on each customer, the region_name tags on every deployment in each model group, and the team model aliases that map EU groups to EU-hosted deployments. Store the export with a date and the gateway version it came from. A reviewer can then compare the file against the live configuration and see whether the EU-only rule matches what the gateway enforces. Confirm the export format with your own installed version, because field names can change between releases.

Customer routing docs

Key and budget change records in PostgreSQL

Virtual keys, team assignments and budget changes are stored in the PostgreSQL database that LiteLLM requires for virtual keys. Query those tables to show which keys were restricted to EU model groups, when a key was created, and when a temporary budget increase was granted. Keep these queries in version control so the same evidence can be pulled again at audit time. Check with your database team how long rows and backups are kept.

Enterprise audit logs of configuration changes

If your license covers audit logs, they record administrative changes to keys, teams and models. Confirm that the audit log captures changes to region tags and team aliases, not only key creation. If your deployment is on open source without the Enterprise license, you will need another record of configuration changes, such as the infrastructure-as-code history, and you should document that gap.

Enterprise docs

Test calls showing exclusion of non-EU deployments

Keep dated test results from requests made as an EU-restricted customer and as an EU-restricted team. Each test should show that calls route only to EU-tagged deployments and that the gateway returns an error or fails over inside the EU group when none is available. Include the negative case: a request for a model that exists only outside the EU must not succeed. Repeat these tests after every upgrade or routing configuration change.

Provider data processing terms and sub-processor lists

Collect each model provider's data processing terms, sub-processor list and stated processing locations for every EU deployment you rely on. Record the version or date of each document you reviewed. A region tag shows where the gateway sends a request, but these documents show what the provider does with it, including support access and onward processing. Ask the provider to confirm which regions its sub-processors operate in, and note any terms that do not answer this.

GDPR text on EUR-Lex

Items to keep under change control

Put the region tags, allowed_model_region values, team model aliases, deployment definitions and the router configuration in the same version-controlled repository, with a required reviewer for any change that adds a deployment outside the EU. Keep provider terms and sub-processor records in the compliance repository with an owner and a review date. Any change to these items should link to a ticket that explains the residency impact.

Questions teams ask before EU-only LiteLLM routing

Is EU-only model routing enough to meet GDPR data residency requirements?

No. Routing decides which deployment a request is sent to, but it does not prove where prompts are processed, stored or viewed. GDPR Article 44 requires every transfer of personal data to a third country, including onward transfers, to meet Chapter V conditions. The EDPB Guidelines 05/2021 (version 2.0) treat remote access from a third country, even only displaying data on a screen for support, as a transfer, and storage in a cloud outside the EEA as a transfer too. So the team must also check the provider's support access, backups, logging sinks and sub-processors. Routing is one control in a larger transfer assessment, and the controller remains responsible for showing that assessment.

What drives the cost of configuring EU-only routing?

The work scales with the number of model deployments, the teams and customers that need EU-only access, the providers involved and the contracts behind each one. Each deployment needs a region tag and a check that its provider terms and data processing agreement cover the EU hosting you rely on. Each team needs a model alias set so its calls land only on EU groups. Each provider adds its own authentication, quota and contract review. Ask for a quote that lists each deployment, team alias and provider contract as separate line items, and separate one-time build work from any recurring retainer for upgrades and retesting.

How long does it take to scope and test EU-only routing?

The duration depends on how many deployments, teams and provider contracts are in scope, and on how quickly your legal and procurement teams confirm hosting terms. DeployOpen does not quote a timeline before the written scope exists. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. Ask for the schedule to split into inventory and contract review, configuration, negative testing (confirming that a non-EU deployment is never selected for an EU-restricted caller) and a documented sign-off.

What must our team supply before the engagement starts?

Prepare three inputs. First, a model inventory listing every deployment, its provider, its hosting region and the model group it belongs to. Second, the provider terms for each deployment, including where data is stored and processed and what support access exists. Third, the status of data processing agreements with each provider and any transfer mechanism you rely on, such as standard contractual clauses under Commission Implementing Decision (EU) 2021/914. You should also name the teams and customers that need EU-only access and the people who approve changes to routing rules.

Can an internal platform team configure EU-only routing without a partner?

Yes, if the team already runs the LiteLLM proxy and has someone who can edit its configuration and test it. The region tags, customer settings and team aliases are configuration items, so the technical part is achievable in-house. The harder parts are the contract review, the transfer assessment and the negative testing that proves an EU-restricted call never reaches a non-EU deployment. Teams often find these need legal input and a documented test record that an auditor or supervisory authority can read. Decide which of these your team can own before deciding whether to bring in outside help.

Does the EU-US Data Privacy Framework or the C-703/25 P appeal change the design?

Yes, it can change which providers and regions you can rely on without extra safeguards. Commission Implementing Decision (EU) 2023/1795 finds adequate protection only for US organizations on the Data Privacy Framework List. An appeal against the General Court's September 2025 judgment upholding it is pending as Case C-703/25 P, so the position may change. Design your routing so that an EU-only restriction does not depend on a US-hosted provider's certification alone. Keep standard contractual clauses and a documented transfer assessment as a fallback, and recheck the list and appeal status before each review.

Does using an EU-hosted provider with a non-EU parent count as a transfer?

Not by itself, but the question needs a documented answer. EDPB Guidelines 05/2021 (Example 12) say that using an EU processor subject to third-country law with extraterritorial effect is not itself a transfer. However, complying with a third-country authority request would be one, so the controller should assess that exposure before engaging such a processor. The US CLOUD Act provision at 18 U.S.C. 2713 requires covered providers to preserve or disclose data in their possession, custody or control regardless of location. Ask each provider how it responds to government requests and record your assessment alongside the routing design.

How DeployOpen works on this

DeployOpen plans and configures EU-only model routing inside your own infrastructure, so the region tags, team aliases and customer restrictions match the data flows your compliance team has approved. We document what the configuration does and what it does not prove, so the routing setup can be reviewed as one part of a wider data residency assessment.

How we scope

  • We list which customers, teams and model groups must stay on EU-hosted deployments, and which may use worldwide groups.
  • We map every place a prompt or log could leave the EU, including provider endpoints, fallback routes and logging destinations.
  • The written scope names the LiteLLM version, configuration files and the test cases that will prove routing behavior.

How we build

  • We tag each model deployment with its region and set allowed_model_region on the customers that require EU processing.
  • We create team model aliases for EU groups so their calls resolve only to EU model groups, with a separate alias for worldwide use.
  • We test failover and retry paths to confirm that a request cannot reach a non-EU deployment when the EU group is unavailable.

How we hand over

  • You receive the routing configuration as versioned files, with a record of each region tag, alias and customer restriction.
  • The handover includes a written statement of what routing enforces and what remains with your team, such as provider contracts and access from outside the EU.
  • We provide test evidence and a runbook so your team can rerun the routing checks after each upgrade or configuration change.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and continuous testing of routing changes are available as a retainer.
  • Before any change to providers or regions, we can review the effect on the documented data flows with your compliance team.

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.