Model IDs are wrong for Opus 4.6 on AWS Bedrock #8626

Closed
opened 2026-02-16 18:10:25 -05:00 by yindo · 3 comments
Owner

Originally created by @wnkz on GitHub (Feb 5, 2026).

Originally assigned to: @thdxr on GitHub.

Description

The inference profile IDs on Bedrock are looking a bit different for Opus 4.6 on Bedrock and that might be causing problems for OpenCode.

The provided model identifier is invalid.
  • global.anthropic.claude-opus-4-6-v1 vs global.anthropic.claude-opus-4-5-20251101-v1:0
  • eu.anthropic.claude-opus-4-6-v1 vs eu.anthropic.claude-opus-4-5-20251101-v1:0

Plugins

No response

OpenCode version

1.1.52

Steps to reproduce

Start opencode
Chose any Opus 4.6 model on Amazon Bedrock
Prompt anything

Screenshot and/or share link

No response

Operating System

macOS 26.2

Terminal

Ghostty

Originally created by @wnkz on GitHub (Feb 5, 2026). Originally assigned to: @thdxr on GitHub. ### Description The inference profile IDs on Bedrock are looking a bit different for Opus 4.6 on Bedrock and that might be causing problems for OpenCode. ``` The provided model identifier is invalid. ``` - `global.anthropic.claude-opus-4-6-v1` vs `global.anthropic.claude-opus-4-5-20251101-v1:0` - `eu.anthropic.claude-opus-4-6-v1` vs `eu.anthropic.claude-opus-4-5-20251101-v1:0` ### Plugins _No response_ ### OpenCode version 1.1.52 ### Steps to reproduce Start opencode Chose any Opus 4.6 model on Amazon Bedrock Prompt anything ### Screenshot and/or share link _No response_ ### Operating System macOS 26.2 ### Terminal Ghostty
yindo added the bug label 2026-02-16 18:10:25 -05:00
yindo closed this issue 2026-02-16 18:10:25 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #12323: [FEATURE]: Add support of Claude Opus 4.6 - This is the feature request for Opus 4.6 support where the model ID issue may already be tracked.
  • #9603: Amazon Bedrock Model in Agents not work - Similar Bedrock model validation errors with invalid model identifiers.

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 5, 2026): This issue might be a duplicate of existing issues. Please check: - #12323: [FEATURE]: Add support of Claude Opus 4.6 - This is the feature request for Opus 4.6 support where the model ID issue may already be tracked. - #9603: Amazon Bedrock Model in Agents not work - Similar Bedrock model validation errors with invalid model identifiers. Feel free to ignore if none of these address your specific case.
Author
Owner

@akio-ito commented on GitHub (Feb 5, 2026):

Same for google-vertex-anthropic.
・google-vertex-anthropic/claude-opus-4-6 vs google-vertex-anthropic/claude-opus-4-6@20260205

@akio-ito commented on GitHub (Feb 5, 2026): Same for google-vertex-anthropic. ・google-vertex-anthropic/claude-opus-4-6 vs google-vertex-anthropic/claude-opus-4-6@20260205
Author
Owner

@wnkz commented on GitHub (Feb 5, 2026):

Looks like is was due to a cached version of ~/.cache/opencode/models.json and is now fixed

@wnkz commented on GitHub (Feb 5, 2026): Looks like is was due to a cached version of `~/.cache/opencode/models.json` and is now fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8626