Describe the Bug
An issue seems to have started happening recently (a couple of releases ago). Now, when using a custom OpenAI key and the GPT-5 High Fast model, I’m getting an error about “prompt_cache_retention is not supported on this model”. See below the full error:
Request ID: 044f0db9-44e4-40fc-a0a9-ec68448e75af
{"error":"ERROR_OPENAI","details":{"title":"Unable to reach the model provider","detail":"We encountered an issue when using your API key: prompt_cache_retention is not supported on this model\n\nAPI Error:\n\n```\n{\"type\":\"error\",\"sequence_number\":1,\"error\":{\"type\":\"invalid_request_error\",\"code\":\"invalid_parameter\",\"message\":\"prompt_cache_retention is not supported on this model\",\"param\":\"prompt_cache_retention\"}}\n```","additionalInfo":{},"buttons":[],"planChoices":[]},"isExpected":true}
ConnectError: [invalid_argument] Error
at iJc.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4989:399337)
at Ewo._doInvokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:36007)
at Ewo._invokeHandler (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:35749)
at Ewo._receiveRequest (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:34514)
at Ewo._receiveOneMessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:33336)
at $Dt.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:492:31429)
at _e._deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:2962)
at _e.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:49:3283)
at ugt.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4974:12156)
at MessagePort.<anonymous> (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:7497:18439)
Steps to Reproduce
Add a custom OpenAI API key, try using the GPT-5 High Fast in a custom mode.
Expected Behavior
Requests work.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.0.64 (Universal)
VSCode Version: 1.99.3
Commit: 25412918da7e74b2686b25d62da1f01cfcd27680
For AI issues: which model did you use?
Model name: GPT-5 High Fast
For AI issues: add Request ID with privacy disabled
044f0db9-44e4-40fc-a0a9-ec68448e75af
Does this stop you from using Cursor
Yes - Cursor is unusable