@Shubham Bajaj @Kings_big💫 Hi guys, I
# general-english
m
@Shubham Bajaj @Kings_big💫 Hi guys, I read in the changelog that we can now use new GPT 4.1 models in Azure OpenAI such as gpt-4.1-2025-04-14, gpt-4.1-mini-2025-04-14, and gpt-4.1-nano-2025-04-14. I tried updating one of my assistants with the API but cannot find the option for Azure OpenAI, just "openai". Am I missing something here or should I pick the model "gpt-4.1-mini" (see screenshot) and simply save my Azure OpenAI credentials in the console under External Provider Keys? Would it then work or is there some other setting I am missing? I've done this setting for my Azure OpenAI deployment of gpt-4o in the console before so I am not sure if this is the correct way to do it. https://cdn.discordapp.com/attachments/1211484481848873020/1376507749692870797/Screenshot_2025-05-26_at_12.20.20.png?ex=6835943d&is=683442bd&hm=d42964b13b9f53032dfa4e374b14cb46215965cd28dd20c64a3e7b54e1f5f39a&
k
Your setup is correct, just keep “openai” as the provider, set the model to gpt-4.1-mini, and make sure your Azure API key and endpoint are saved under Provider Keys.
m
Thanks alot for the quick reply!
@Kings_big💫 @User Sorry, one more question. The first time I saved my Azure OpenAI credentials under "External Provider Keys" it took me a while to realize that the name of my deployment in Azure OpenAI had to match the model name in VAPI (see Screenshot), e.g. "gpt-4o-2024-08-06". If it did not match that exact model name, then I could not save the credentials. If I pick gpt-4.1-mini now, then in the console there is no matching model that I can choose from. What exactly do I have to do in that case? https://cdn.discordapp.com/attachments/1376507749755654226/1376586732052676650/Screenshot_2025-05-26_at_17.39.26.png?ex=6835ddcc&is=68348c4c&hm=fbe01edb80586a857cdcad85677f929ca817cc8392589745b8433e0db1c336c7&
k
Deploy the model in Azure with the exact name gpt-4.1-mini, then enter that matching deployment name as the model when saving your Azure credentials in Vapi
m
@Kings_big💫 The model field is a dropdown. I can only pick one of the options that you can see in my screenshot. There is no way for me to pick gpt-4.1-mini in Vapi unless I am super blind.
k
You will have to switch to gpt-4o
m
Any idea when gpt-4.1-mini will be available through Azure OpenAI? I also can't pick 4o-mini using the Azure OpenAI deployment, which is way cheaper than gpt-4o.
k
Currently I don't know, but you give your future feedback at https://roadmap.vapi.ai
m
Ok but what I do not understand is why you wrote in the changelog that these models are available through the API? It specifically mentioned that it is available through Azure OpenAI.
d
So useful message
2 Views