How to actually use Azure API Key

Hello

I’ve been using the OpenAI key for sometime, but I’ve now swapped over to Azure API and put in my credentials. Unfortunately im not able to delete my “OpenAI API Key”, as it keeps coming back. However I am able to disable it.

I’ve also enabled Azure API Key but I have no way of actually using it in the chat. The drop down just says gpt4o/gpt4 and even if I remove/disable Azure, I can still select and use gpt4o which leads me to believe I am actually just using my original OpenAI key.

Any thoughts or suggestions would be lovely!

1 Like

bump

seems like this is not the way to get support… is there another way??

16 days… still waiting for a reply from literally anyone at cursor

Any luck?

  1. Delopy your model on Auzre AI Studio.
  2. Copy the deployment name and the API key to the cursor.
  3. Open Azure Portal and then open the AI resource you just created. Then scroll down, and you should see a Language APIs. Paste that to the Base URL field.

I have used the Azure API Key settings but Azure OpenAI services also provides a version number without which we can’t connect with the model.

Can this extra field also be provided under Cursor Settings > Azure API Key?

I thought I was the only one getting an issue with this but it seems there’s more.

I cannot connect Azure OpenAI API (o1) to cursor. I get invalid credentials as I assume there arent enough boxes to type in full deployment name etc…

Hey, we are aware of an issue the Azure API settings that stops it from working with o1, but are looking into it currently to see if we can get things working.

I havent been able to make it work with gpt4o, what is the solution for this? We are missing a field called “version”, which is provided by Azure OpenAI Services as part of the credentials.

1 Like