anomalyco / anomalyco/models.dev

AWS Bedrock Sonnet 1m context models is not working

Open
#577 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.9k
Forks
1.7k
Avg merge
3h 21m
Merged PRs (30d)
873

Description

I couldn’t find the AWS Bedrock Sonnet 1M-context model in models.dev, so I created a custom config.

{
  "$schema": "https://opencode.ai/config.json",
  "model": "us.anthropic.claude-sonnet-4-5-20250929-v1:0[1m]",
  "provider": {
    "amazon-bedrock": {
      "models": {
        "us.anthropic.claude-sonnet-4-5-20250929-v1:0[1m]": {
          "name": "Claude Sonnet 4.5[1m] (AWS Bedrock)",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 16000
            }
          }
        }
      }
    }
  }
}

However, when I initiate the chat, I get an error. Any idea how to resolve this?

Image

When I change the model to "anthropic.claude-sonnet-4-5-20250929-v1:0[1m]", I get this error.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named. Start by reproducing the failure with both model identifiers and inspect how AWS Bedrock model identifiers are represented in models.dev. Done means the Sonnet 1M model is represented correctly and can start a chat without either reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
ai, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.