Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When using Opus 4.6 model or Sonnet 4.6 i’m shown an error message of “We’re having trouble connecting to model provider”
Steps to Reproduce
Use Ask mode or Agent mode with any of the cited models
Operating System
Linux
Version Information
Version: 2.5.20 (user setup)
VSCode Version: 1.105.1
Commit: 511523af765daeb1fa69500ab0df5b6524424610
Date: 2026-02-19T20:41:31.942Z
Build Type: Stable
Release Track: Default
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Opus 4.6 and Sonnet 4.6
For AI issues: add Request ID with privacy disabled
Request ID: 892a59af-0ccb-4a46-aba1-8cce797efd7c
{“error”:“ERROR_PROVIDER_ERROR”,“details”:{“title”:“Provider Error”,“detail”:“We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.”,“isRetryable”:false,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
Provider Error We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.
aXt: Provider Error We’re having trouble connecting to the model provider. This might be temporary - please try again in a moment.
at upA (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32115:39729)
at cpA (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32115:38717)
at fpA (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32116:5088)
at uol.run (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32116:9098)
at async art.runAgentLoop (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:44360:7632)
at async wOl.streamFromAgentBackend (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:44408:8884)
at async wOl.getAgentStreamResponse (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:44408:9837)
at async ALe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:32182:15752)
at async Object.Js [as onSubmit] (vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43415:4781)
at async vscode-file://vscode-app/c:/Users/Iwar/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:43389:58030
Additional Information
All other models work fine. Tried with gemini 3.1 pro and gpt 5.3 codex and kimi k2.5 and all of them work normally.
EDIT: The bug only happens to these Anthropic models in cursor. In Claude Code they are working perfectly
Does this stop you from using Cursor
No - Cursor works, but with this issue