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

# Inference and Dedicated Training Location

> Restrict inference and dedicated training for your Fireworks Enterprise account to a selected region such as US-only, with regional API endpoints, SDK configuration, and compliance.

Inference and Dedicated Training Location restricts inference and dedicated training on your account to a single region. Once a region is set, every request must use that region's API endpoint and a model served in that region, and every dedicated training job must run in that region.

It does not change how your requests are routed. Turning it on will not move existing traffic into the region. This setting *enforces* all requests to be in the set region, and rejects the ones that are not.

> [!NOTE]
>
> **Enterprise feature.** Inference and Dedicated Training Location is available on Enterprise accounts. Contact your Fireworks representative if you need this enabled.

> [!NOTE]
>
> Only account **Admins** can change the location setting. Other roles can view the current setting but cannot change it.

The restriction applies **account-wide**: every API key on the account is restricted to the selected region.

## What the setting covers

The location setting controls where Fireworks serves. For a model that runs on a third-party provider, Fireworks follows the region you have already configured with that provider.

| Traffic | Covered | Governed by |
| :- | :- | :- |
| Fireworks Serverless | Yes | The selected region |
| Fireworks dedicated deployments | Yes | Placement in the selected region |
| Dedicated training jobs | Yes | The selected region |
| [Nexus](https://docs.fireworks.ai/nexus.md) calls to a Fireworks open model, [`auto`](https://docs.fireworks.ai/nexus/auto) included | Yes | The region's Serverless |
| Anthropic, OpenAI, and Amazon Bedrock on your own [provider account](https://docs.fireworks.ai/nexus/provider-keys.md) | Follows your provider setting | Your own configuration with that provider |

> [!NOTE]
>
> **Storage location is not covered.** The setting governs where inference and dedicated training run, not where data is stored. [Contact Fireworks](https://fireworks.ai/company/contact-us) if you need a storage location guarantee.

### Third-party providers

Fireworks picks no region for a third-party provider. It follows the setting on your own account with them, which differs by provider:

| Provider | How the region is decided |
| :- | :- |
| Anthropic | Fireworks sends no region, so Anthropic applies your workspace default |
| OpenAI | OpenAI has no default, and a key only works on its project's host, so Fireworks detects it: it tries the global host first, resends to `us.api.openai.com` if OpenAI answers that the key belongs there, and remembers the host for that key |
| Amazon Bedrock | The inference profile on each route, your own `global.` profiles included. The route's AWS region must still be inside the selected region, so an account set to US is served from `us-*` endpoints only. A `global.` profile may process the request outside the US. See [Amazon Bedrock](https://docs.fireworks.ai/nexus/provider-keys/bedrock.md#us-location-restriction) |

A Claude subscription login or a ChatGPT sign-in also works with a region set. Its Anthropic or OpenAI turns follow that provider's own policies and settings, and may be processed outside the US.

Providers may charge more to serve from the US. That premium applies only to calls actually served in the provider's US region, because your request sent `inference_geo: "us"`, your provider settings chose the US, your OpenAI key belongs to a US project, or Fireworks has set your account to pin provider calls to the US.

## Available regional restrictions

| Regional restrictions | API endpoint | Serverless | Dedicated deployments |
| :- | :- | :- | :- |
| None | `api.fireworks.ai` | Any model | Any region |
| US | `us.api.fireworks.ai` | [US-only Serverless](https://docs.fireworks.ai/serverless/us-only-serverless.md) | [`US` multi-region](https://docs.fireworks.ai/deployments/regions), or a single US region such as `US_IOWA_1` |

**None** is the default. For a region that is not listed, contact [sales](https://fireworks.ai/company/contact-us).

## Before you switch it on

A change to this setting takes effect as soon as you save it, and anything that does not match the region is rejected.

### Serverless

Point your clients at the region's API endpoint and change every request to use a model from that region. See [US-only Serverless](https://docs.fireworks.ai/serverless/us-only-serverless.md) for the US endpoint and model IDs.

With Nexus CLI 0.12.0 or later, reconnect your harness with `nexus <harness>` after setting the location restriction to US. Nexus CLI selects `us.api.fireworks.ai` for your account's inference requests. `nexus model list` and harness catalog pickers show available US-only routers at US rates. Restart the harness to load the updated settings.

> [!NOTE]
>
> **`inference_geo` is honored, not overridden.** Send `"us"` to serve one request only from US deployments of that model. If the model has none, the request returns `404` with an `inference_geo` error. For an account-wide rule, use Inference and Dedicated Training Location instead.

### Dedicated deployments

Every dedicated deployment must run in the selected region. Create it with `--region` set to that region, or to a single region inside it. See [Regions](https://docs.fireworks.ai/deployments/regions.md).

Check what you already have before you save the setting:

```bash theme={null}
firectl deployment list
```

* **New deployments outside the region are rejected** when you create them. The console's deployment-create page shows a warning when a region is set.
* **An account without allocated capacity in the region cannot create dedicated deployments there** while the restriction is set. Contact [sales](https://fireworks.ai/company/contact-us) to learn more, or clear the restriction to deploy elsewhere.
* **Existing deployments are not checked, moved, or stopped** when you switch the setting on. One outside the region keeps running and keeps costing you money, but requests to it are rejected. Replace it first.
* **You can move a deployment to another region inside your selected region, but not out of it.**

### Dedicated training

Supervised fine-tuning, DPO, reinforcement fine-tuning, and RLOR trainer jobs must set an explicit training region inside the selected region, for example with firectl's `--region US_IOWA_1` flag. See [Regions](https://docs.fireworks.ai/deployments/regions.md).

* **Jobs without a region are rejected**, including jobs created from the console, which does not set one.
* **Jobs with a region outside the selected region are rejected**, both when you create them and when you resume them.
* **Only where the job runs is enforced.** Where its checkpoints and outputs are stored is not.

## Configure in the console

Account admins can set the location restriction in the Fireworks console at **Settings → Governances → Inference and Dedicated Training Location** ([open in console](https://app.fireworks.ai/settings/governances/inference-location)).

Select the region and save. The console asks you to confirm that your clients already use the endpoint and models shown for that region.

## Configure with firectl

Set the region:

```bash theme={null}
firectl policy inference-and-dedicated-training-location set US
```

Inspect the current setting:

```bash theme={null}
firectl policy inference-and-dedicated-training-location get
```

Remove the restriction and return the account to unrestricted serving:

```bash theme={null}
firectl policy inference-and-dedicated-training-location clear
```

> [!NOTE]
>
> **`firectl policy residency` is retired.** Earlier firectl versions named this command `policy residency`. Current versions keep that spelling only to point you at the new command: it exits with an error and does not read or change the setting, so update any scripts that call it.

## Configure with the API

The API names the setting `residency`. Set the region with [Update Policy Settings](https://docs.fireworks.ai/api-reference/update-policy-settings.md), using an API key that belongs to an account Admin and naming `residency` in `updateMask`:

```bash theme={null}
curl -X PATCH \
  "https://api.fireworks.ai/v1/accounts/${ACCOUNT_ID}/policySettings?updateMask=residency" \
  -H "Authorization: Bearer ${FIREWORKS_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"residency": "US"}'
```

To remove the restriction, send the same request with an empty body (`-d '{}'`).

[Get Policy Settings](https://docs.fireworks.ai/api-reference/get-policy-settings.md) returns the current setting. An absent `residency` means serving is unrestricted.

## Pricing

Regional models are priced at a premium over the base serverless price for the same model. See [Serverless pricing](https://docs.fireworks.ai/serverless/pricing.md).

## Limitations

The following are not supported while a region is set: calls are rejected, and stay rejected until you clear the setting.

* **Serverless training.** [Serverless Training](https://docs.fireworks.ai/fine-tuning/training-api/serverless.md) sessions, runs, and their samplers are blocked. Support is coming soon. [Dedicated training](#dedicated-training) is supported.
* **[Nexus](https://docs.fireworks.ai/nexus.md) outside the US.** US is the only region Nexus supports. Any other region rejects `auto`, and the Anthropic, OpenAI, and Amazon Bedrock models that route through it. See [Enterprise Controls](https://docs.fireworks.ai/nexus/enterprise-controls.md#inference-and-dedicated-training-location).
* **The third-party model catalog API.** `ListThirdPartyModels` and `GetThirdPartyModel` are denied while a region is set, so `GET /v1/accounts/*/thirdPartyModels` and `firectl third-party-model list` return `PERMISSION_DENIED`. The [Model Providers](https://docs.fireworks.ai/nexus/provider-keys.md) page does not use that API and keeps working.
* **BYOC.** [BYOC](https://docs.fireworks.ai/ecosystem/integrations/byoc/overview.md) deployments run in your own cloud account, so Fireworks cannot enforce where they run.

## Related

* [US-only Serverless](https://docs.fireworks.ai/serverless/us-only-serverless.md) — endpoint and model IDs for the US region
* [Enterprise features](https://docs.fireworks.ai/accounts/enterprise-features.md) — overview of Enterprise administration capabilities
* [Managing users](https://docs.fireworks.ai/accounts/users.md) — account roles and permissions
* [Data Security](https://docs.fireworks.ai/guides/security_compliance/data_security.md) — encryption, retention, and access controls
