- Newest
- Most votes
- Most comments
The issue you're experiencing with CloudWatch metrics showing Claude Opus 4 token usage despite switching to Meta Llama 3.3 could be related to how Amazon Bedrock Agents work behind the scenes.
When you run Agent A (supervisor) calling Agent B, even though you've configured both to use Llama 3.3, there might still be some internal agent orchestration processes that are using Claude Opus 4. This is particularly likely when you ask Agent A to "explain the answer," which might trigger more complex reasoning capabilities.
Amazon Bedrock Agents may use foundation models for various internal processes like orchestration, reasoning, or planning steps that aren't explicitly visible in your configuration. The throttling error you're receiving ("Your request rate is too high") combined with the CloudWatch metrics showing Claude input tokens suggests that Claude is still being used somewhere in the agent workflow.
To troubleshoot this issue:
-
Monitor your CloudWatch metrics closely, particularly InputTokenCount and OutputTokenCount for both models to understand the usage patterns.
-
Check if there are any remaining references to Claude in your agent configurations, knowledge bases, or action groups.
-
Be mindful that complex agent interactions, especially with features like "explain the answer," can consume more tokens and might be triggering different model usage patterns.
-
Consider implementing retry logic with exponential backoff in your application to handle these throttling exceptions.
-
You might need to reduce the complexity of interactions between your agents or further optimize your prompts to stay within the token limits.
If you continue to experience this issue despite confirming all configurations are set to Llama 3.3, you may need to contact AWS Support for further investigation, as there might be an underlying issue with how the agent is processing your requests.
Sources
Monitor Amazon Bedrock Agents using CloudWatch Metrics - Amazon Bedrock
Building Agentic AI app with Strands Agents & MCP | AWS re:Post
Troubleshoot Amazon Bedrock on-demand resource 429 Throttling error | AWS re:Post
answered a year ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated a day ago
