Skip to content

Claude Sonnet 4.5 is not working with AWS Bedrock #2879

Closed
anomalyco/models.dev
#253

Description

@jluisrojas

If I select the model "Amazon Bedrock Claude Sonnet 4.5" I get the following error when sending a message:

AI_APICallError: undefined: The provided model identifier is invalid.

I am using opencode v0.13.5

Activity

  1. github-actions commented on Sep 30, 2025

    @github-actions
    Contributor

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

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

  2. jluisrojas commented on Sep 30, 2025

    @jluisrojas
    Author

    I thinks its because the model ID is "anthropic.claude-sonnet-4-5-20250929-v1:0" and in models.dev it appears as "anthropic.claude-sonnet-4-5-20250929"

  3. rekram1-node commented on Sep 30, 2025

    @rekram1-node
    Contributor

    OO we should fix that on models.dev

  4. self-assigned this
    on Sep 30, 2025
  5. rekram1-node commented on Sep 30, 2025

    @rekram1-node
    Contributor

    @jluisrojas if you run:

    rm ~/.cache/opencode/models.json

    it should refresh your list and be fixed

    (it will refresh automatically but this will force a refresh)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions