alampole
04/14/2025, 2:35 AMVapi Support Bot
04/14/2025, 2:37 AMchat/completions?api-version=
without including the version number (up to the equal sign)
- Use the shorter resource endpoint, not the longer deployment endpoint
- [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338649953102463038)
- **OCP-APIM-Subscription-Key Header**: This is an older authentication method but can still be used
- Note that Microsoft recommends using the api-key
header instead, but Vapi's settings may still refer to this
- [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339956981297057892)
### 3. Model Selection
- Select the desired model from the dropdown menu
- Ensure the name of the deployment matches exactly with the model name provided in the Vapi menu (e.g., "gpt-4o-2024-08-06")
- Use OpenAI provider standard model names like gpt-4o
instead of gpt-4o-xyz
- [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338649953102463038)
### 4. Region Selection
- Select the region where your Azure OpenAI resource is deployed
- Valid regions include canadacentral
, japaneast
, japanwest
, and uaenorth
Vapi Support Bot
04/14/2025, 2:37 AMcanada
is now canadaeast
, and japan
has been replaced with japaneast
and japanwest
- [Source](https://docs.vapi.ai/changelog/2025/1/21)
## Troubleshooting Common Issues
If you encounter authentication issues:
- Ensure you're providing a valid key for an active subscription
- Check that the deployment name matches exactly with the model name in Vapi
- Verify that the endpoint URL is in the correct format
- [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339956981297057892)
## Alternative: Using Custom LLM
If you face issues with direct Azure OpenAI integration, you can try using the "Custom LLM" option:
1. Enter your API Key
2. Configure OAuth2 Credentials (if needed):
- OAuth2 URL
- OAuth2 Client ID
- OAuth2 Client Secret
3. This approach involves configuring API endpoints and authentication details
- [Source](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335165182330273792)
Is there anything specific about the integration process you'd like me to explain in more detail?
Sources:
- [Discord conversation about Azure OpenAI integration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338649953102463038)
- [Discord conversation about authentication issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1339956981297057892)
- [Vapi changelog about region updates](https://docs.vapi.ai/changelog/2025/1/21)
- [Discord conversation about Custom LLM option](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335165182330273792)Shubham Bajaj
04/14/2025, 1:14 PMalampole
04/14/2025, 5:20 PMMax Forbang
04/27/2025, 1:02 AMThe endpoint should go up to chat/completions?api-version= without including the version number (up to the equal sign)
It's just https://[oai-resource-name].openai.azure.com/
alampole
04/27/2025, 7:36 PMShubham Bajaj
04/27/2025, 9:56 PMShubham Bajaj
04/27/2025, 9:58 PM