Skip to main content
Gradium runs inference in both the European Union and the United States. By default you call a single endpoint, api.gradium.ai, and requests are routed to the nearest cluster. For most customers this already means that, in practice, sessions are processed close to home. Data residency is for when “in practice” is not enough. Once enabled for your organization, processing in a chosen region becomes a guarantee that is enforced on every request: your sessions are never re-routed out of that region, and every response tells you so.

Endpoints

The three endpoints are the same API: same API key, same routes, same request and response formats. Only the host changes.

What is guaranteed

For an organization enrolled in data residency for a region:
  • Inference stays in the region. Text-to-Speech, Speech-to-Text and Speech-to-Speech sessions, over WebSocket or the POST REST endpoints, run on our clusters in that region.
  • No cross-region fallback. Under load a session may be served by another cluster in the same region, but never by a cluster outside it.
  • Fail closed. If a pinned request ever reaches a cluster in another region, it is refused rather than processed out of region (see Rejections).
  • Session data is written in region. Whatever session data we retain (see Zero data retention to retain none) is written by the cluster that served the session.
Residency is chosen per region, the EU or the US, not per country. Within a region a session can run on any of our clusters there; processing is not pinned to a particular country.

EU data residency

eu.api.gradium.ai is served by our EU clusters. For an organization enrolled in EU residency, a session that starts on one of them stays within Europe: it is never handed to a US cluster, and a pinned request that reaches one is refused. EU residency is the more complete of the two, because our control plane, which manages account data, is hosted in the EU for all customers, enrolled or not. So for an EU-pinned organization, both the audio processed in a session and the account metadata behind it stay in the European Union.

US data residency

us.api.gradium.ai is served by our US clusters, on the East and West coasts. For an organization enrolled in US residency, sessions are guaranteed to run on those clusters and are never re-routed to the EU.
US residency covers inference: the audio and text of your sessions. Our control plane is hosted in the EU for all customers, so account data, custom voices and pronunciation dictionaries are still stored — and management calls still served — in the EU. If you need the control plane in the US as well, talk to us about a self-hosted deployment.

How to opt in

Data residency is available on the S plan and above, and an organization admin sets it in Studio. On Free and XS the settings are greyed out. Hover them to see why, and use Upgrade plan at the top of the Data controls section.
To check your organization’s current setup, open Gradium Studio and go to Organization > Data controls > Data residency. The card shows whether residency is Enabled or Disabled and, when it is enabled, the Region (European Union or United States) and the Enforcement mode. Every member of the organization can see it. Studio names the enforcement modes for what they guarantee. The API and our support team use the technical names:

1. Set it in Studio

As an organization admin on the S plan or above, open Organization > Data controls > Data residency, then:
  1. Turn on the Data residency switch. It starts on the European Union, with Strict.
  2. If you need to, change the Region (European Union or United States) or the Enforcement mode (Flexible, Per endpoint or Strict).
  3. Click Save, at the top of the Data controls section. It saves every data control you changed, so you can change Zero data retention in the same step.
The Data controls section, with the Data residency switch, Region and Enforcement mode, and Save numbered 1 to 3The Data controls section, with the Data residency switch, Region and Enforcement mode, and Save numbered 1 to 3
New sessions follow the setting once it is saved. Studio asks you to confirm any change that loosens a guarantee: another region, a weaker mode, or turning residency off. The setting carries over to another plan that includes it; moving to XS or Free turns it off. Members see the settings but cannot change them. Under health data hosting (HDS), residency is locked to Strict in the EU: see Health data hosting. Using the API without Studio? Contact support@gradium.ai with your organization name and region (eu or us). Per endpoint (explicit) pins sessions only when you call your region endpoint: choose it if only part of your traffic needs the guarantee. Strict (implicit) pins your whole organization, whatever endpoint you call. An organization has one residency region at most: to split traffic across regions, use Per endpoint and pick the endpoint per integration.

2. Point your integration at the region endpoint

With implicit mode this step is optional, since every endpoint pins your sessions to your region, but we still recommend it.

3. Verify

Every response reports the residency the request actually got, so you can check it instead of trusting a hostname:
  • REST: the x-gradium-residency response header.
  • WebSocket: the residency field of the ready message.
TTS ready
If you rely on the guarantee, assert pinned in your client and treat anything else as a configuration error. best-effort on a region endpoint means residency has not been enabled for your organization yet.

Rejections

A pinned request that reaches a cluster outside its region is refused instead of being processed out of region:
  • REST: 403 Forbidden
  • WebSocket: close code 1008 (policy violation)
Both carry the reason This request must be sent to the <region> region endpoint. In practice this happens when an organization in implicit mode calls an endpoint that is not pinned to its region; the fix is to use eu.api.gradium.ai or us.api.gradium.ai. For SOC 2 Type II attestation, ISO 27001 certification and security resources, see Security and compliance and our Trust Center. For a Data Processing Agreement, contact support@gradium.ai.