Integrate Azure OpenAI with Cursor

Can my free version of Cursor connect to Azure OpenAI? I can’t seem to connect directly—what should I put in the URL field?How can I make it use Azure OpenAI? I’ve configured it, but it still seems to be using the free quota.

Hey, I see two things in your screenshot:

  1. BYOK requires Pro. Using your own API keys, including Azure OpenAI, doesn’t work on the Free plan. Even if everything is set up correctly, Cursor won’t send requests through your Azure key on Free. More details: Ask mode with my own API Key required Pro Subscription

  2. “Too many free trials”. The error at the bottom means multiple free accounts have been used on this machine, so the free quota is blocked too.

Both are fixed by upgrading to Pro for $20/month. After that, your Azure OpenAI setup should work. Just set Base URL to https://<your-resource>.openai.azure.com and pick your Azure model in the model picker instead of Auto.

Let me know if you have any questions.