Hey, thanks for the detailed report with the screenshot and version info, this is a known bug. When using BYOK (Azure OpenAI, plus the OpenAI Base URL override and Gemini), the model field gets lost on the way to the provider. That’s why you get 400 "model is required", even though the same deployment works fine via curl.
We’re already tracking this issue, but I can’t share an ETA for a fix yet. Unfortunately there’s no working BYOK-side workaround right now, this needs a fix on our side.
I’ve linked your case to the existing report. I’ll post an update here as soon as we have one.
Thank you Dean it was working until yesterday I am using Cursor pro but it credits eixpred 10 days ago since then until today I am using the azure open ai BYOK
Hi Dean,
Thank you for confirming.
That makes sense. Just to clarify, I am still on Cursor Pro, but my Cursor credits expired around 10 days ago. Since then I was using Azure OpenAI BYOK successfully until yesterday/today morning, so I initially thought the issue might be related to expired Cursor credits or some limitation on BYOK usage.
But from your explanation, I understand there are two separate things:
My Cursor credits are exhausted, which may affect Cursor’s own models/Auto usage.
The current failure with Azure OpenAI BYOK is a known Cursor-side bug where the model field is lost before the request reaches the provider.
The Azure deployment itself works fine through curl, so I agree this looks like a Cursor BYOK routing issue rather than an Azure configuration issue.
Please keep my case linked to the existing report. It would be really helpful if you can update me when there is a fix, because I depend on Azure OpenAI BYOK for development while my Cursor credits are exhausted.
Yes, you got it right. These are two independent things.
BYOK uses your own Azure key, and requests go directly to your provider. So running out of Cursor credits doesn’t affect BYOK at all. Credits only apply to Models/Auto that run on Cursor infrastructure. So this isn’t a credits issue.
The current model is required error is the known bug I mentioned above. With BYOK, the model field gets dropped on the way to the provider. Since curl works with the same deployment, your Azure config is fine and this is on our side. Unfortunately, there’s no working BYOK workaround right now.
This case is still linked to the existing report. I’ll post an update here as soon as there’s news on the fix.