Describe the Bug
I can’t use Claude Opus 4.6 model with Bedrock API key. Other Bedrock models work fine, but Opus 4.6 returns “The provided model identifier is invalid” error.
I tried multiple model identifier formats:
anthropic.claude-opus-4-6-v1:0 (bare model ID from Anthropic’s docs regarding Bedrock)
us.anthropic.claude-opus-4-6-v1:0 (US inference profile)
global.anthropic.claude-opus-4-6-v1:0 (global inference profile)
None of these worked.
Steps to Reproduce
Add a custom model with the Bedrock model ID for Opus 4.6 (anthropic.claude-opus-4-6-v1:0). Also tried with inference profile prefixes (us. and global.). Then attempt to use that model.
Expected Behavior
The model should work like other Bedrock models (Sonnet 4.5, Haiku 4.5, etc.)
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 2.4.28
VSCode Version: 1.105.1
Commit: f3f5cec40024283013878b50c4f9be4002e0b580
Date: 2026-02-03T00:56:18.293Z (2 days ago)
Build Type: Stable
Release Track: Early Access
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.2.0
For AI issues: which model did you use?
Claude Opus 4.6
For AI issues: add Request ID with privacy disabled
Request ID: 509832ec-eb93-43d7-892b-0168a53b41bc
{“error”:“ERROR_OPENAI”,“details”:{“title”:“Unable to reach the model provider”,“detail”:“We encountered an issue when using your API key: Provider was unable to process your request\n\nAPI Error:\n\n\nThe provided model identifier is invalid.\n”,“additionalInfo”:{},“buttons”:,“planChoices”:},“isExpected”:true}
[invalid_argument] Error
NTe: [invalid_argument] Error
at tpf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9097:38348)
at Xmf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9097:37251)
at gpf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9098:5088)
at yva.run (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9098:9098)
at async Wyt.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34198:57104)
at async ngc.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34247:7835)
at async ngc.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:34247:8576)
at async OTe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9172:14624)
at async Xi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:32996:3808)
Additional Information
The model ID anthropic.claude-opus-4-6-v1:0 is the official AWS Bedrock ID per Anthropic’s documentation
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
