Skip to content

models: add Claude 5 family to Bedrock matrix - #384

Open
ducvo wants to merge 4 commits into
andrewyng:mainfrom
ducvo:models/bedrock-claude-5-family
Open

models: add Claude 5 family to Bedrock matrix#384
ducvo wants to merge 4 commits into
andrewyng:mainfrom
ducvo:models/bedrock-claude-5-family

Conversation

@ducvo

@ducvo ducvo commented Aug 1, 2026

Copy link
Copy Markdown

Summary

Add three GA Claude 5 models to the Bedrock picker in coworker/providers/matrix.py:

Model Bedrock Model ID Context Launched
Claude Fable 5 anthropic.claude-fable-5 1M 2026-06-09
Claude Opus 5 anthropic.claude-opus-5 1M 2026-07-24
Claude Sonnet 5 anthropic.claude-sonnet-5 1M 2026-06-30

All support Messages API, Converse, streaming, vision, and tool use — same capabilities as the existing Sonnet 4.6 entry.

Also updates the recommended Bedrock model from Sonnet 4.6 to Sonnet 5.

What was tested

  • Model IDs verified against aws bedrock list-foundation-models (us-east-1)
  • Fable 5, Sonnet 5, and Opus 5 all require explicit model access enablement per account (not yet granted on my account — unable to verify a live round trip)
  • All existing tests pass (pytest tests/test_bedrock_provider.py tests/test_providers.py tests/test_model_errors.py — 54 passed)
  • Matrix size: 51/60

Changes

  • coworker/providers/matrix.py — 3 new Bedrock Claude entries
  • coworker/providers/registry.py — updated recommended model
  • tests/test_bedrock_provider.py — added test_bedrock_claude_5_family_in_matrix

Closes #383

Duc Vo added 4 commits August 1, 2026 13:16
…t 5)

Add three GA Claude models to the Bedrock picker:
- anthropic.claude-fable-5 (1M context, launched 2026-06-09)
- anthropic.claude-opus-5 (1M context, launched 2026-07-24)
- anthropic.claude-sonnet-5 (1M context, launched 2026-06-30)

All support Messages API, Converse, streaming, vision, and tool use.
Update recommended Bedrock model from Sonnet 4.6 to Sonnet 5.

Refs andrewyng#383
… format

Bedrock API no longer accepts the old versioned IDs:
- anthropic.claude-sonnet-4-6-v1:0 → anthropic.claude-sonnet-4-6
- anthropic.claude-haiku-4-5-v1:0 → anthropic.claude-haiku-4-5-20251001-v1:0

Verified via `aws bedrock list-foundation-models` (us-east-1).
Bedrock no longer supports on-demand invocation with bare model IDs for
these models — requires the cross-region inference profile prefix (us.).
Consistent with Sonnet 4.6 and Haiku 4.5 — Bedrock requires inference
profile IDs for on-demand invocation.
@ducvo

ducvo commented Aug 1, 2026

Copy link
Copy Markdown
Author

Update: discovered during testing that Bedrock now requires inference profile IDs (e.g. us.anthropic.claude-sonnet-4-6) instead of bare model IDs for on-demand invocation. Bare IDs return:

Error code: 400 - {'message': 'Invocation of model ID anthropic.claude-sonnet-4-6 with on-demand throughput isn't supported. Retry your request with the ID or ARN of an inference profile that contains this model.'}

Fixed in the latest commits — all Bedrock Claude entries now use the us. geo inference profile prefix. Verified working with Sonnet 4.6 on us-east-1.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Models] Update Bedrock matrix with latest Claude models (Fable 5, Opus 5, Sonnet 5)

1 participant