> ## Documentation Index
> Fetch the complete documentation index at: https://assemblyai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloud Endpoints and Data Residency

Choose the endpoint that best fits your application's requirements—whether that's using the default US region or our EU endpoint.

## Default Endpoint

The default endpoint (`llm-gateway.assemblyai.com`) processes your LLM Gateway requests in the US region. If you don't specify a base URL, this is the endpoint used by default.

## EU Data Residency

The EU endpoint (`llm-gateway.eu.assemblyai.com`) processes your audio, transcript, and prompt data in the European Union.\* This is designed for organizations with strict data residency and governance requirements. Note: File names may be processed by our subprocessors CrowdStrike and Datadog, which are located in the US. Do not include PII or PHI in file names if you require that information to remain in the EU.

\*AssemblyAI will store Account Data and Usage Data in the United States, per our [Privacy Policy](https://www.assemblyai.com/legal/privacy-policy) and the Data Privacy Framework. Audio, transcript, and prompt data will be stored in the endpoint region you select. Incident response and customer support may be conducted from locations where staff are employed, which may be in the US, EU, or elsewhere. If your audio, transcript, or prompt needs to be accessed for debugging, a member of our team located outside of your endpoint region may access that data and may use a US-based subprocessor to support the troubleshooting or customer support request.

## Endpoints

| Endpoint | Base URL | Description |
| - | - | - |
| US (default) | `https://llm-gateway.assemblyai.com/v1` | Audio, transcript, and prompt data processed in the US |
| EU | `https://llm-gateway.eu.assemblyai.com/v1` | Audio, transcript, and prompt data processed in the EU |

Every LLM Gateway endpoint, such as `/chat/completions` or `/understanding`, is available in both regions. The one exception is [decisions](https://assemblyai.com/docs/llm-gateway/decisions.md), which is available in the US region only.

> [!WARNING]
>
> Effective July 1, 2026, in-region LLM Gateway requests will increase by 10% as a direct pass-through of provider price increases, with no AssemblyAI upcharge. Opt into [global routing](#global-routing) to keep current pricing.

## Model availability by region

The EU endpoint currently supports Anthropic Claude and Google Gemini models. All other models are available through the US endpoint or [global routing](#global-routing) only.

| Provider | US | EU | Global |
| - | - | - | - |
| Anthropic Claude | Yes | Yes | Yes |
| Google Gemini | Yes | Yes | Yes |
| OpenAI GPT | Yes | No | No |
| Together AI (opt-in) | No | No | Yes |
| Fireworks AI (opt-in) | Yes | No | No |
| DigitalOcean (opt-in) | No | No | Yes |
| Typesafe AI (Jev, opt-in) | Yes | No | No |

Providers marked **opt-in** are disabled by default. To use them, manually turn on their toggles on the [Data Controls](https://www.assemblyai.com/dashboard/settings/data-controls) page in your dashboard.

For a full list of available models, see the [LLM Gateway Models](https://assemblyai.com/docs/llm-gateway/available-models). For each provider's data retention posture and terms, see [Providers](https://assemblyai.com/docs/llm-gateway/providers.md).

## Which endpoint should I use?

* **No data residency requirements?** Use the **default endpoint**. No configuration change is needed.
* **Need EU data residency?** Use the **EU endpoint**. Note that only Claude and Gemini models are available in the EU region.
* **No data residency, compliance, or latency needs, and want cheaper calls?** Opt into [**global routing**](#global-routing) on top of the default endpoint to route requests to the provider's global endpoints at lower cost.

## How to use it

Update your request URL to your preferred endpoint. Select an endpoint tab below to see examples for each. The examples use [chat completions](https://assemblyai.com/docs/llm-gateway/chat-completions.md); other endpoints change their base URL the same way.

> [tab] US (default)
>
> The US endpoint is the default. No configuration change is required.
>
> ```python title="Python"  expandable theme={null}
> import requests
>
> headers = {
>   "authorization": "<YOUR_API_KEY>"
> }
>
> # No URL change needed — US is the default
> response = requests.post(
>     "https://llm-gateway.assemblyai.com/v1/chat/completions",
>     headers=headers,
>     json={
>         "model": "claude-sonnet-4-6",
>         "messages": [
>             {"role": "user", "content": "What is the capital of France?"}
>         ],
>         "max_tokens": 1000
>     }
> )
>
> result = response.json()
> print(result["choices"][0]["message"]["content"])
> ```
>
> ```javascript title="JavaScript"  theme={null}
> // No URL change needed — US is the default
> const response = await fetch(
>   "https://llm-gateway.assemblyai.com/v1/chat/completions",
>   {
>     method: "POST",
>     headers: {
>       authorization: "<YOUR_API_KEY>",
>       "content-type": "application/json",
>     },
>     body: JSON.stringify({
>       model: "claude-sonnet-4-6",
>       messages: [{ role: "user", content: "What is the capital of France?" }],
>       max_tokens: 1000,
>     }),
>   }
> );
>
> const result = await response.json();
> console.log(result.choices[0].message.content);
> ```
>
> ```bash title="cURL"  theme={null}
> curl -X POST \
>   "https://llm-gateway.assemblyai.com/v1/chat/completions" \
>   -H "Authorization: <YOUR_API_KEY>" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "claude-sonnet-4-6",
>     "messages": [
>       {
>         "role": "user",
>         "content": "What is the capital of France?"
>       }
>     ],
>     "max_tokens": 1000
>   }'
> ```

> [tab] EU data residency
>
> ```python title="Python" highlight={9}  theme={null}
> import requests
>
> headers = {
>   "authorization": "<YOUR_API_KEY>"
> }
>
> response = requests.post(
>     "https://llm-gateway.eu.assemblyai.com/v1/chat/completions",
>     headers=headers,
>     json={
>         "model": "claude-sonnet-4-6",
>         "messages": [
>             {"role": "user", "content": "What is the capital of France?"}
>         ],
>         "max_tokens": 1000
>     }
> )
>
> result = response.json()
> print(result["choices"][0]["message"]["content"])
> ```
>
> ```javascript title="JavaScript" highlight={3}  theme={null}
> const response = await fetch(
>   "https://llm-gateway.eu.assemblyai.com/v1/chat/completions",
>   {
>     method: "POST",
>     headers: {
>       authorization: "<YOUR_API_KEY>",
>       "content-type": "application/json",
>     },
>     body: JSON.stringify({
>       model: "claude-sonnet-4-6",
>       messages: [{ role: "user", content: "What is the capital of France?" }],
>       max_tokens: 1000,
>     }),
>   }
> );
>
> const result = await response.json();
> console.log(result.choices[0].message.content);
> ```
>
> ```bash title="cURL" highlight={2}  theme={null}
> curl -X POST \
>   "https://llm-gateway.eu.assemblyai.com/v1/chat/completions" \
>   -H "Authorization: <YOUR_API_KEY>" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "claude-sonnet-4-6",
>     "messages": [
>       {
>         "role": "user",
>         "content": "What is the capital of France?"
>       }
>     ],
>     "max_tokens": 1000
>   }'
> ```

## Global routing

Global routing is an opt-in option that routes your request to the provider's global (non-region) endpoints for lower-cost processing. Set `model_region` to `"global"` in your request body to enable it. Global routing is available on [chat completions](https://assemblyai.com/docs/llm-gateway/chat-completions.md) and [decisions](https://assemblyai.com/docs/llm-gateway/decisions.md) requests. Omit the parameter for default in-region processing.

`"global"` is the only valid value for `model_region`.

### Who should use global routing?

Global routing is designed for customers who:

* Do **not** have data residency or compliance requirements that tie processing to a specific region.
* Do **not** have strict latency requirements that depend on regional proximity.
* Want lower-cost calls by using the provider's global endpoints.

Global routing is always opt-in. If you don't set `model_region`, requests continue to be processed in-region (US or EU), so data residency and compliance remain the default behavior. If you have data residency, compliance, or latency needs, keep using the default in-region processing on the [US or EU endpoint](#endpoints).

### Availability

Global routing is live for Anthropic Claude models. Support for Google Gemini 3 series models is coming soon.

### Usage tracking

Global-routed usage appears as a new **Global** region in the spend and usage dashboard, separate from US and EU usage.

### How to use it

Include `model_region: "global"` in your request body alongside `model` and `messages`.

```python title="Python" highlight={15} theme={null}
import requests

headers = {
  "authorization": "<YOUR_API_KEY>"
}

response = requests.post(
    "https://llm-gateway.assemblyai.com/v1/chat/completions",
    headers=headers,
    json={
        "model": "claude-sonnet-4-6",
        "messages": [
            {"role": "user", "content": "What is the capital of France?"}
        ],
        "model_region": "global",
        "max_tokens": 1000
    }
)

result = response.json()
print(result["choices"][0]["message"]["content"])
```

```javascript title="JavaScript" highlight={12} theme={null}
const response = await fetch(
  "https://llm-gateway.assemblyai.com/v1/chat/completions",
  {
    method: "POST",
    headers: {
      authorization: "<YOUR_API_KEY>",
      "content-type": "application/json",
    },
    body: JSON.stringify({
      model: "claude-sonnet-4-6",
      messages: [{ role: "user", content: "What is the capital of France?" }],
      model_region: "global",
      max_tokens: 1000,
    }),
  }
);

const result = await response.json();
console.log(result.choices[0].message.content);
```

```bash title="cURL" highlight={13} theme={null}
curl -X POST \
  "https://llm-gateway.assemblyai.com/v1/chat/completions" \
  -H "Authorization: <YOUR_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-6",
    "messages": [
      {
        "role": "user",
        "content": "What is the capital of France?"
      }
    ],
    "model_region": "global",
    "max_tokens": 1000
  }'
```
