Hey, this isn’t a misconfiguration. Using your own API keys (BYOK), including Azure OpenAI, now requires a Pro subscription. On the Free plan, your own keys won’t work even if they’re set up correctly.
Hmm, from what we can see on our side, your account shows as Free.
If you’re actually on Enterprise, then BYOK with Azure OpenAI should work. A couple things to check:
Make sure you’re logged in with your Enterprise account, the email that’s tied to the Enterprise team.
Check with your Enterprise admin whether BYOK is disabled at the team level. In Enterprise there’s a setting called Restrict personal API keys, and it can block BYOK.
Let me know what you see in settings and we’ll figure it out.
Since today it April 1, I received my new monthly Cursor pocket money and wanted to retest BYOK with Azure OpenAI: no complain about the key, but also, no output. Any idea? I feel Cursor should give some kind of message (invalid key, BYOK disabled, invalid, model deployment name, etc.) so maybe worth raising an issue internally on your side. I’m leaving my enterprise email in the screenshot if you want to see the log + model deployment name to show it matches the selected model in Cursor chat:
Thanks, I see the screenshots and the dashboard. I can confirm both bugs.
“Errored, No Charge” on gpt-54-nano-podcast: This is a known issue with Azure OpenAI BYOK. Cursor isn’t passing the model parameter correctly to the Azure API. A few users in similar threads are hitting the same thing: Not able to use azure api key and Azure Open AI any model. The team is aware, but there’s no ETA yet.
Routing non-Azure models through an Azure endpoint (error on claude-4.6-opus-max): Good catch. Cursor shouldn’t try to use Azure BYOK for models that aren’t configured there.
Unclear error messages: I agree. Cursor should give clearer feedback like invalid key, BYOK disabled, deployment mismatch, etc.
if anyone figured out this problem I’d be glad to know.
I add the url from foundry, with the V1/responses or should I not? deployment name is a problem, in azure you actually need to deploy any model you gonna use, so if you have 4 different models, how do you add them to your azure openai, oh wait cursor never fixed that, or did they, it’s been there forever but never working, really strange.