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

# Geo-specific inference

> Keep serverless inference processing in the United States or Canada through geography-specific API endpoints.

Geo-specific inference keeps inference processing for supported [serverless models](https://docs.together.ai/docs/serverless/models.md) inside one geography, with no GPUs to provision. You send requests to that geography's API endpoint instead of `api.together.ai`, using the same API key and model IDs.

## Choose a geography and model

| Geography | Base URL | Token pricing |
| :- | :- | :- |
| United States | `https://us-api.together.ai/v1` | 1.25× standard serverless rates. |
| Canada | `https://ca-api.together.ai/v1` | 1.25× standard serverless rates. |

Model availability differs by geography:

| API model ID | United States | Canada |
| :- | :- | :- |
| `moonshotai/Kimi-K3` | Yes | No |
| `zai-org/GLM-5.3` | Yes | Yes |
| `zai-org/GLM-5.3-Flash` | No | Yes |
| `zai-org/GLM-5.2` | Yes | Yes |
| `deepseek-ai/DeepSeek-V4.1-Flash` | Yes | Yes |
| `deepseek-ai/DeepSeek-V4.1-Flash-1017` | Yes | No |
| `deepseek-ai/DeepSeek-V4-Pro-0813` | Yes | Yes |
| `MiniMaxAI/MiniMax-M3` | Yes | No |

## Send a request

Set your client's base URL to `https://us-api.together.ai/v1` for US processing or `https://ca-api.together.ai/v1` for Canadian processing. The examples use the US endpoint and GLM-5.3, which is available in both geographies. To run them in Canada, replace `us-api` with `ca-api`.

```python Python theme={null}
from together import Together

client = Together(base_url="https://us-api.together.ai/v1")

response = client.chat.completions.create(
    model="zai-org/GLM-5.3",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)
```

```typescript TypeScript theme={null}
import Together from "together-ai";

const client = new Together({ baseURL: "https://us-api.together.ai/v1" });

const response = await client.chat.completions.create({
  model: "zai-org/GLM-5.3",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(response.choices[0].message.content);
```

```bash cURL theme={null}
curl https://us-api.together.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOGETHER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "zai-org/GLM-5.3",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
```

Requests to `us-api.together.ai` keep inference processing in the United States; requests to `ca-api.together.ai` keep it in Canada. Requests to `api.together.ai` do not guarantee either geography.

## Pricing

Both US-only and Canada-only inference cost 1.25× the standard serverless rate (a 25% premium) for input, cached input, and output tokens. See [US-only prices](https://docs.together.ai/docs/serverless/models.md#us-only-inference) and [Canada-only prices](https://docs.together.ai/docs/serverless/models.md#canada-only-inference) for per-model rates.

## Limitations

* **Inference processing only:** The guarantee covers where your request is processed. It doesn't cover where data is stored, where logs are written, or how network traffic is routed.
* **No fallback outside the selected geography:** If a model isn't available in the selected geography, the request fails with a `404` error of type `region_unavailable` instead of running somewhere else. If your workload requires processing in a specific geography, send retries to that same endpoint, and don't fall back to `api.together.ai`.

For private networking or other data-residency requirements, see [privacy and security](https://docs.together.ai/docs/privacy-and-security.md#enterprise-data-residency-and-private-networking).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.