Guide

What is an LLM gateway, and what it must do in Europe

A working definition of the category, what a gateway actually does on each request, and the European requirements that decide whether your security and data-protection teams can approve one.

For architects, heads of data platform and innovation leads comparing LLM gateways for a European organisation.

What is an LLM gateway?

An LLM gateway is the single layer every model call in your organisation passes through. Applications talk to one endpoint; the gateway decides which provider and region serves each request, with which credentials and within which limits, and records what happened. The same component is sold as an AI gateway, an LLM proxy or an LLM router. The names differ; the job is the same.

Most teams arrive here the same way. A prototype calls one provider directly with a key in an environment variable. A year later there are several teams, several providers, keys in many repositories, dollar invoices nobody can allocate, and a question from the data-protection officer that nobody can answer with confidence: where exactly are our prompts processed?

What does an LLM gateway do on each request?

A gateway accepts a request in a known format, authenticates it, checks limits and balance, selects a route, calls the provider, returns the answer in the caller’s format and records the usage. The value is that these decisions are made once, under one set of rules, for every application, instead of being reimplemented in each codebase.

Request path through an LLM gatewayAn application calls the gateway. The gateway authenticates the key, checks limits and budget, picks a route allowed by the project's residency tier and sends the request to the provider. The response returns to the application in its own format, and the gateway records the usage. If the route fails, the gateway retries on another route of the same tier or a stricter one. Application (OpenAI SDK) LLM gateway 1 · Authenticate: key → project 2 · Rate limits and budget 3 · Route allowed by the tier 6 · Record usage (metadata) 5 · response 4 · send Provider, route AEU region Route Bsame tier If A fails: only a route of the same or a stricter tier.
One request through a gateway, step by step. Fallbacks never leave the project's residency tier.

In six steps, the path of every request:

  1. Authenticate. The key identifies the project and its settings: allowed models, residency tier, budget.
  2. Check limits and budget. Requests and tokens per minute, balance and the project’s budget; over a hard limit, the request stops here.
  3. Choose a route. Among the providers and regions that serve the model, only those allowed by the project’s residency tier are candidates.
  4. Send. The request is translated to the provider’s format and sent; on failure, the next allowed route is tried.
  5. Respond. The answer comes back in the caller’s format, with headers naming the route that served it.
  6. Record. Tokens, cost, latency and route are recorded as metadata, without the content unless logging was switched on.

The functions behind those steps, roughly in the order a platform team needs them:

  1. Unified API. One wire format, usually OpenAI Chat Completions, often Anthropic Messages too. Applications change the base URL and the key; the rest of the code stays.
  2. Routing and fallbacks. When a provider errors or runs out of quota, the gateway retries on another route before the application notices.
  3. Keys and budgets. One key per team, project or service, with an expiry, a model allowlist and a budget with a hard stop.
  4. Rate limits. Requests and tokens per minute, so a batch job cannot starve the internal assistant.
  5. Observability. Who called which model, how many tokens, what it cost and how long it took, without storing the content.
  6. Caching and guardrails. Some gateways cache responses or filter prompts and outputs. Useful, but both mean storing or inspecting content, which has data-protection consequences you should decide on deliberately.

How is an LLM gateway different from an API gateway?

A classic API gateway (API management) governs generic HTTP traffic. An LLM gateway understands model calls: tokens, provider formats and per-request cost. The line is blurring, because API management vendors are adding AI modules; Microsoft, for example, documents “AI gateway capabilities” in Azure API Management, including token limits, semantic caching and load balancing across model backends.

Classic API gateway compared with an LLM gateway, aspect by aspect
Aspect Classic API gateway LLM gateway
Unit of consumption Requests per second Input and output tokens, as well as requests
Format Whatever each backend exposes One common format (OpenAI, Anthropic) translated per provider
Cost Outside the gateway’s concern Computed per request from the model and route
Failover Another instance of the same service Another provider or region serving the same model
Residency Rarely a per-request decision Must select the route by where each provider processes
Logging Headers and status codes Usage metadata; content only when explicitly enabled

If you already run an API management platform and use a single model provider, extending it may be enough. With several providers and a residency requirement, model-specific logic quickly dominates.

Self-hosted or managed LLM gateway?

Both are legitimate choices; the difference is who operates the component and who produces the evidence. The LiteLLM proxy (MIT licence, with some proxy features under its enterprise licence) and Portkey Gateway (MIT licence) run on your own infrastructure and cover the unified API, virtual keys, budgets, rate limits, fallbacks, caching and guardrails. A managed gateway offers the same as a service, in exchange for trusting a third party: from global aggregators such as OpenRouter, whose EU in-region routing is limited to its Business and Enterprise plans, to gateways built around residency.

Self-hosted and managed LLM gateways: who does what
Question Self-hosted (open source) Managed
Who deploys, patches and monitors it? Your team The gateway provider
Who contracts each model provider? Your organisation, one by one Usually the gateway, which lists them as sub-processors
Who enforces residency? Your configuration, route by route The gateway, under the contract and the tier you choose
Who produces audit evidence? Your team The gateway, if it offers it; verify this
Who invoices? Each provider separately, often in US dollars The gateway, on one invoice
What does it add to the processing chain? Nothing outside your perimeter One more processor (GDPR Article 28)

Self-hosting makes sense when your platform team can run another critical service and already holds the provider contracts. When operating time, contracts and evidence are what you lack, a managed gateway takes that work off your team; compare its fee with the hours you would spend. Situra is managed only today: deployment in your own cloud tenant is in design, with no date.

What must an AI gateway do in Europe?

For a European buyer, the deciding question is not which models a gateway lists but whether it can state, for each request, which route, tier and region served it, and give you a signed record of that. That requires separating two locations, enforcing residency on every call, failing closed, and giving your DPO the processor documentation. Every other feature matters only once this holds.

The platform and the model are two different locations. A gateway hosted in Frankfurt or Madrid that forwards a prompt to a US endpoint still sends that prompt out of the EU. What counts is the provider’s documented commitment about where inference runs. Google’s Vertex AI documentation, for instance, says regional endpoints keep processing within the multi-regional jurisdiction of the region: for Madrid (europe-southwest1) that is the EU.

Residency is enforced per request and refuses rather than falls back (fail-closed). A residency setting is worthless if, when the allowed route is down, the gateway quietly falls back to another region to stay available. The correct rule is the opposite: when no route of the tier is left, the request is refused.

“EU” is defined by the provider’s fine print. Several European commitments include EFTA countries. Azure’s EU Data Zone follows the EU Data Boundary, which can include Norway and Switzerland; Mistral’s EU endpoint uses data centres in EU and EFTA countries; Amazon Bedrock’s EU inference profiles route among EU Regions; Vertex AI’s eu multi-region covers EU member states only. Ask any gateway what “EU” means route by route.

Beyond that, a gateway that has to pass a DPO and CISO review should provide:

  • Sub-processors per tier, so you know which provider may receive data for a project’s tier.
  • Metadata only by default. Storing prompts and responses must be an explicit, per-project decision with bounded retention and encryption.
  • A verifiable audit log, covering what the gateway provider’s own staff do.
  • Per-request evidence of the route, region and tier that served each response.
  • A data processing agreement (GDPR Article 28) and the facts you need for your record of processing (Article 30).
  • Euro invoicing with correct VAT, including reverse charge for businesses in other member states.

Criteria for choosing an LLM gateway

There is no best LLM gateway in the abstract, only the one that meets your requirements with the least risk. Use this table in a proof of concept or a tender; each criterion can be checked with a real request or a specific document rather than a sales answer. For the wider vendor review (documents, DORA, procurement and exit), use the AI provider evaluation checklist.

Criteria for choosing an LLM gateway, with what to ask and how to verify each one
Criterion What to ask How to verify
Compatibility Which OpenAI and Anthropic endpoints are supported, and which are not? Run your SDKs and tests changing the base URL and key (and the model, if the gateway does not serve yours)
Per-request residency Is it set per project? Can a header loosen it? Pin a project to EU and request a model with no EU route: it must fail
Fail-closed routing Can fallbacks leave the tier? Read the routing documentation; test with a route down
Model location Which commitment backs each route, and what does “EU” include? Ask for the provider source behind every route
Evidence Does each response state route and region? Is it signed? Verify a response against published public keys
Content logging What is stored by default, and for how long? Check the project settings and the DPA
Audit Is the log tamper-evident and exportable? Does it cover staff access? Export it and verify it outside the platform
Cost How is the per-token price derived, and what fees apply? Compare an invoice with the provider’s list price
Operations High availability, SLA, status page, certifications? Ask for the current state, not the roadmap
Exit What does leaving cost? With a compatible API, it should take a change of base URL and key (and of model, where the provider names it differently)

Where does Situra fit?

Situra is a managed EU LLM gateway operated from Azure Spain Central (Madrid). It offers an OpenAI- and Anthropic-compatible API, a residency tier per project enforced on every request, and a signed record of the route, tier and region on every served response. Today Gemini on Google Vertex AI is connected, on the EU route; the Spain tier has no route, so it refuses requests.

What it does today, verifiable in the documentation:

  • Residency that refuses rather than falls back. Tiers are ordered (Spain ⊂ EU ⊂ global); fallbacks only go to routes of the same or a stricter tier, three attempts by default. With no route left, the answer is 503 no_route. Details under data residency for LLMs.
  • Evidence per response. The x-situra-attestation header is an Ed25519-signed token naming route, provider, region and tier, verifiable with public keys (developer reference). It records which route Situra used, not what happens inside the provider.
  • Control. Project-scoped keys shown once and stored only as an HMAC, revocation at the gateway within about a second, budgets with a hard stop, and default limits of 60 requests and 200,000 tokens per minute per organisation, adjustable.
  • Data. Metadata only by default; content logging is opt-in per project, encrypted per organisation, kept 0–365 days. On the Gemini route (Vertex AI), Google may keep prompts for up to 90 days if its classifiers flag possible abuse. A hash-chained audit log and four-eyes approval for sensitive staff actions.
  • Price. The provider’s US dollar list price at the monthly exchange rate plus a 2% buffer, and a 5.5% fee on top-ups (minimum €0.80). The published catalogue is illustrative for now.

And what it does not have yet:

  • No certification. Its controls are designed for Spain’s ENS category ALTA; a joint ENS category MEDIA and ISO 27001 audit is targeted for Q2–Q3 2027. An external penetration test is planned, with no date fixed.
  • A single node. In production since 29 September 2026 on a single-region, single-node deployment, without high availability or an SLA.
  • One provider connected. Google Vertex AI (Gemini, on the EU route, which global-tier projects use too) is live. Anthropic, OpenAI, Mistral and Amazon Bedrock are planned, not connected; see Claude API in Europe and OpenAI API (GPT) in Europe for what each provider offers.
  • No Spain-tier route. None of Situra’s routes processes in Spain today. In-Spain processing exists only for a few models Situra does not serve, such as text-embedding-3-large on Azure OpenAI in Spain Central, so Situra offers no Spain-tier route and a Spain-tier project gets a refusal rather than a wider route.
  • No own caching or content filters. Per-project moderation is planned; Situra does not store responses for reuse.

Next steps

If you are comparing options, start from the criteria table and ask every vendor for the source behind each regional commitment. To see what changes in an existing application, the guide on how to move from the OpenAI API to an EU route shows the two lines involved. If the decision goes through your DPO, GDPR and LLM APIs covers roles, contracts and transfers. The evaluation pack collects Situra’s documents for your security and data-protection team, the OpenAI-compatible API reference is for your engineers, and more articles are in guides.

Frequently asked questions

What is an LLM gateway?

An LLM gateway is a service that sits between your applications and the providers of large language models. Applications call one API, usually OpenAI-compatible, and the gateway picks the provider and region, applies keys, rate limits and budgets, retries on another route when one fails, and records usage. Switching models or providers then becomes a configuration change instead of a code change in every application.

What is the difference between an LLM gateway and an API gateway?

A classic API gateway manages generic HTTP traffic: authentication, request quotas and path-based routing. An LLM gateway understands model calls: it counts input and output tokens, translates between provider formats such as OpenAI, Anthropic and Vertex, prices each request and fails over between equivalent models. API management products increasingly ship these features as an AI gateway module on top of their existing gateway.

Should we self-host an open-source LLM gateway or use a managed one?

It depends on who should operate the gateway and produce the compliance evidence. Open-source gateways such as the LiteLLM proxy or Portkey Gateway give you full control, but your team deploys and patches them, contracts every model provider and builds its own audit trail. A managed gateway removes that work and adds one more processor whose contract and sub-processors you must review.

What should a European organisation require from an AI gateway?

At minimum: a residency tier per project that is enforced on every request and fails closed when no allowed route exists; a clear answer to where the platform runs and where each model runs; sub-processors per tier; metadata-only logging by default; a verifiable audit log; a data processing agreement under GDPR Article 28; and euro invoicing with correct VAT, including reverse charge.

Does an EU-hosted gateway mean the model runs in the EU?

No. Where the gateway is hosted only tells you where TLS terminates and where its controls run. The model is processed wherever the provider endpoint behind the chosen route is. That is why residency has to select the route, based on each provider's documented processing commitment, and why the definition of EU matters: some providers' EU boundaries include EFTA countries such as Norway and Switzerland.

Where does Situra fit among LLM gateways?

Situra is a managed AI gateway operated from Azure Spain Central, with a residency tier per project (EU or global today; the Spain tier refuses requests until a route in Spain exists), fail-closed routing and a signed record of the route, tier and region on every served response. Its limits today: no certifications, a young company, a single node without high availability or an SLA, and only Google Vertex AI connected.

Sources

  1. Microsoft Learn: AI gateway capabilities in Azure API Management (updated 2026-05-29), checked 2 October 2026
  2. LiteLLM: proxy server (LLM gateway) documentation, checked 3 October 2026
  3. LiteLLM: licence (MIT, except the enterprise/ directory under its own licence), checked 3 October 2026
  4. Portkey AI Gateway: open-source repository, MIT licence, checked 3 October 2026
  5. OpenRouter: EU In-Region Routing (Business and Enterprise plans), checked 2 October 2026
  6. Google Cloud: Vertex AI data residency (updated 2026-10-01), checked 2 October 2026
  7. Microsoft Learn: Foundry deployment types (EU Data Zone and EFTA), checked 2 October 2026
  8. Mistral AI: Regional inference (EU endpoint: data centres in EU and EFTA countries), checked 2 October 2026
  9. AWS: Amazon Bedrock geographic cross-Region inference, checked 2 October 2026
  10. Regulation (EU) 2016/679 (GDPR), Articles 28 and 30, EUR-Lex
  11. Council Directive 2006/112/EC (VAT Directive), Article 196 reverse charge, EUR-Lex

Primary sources checked up to 3 October 2026. Provider terms and regulations change: check the current version. This guide is general information, not legal advice.

Evaluating Situra for your organisation?

Request the evaluation pack: security, residency and attestation, sub-processors, pricing and a procurement checklist, with the current status of every document. For now, a person on the team emails you the documents.

A person on the team answers every request. The DPA draft is in Spanish today; there is no English or German version yet. When we send it we tell you which versions exist; the final contract’s language and governing law are confirmed in counsel’s review.

Start today, with free test keys

Create a project, choose where its data is processed and change two lines of code.

  • Free test keys (simulated responses)
  • Real models prepaid or invoiced
  • A signed route record on every served response