Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions fern/providers/model/azure-openai.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,40 @@ Vapi currently accepts the following Azure OpenAI deployment names. Your Azure d

Check [Azure OpenAI model availability](https://learn.microsoft.com/en-us/azure/foundry/foundry-models/concepts/models-sold-directly-by-azure) and the [model retirement schedule](https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule) before creating a deployment. Availability depends on the Azure region and deployment type.

### Regional model routing

To route an assistant's model requests to a specific Azure region, set `model.provider` to `openai` and set `model.model` to one of the region-qualified model IDs below. The value after the colon is the Azure region. These are assistant model IDs, not Azure deployment names.

When the request uses an Azure OpenAI credential configured for the selected region, Vapi routes through that credential. Otherwise, Vapi uses its managed Azure deployment in that region. Vapi does not send a region-pinned request through an out-of-region fallback.

```bash
curl -X PATCH "https://api.vapi.ai/assistant/ASSISTANT_ID" \
-H "Authorization: Bearer $VAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": {
"provider": "openai",
"model": "gpt-5.4:eastus2"
}
}'
```

Vapi currently supports these region-qualified model IDs:

| Model | Region-qualified model IDs |
| --- | --- |
| GPT 5.6 Sol | `gpt-5.6-sol:westus3` |
| GPT 5.6 Terra | `gpt-5.6-terra:westus3` |
| GPT 5.6 Luna | `gpt-5.6-luna:westus3` |
| GPT 5.4 | `gpt-5.4:eastus2`<br />`gpt-5.4:swedencentral` |
| GPT 5.4 Mini | `gpt-5.4-mini:australiaeast`<br />`gpt-5.4-mini:eastus2`<br />`gpt-5.4-mini:swedencentral` |
| GPT 5.4 Nano | `gpt-5.4-nano:eastus2`<br />`gpt-5.4-nano:swedencentral` |
| GPT 5.2 | `gpt-5.2:eastus2`<br />`gpt-5.2:swedencentral` |
| GPT 5.1 | `gpt-5.1:eastus2`<br />`gpt-5.1:swedencentral` |
| GPT 5 | `gpt-5:canadaeast`<br />`gpt-5:eastus`<br />`gpt-5:eastus2`<br />`gpt-5:germanywestcentral`<br />`gpt-5:polandcentral`<br />`gpt-5:spaincentral`<br />`gpt-5:swedencentral`<br />`gpt-5:westeurope` |
| GPT 5 Mini | `gpt-5-mini:eastus2`<br />`gpt-5-mini:germanywestcentral`<br />`gpt-5-mini:polandcentral`<br />`gpt-5-mini:spaincentral`<br />`gpt-5-mini:swedencentral`<br />`gpt-5-mini:westeurope` |
| GPT 5 Nano | `gpt-5-nano:eastus2`<br />`gpt-5-nano:swedencentral` |

### Supported Regions

Vapi supports these Azure regions for OpenAI deployments:
Expand Down
Loading