Trouble Connecting Azure gpt-4.1 / gpt-4o-mini to VAPI
Hey team!
I’m trying to connect my Azure OpenAI deployment to VAPI and I’m running into some issues with the integration.
What I’ve tried:
I’m using the correct API key, region, and endpoint. The
Are these models (especially gpt-4o-mini or gpt-4.1) supported yet in VAPI AI? Or could the issue be related to the newer
Would appreciate any guidance — thanks a lot in advance!
- **Model:** gpt-4o-mini
- Deployment name:
gpt-4o-mini - Region:
eastus2 - API version:
2025-01-01-preview - Status: Fails connection test in VAPI, but works perfectly via Python.
- Deployment name:
- **Model:** gpt-4.1
- Deployment name:
gpt-4.1 - Region:
eastus2 - API version:
2025-01-01-preview - Endpoint:
https://samue-mbut5u57-eastus2.cognitiveservices.azure.com/openai/deployments/gpt-4.1/chat/completions?api-version=2025-01-01-preview - Status: Also fails the VAPI test, but works fine using the Python SDK.
- Deployment name:
OCP-APIM-Subscription-Key is left blank (as recommended for Azure OpenAI). Everything works fine outside of VAPI.2025-01-01-preview API version?Would appreciate any guidance — thanks a lot in advance!
