Bedrock Not Working Anymore

Resolved 💬 2 comments Opened Feb 26, 2025 by caesarnine Closed Feb 26, 2025

When I start Claude Code now I can't seem to use it with Bedrock anymore. I always get a

> hi
  ⎿  API Error: 400 Invocation of model ID anthropic.claude-3-7-sonnet-20250219-v1:0 with on-demand throughput isn’t supported. Retry your request with the ID or ARN 
of an inference profile that contains this model.

I have the following env variables set and confirmed with printenv that they're correctly set, have Sonnet 3.7 enabled in AWS within the region I'm in. It was working a few hours ago not sure if the client self-updated or if something else occurred.

CLAUDE_CODE_USE_BEDROCK=1
ANTHROPIC_MODEL='us.anthropic.claude-3-7-sonnet-20250219-v1:0'
DISABLE_PROMPT_CACHING=1

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗