Video Tutorial:
What is Azure OpenAI?
Azure OpenAI Service provides REST API access to OpenAI’s powerful language models, including GPT-4.1, GPT-4o, GPT-4 Turbo, GPT-3.5 Turbo, and the Embeddings model series. These models can be easily adapted to your specific task with fine-tuning, offering enterprise-grade security, responsible AI practices, and regional availability.
Custom Azure OpenAI Integration with Vapi:
With Vapi’s Azure OpenAI integration, you can connect your own Azure OpenAI instances to leverage your custom rate limits, regional deployments, and specific configurations. This enables you to use your Azure OpenAI resources directly while maintaining full control over billing, usage limits, and data residency.
Before configuring Azure OpenAI with Vapi, ensure you have:
You can configure your Azure OpenAI credentials in the “Model Providers” section of the “Provider Credentials” page in the Vapi dashboard.
Critical Requirement: Your Azure deployment name must exactly match one of Vapi’s supported model names. Custom deployment names are not supported.
For example, if you want to use GPT-4o, your Azure deployment must be named exactly gpt-4o-2024-11-20 (or another supported variant), not a custom name like my-custom-gpt4.
Vapi supports these Azure OpenAI models (ensure your deployment names match exactly):
Latest GPT-4.1 Models:
gpt-4.1-2025-04-14gpt-4.1-mini-2025-04-14gpt-4.1-nano-2025-04-14GPT-4o Models:
gpt-4o-2024-11-20gpt-4o-2024-08-06gpt-4o-2024-05-13gpt-4o-mini-2024-07-18GPT-4 Models:
gpt-4-turbo-2024-04-09gpt-4-0125-previewgpt-4-1106-previewgpt-4-0613GPT-3.5 Models:
gpt-35-turbo-0125gpt-35-turbo-1106Vapi supports these Azure regions for OpenAI deployments:
australia (Australia East)canadaeast (Canada East)canadacentral (Canada Central)eastus (East US)eastus2 (East US 2)france (France Central)india (Central India)japaneast (Japan East)japanwest (Japan West)northcentralus (North Central US)norway (Norway East)southcentralus (South Central US)swedencentral (Sweden Central)switzerland (Switzerland North)uaenorth (UAE North)uk (UK South)westus (West US)westus3 (West US 3)Choose the region closest to your users for optimal performance, or use a specific region for data residency compliance.
Use only the base endpoint URL from your Azure OpenAI resource, not the full completions URL.
Correct format:
Incorrect format:
The OCP-APIM-Subscription-Key field is optional and can be left blank in most configurations. Only include this if your Azure OpenAI resource is behind Azure API Management and specifically requires this header.
From your Azure OpenAI resource in the Azure portal, collect:
Ensure your model deployments use names that exactly match Vapi’s supported model list. If needed, create new deployments with the correct names.
Enterprise Security:
Custom Rate Limits:
Advanced Features: