Skip to content

Amazon Bedrock Agents - Rate limiting

0

I've configured an agent with a knowledge base on AWS Bedrock using Agent Builder and made a one calls to the agent on the agent test console only got this error "Your request rate is too high. Reduce the frequency of requests. Check your Bedrock model invocation quotas to find the acceptable frequency." I have asked for only one question but still I wont be able to get any response instead I get the above error only. I know this is basically a model request per minute limitation. I was wondering if this kind of limitation exists how come customer use amazon bedrock agents for citizen scale use cases?.

AWS

asked a year ago942 views

1 Answer
0

The error you're encountering with AWS Bedrock Agents is related to service quotas and rate limiting. Even though you've only made one request in the agent test console, you're still hitting a rate limit, which can happen for several reasons.

To address this issue, you can take the following steps:

  1. Check your current quotas: Review your Amazon Bedrock quotas in the AWS Management Console or using the AWS CLI to understand your current limits for API calls.

  2. Request a quota increase: You can open a support case with AWS to request an increase. When submitting the request:

  • Specify the quota name you want to increase
  • Mention the specific model you're using
  • Indicate the AWS Region
  • Clearly explain your use case
  1. Implement request rate limiting: Consider adding delays between requests or implementing a queue mechanism in your application to manage request flow.

  2. Consider Provisioned Throughput: For high-throughput requirements, you might want to look into purchasing Provisioned Throughput for your agent's model.

Regarding your question about citizen-scale use cases: For production deployments at scale, customers typically:

  • Work with AWS Support to obtain appropriate quota increases based on their demonstrated usage patterns
  • Implement proper request throttling and queueing in their applications
  • Use Provisioned Throughput for predictable performance at scale
  • Optimize their agents to process requests efficiently

It's worth noting that AWS Bedrock is a relatively new service, so quota policies may be somewhat restrictive by default. Due to high demand, AWS prioritizes quota increase requests for customers who are consistently using their existing quota allocation.
Sources
Bedrock Test Agent quota error | AWS re:Post
Requests to Invoke Agent in Bedrock are being queued | AWS re:Post
How to increase request rate in AWS Bedrock | AWS re:Post
Question regarding Error invoking RetrieveAndGenerateCommand: Your request rate is too high. Reduce the frequency of request: | AWS re:Post

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.