Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Hi,
I’m trying to integrate GPT-5 via the Azure AI Foundry API. I already have GPT-5 enabled on my Azure account, but for some reason the setup fails when I try to use it with Cursor.
I’ve already verified that the base URL, deployment name, and access token match exactly what is provided on Azure.
I suspect that Cursor has not yet updated support for the reasoning endpoint (/openai/responses?api-version=2025-04-01-preview) for Azure AI models, which may be why we are seeing an internal server error. However, I request the Cursor tech team to investigate this issue, since I believe it is not coming from Azure’s end. I tested the credentials manually, and they work fine. The failure only occurs within Cursor.
Additionally, I’ve noticed there is no option in Cursor to:
Set reasoning to Low, Medium, or High
Adjust verbosity levels
Create multiple GPT-5 deployments with different reasoning settings
Configure input/output token limits
View reasoning traces
Could you please let me know how I can achieve these configurations, and also help me resolve the error?
Thank you
Error on Cursor:
Request ID: 7d82af56-e5fb-4ca9-9f9f-34f1112a08f3
{“error”:“ERROR_UNSPECIFIED”,“details”:{“title”:“Internal server error.”,“detail”:“If the problem persists, please check your internet connection or VPN, or email us at [email protected].”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:false}
Steps to Reproduce
In Cursor Settings > Models, configure the Azure API by adding the Base URL, Deployment Name, and Access Key.
Add GPT-5 as the custom model name, disable all other models, and test using only the Azure model.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.4.5 (user setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.27924
Does this stop you from using Cursor
Yes - Cursor is unusable