Fix AWS Bedrock ThrottlingException: 6 Proven Solutions

AWS AIML

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now

Table of Contents

Loading

However, the issue known as the Amazon Bedrock ThrottlingException error stops countless AWS students midway through their machine learning labs. You just start making calls to a foundation model when you get hit with an error message saying ThrottlingException: Too many tokens.

Amazon Bedrock provides access to high-performing foundation models from top AI companies. Before you can use any model, you need to turn on access to it in your AWS account. Learn how to enable foundation models in Amazon Bedrock →

AWS Cloud, AIML, Gen AI and Agentic AI

This error happens a lot, with people who are just starting out with AWS AI and ML tasks. It appears in the middle of a lab, in the middle of a pipeline, or right when you are trying your Bedrock agent. And if you don’t understand what is causing it, it can feel like a dead end.

The good news is that it can be fixed completely. This blog explains what the error means, why AWS sends it, how to spot it in different setups, and most importantly, how to fix it. Six reliable solutions to fix it and stop it from happening again.

Before moving on to the solutions, let’s first learn what ThrottlingException really means and how the quota system of Amazon Bedrock works behind the scenes.

What Is a ThrottlingException in Amazon Bedrock?

A ThrottlingException is Amazon Web Services’ way of telling you that your request has exceeded the allowed rate or token limit for a service. In this case, Amazon Bedrock.

Think of it like a highway toll booth. The tool booth is Amazon Web Services’ Bedrock. The toll booth can only process a number of cars each minute. The cars are the tokens. If many cars arrive at once, the booth puts up a “stop” signal. The booth turns the cars away until the queue clears. That “stop” signal in AWS terms is your ThrottlingException.

When you call a foundation model through Bedrock. Whether that’s Claude, Titan, Llama, Mistral, or Cohere. AWS enforces service quotas. The service quotas control how many tokens your account is allowed to process per minute. Cross that threshold, and Bedrock rejects the request with the following:

ThrottlingException: Many tokens; please wait before trying again.

This is not a bug in your code. This is a limit enforced at the AWS account level. This limit hits hardest on tiered or newly created accounts. The default quotas for those accounts are extremely conservative.

How to Identify the ThrottlingException Error

Before you can fix the error, you need to confirm you are actually seeing it. Here is what it looks like across three common environments:

In the AWS Console (Bedrock Playground):
You will see a red error banner inside the model playground that reads:

“ThrottlingException: Too many tokens, please wait before trying again.”

Amazon Bedrock ThrottlingException error - Too many tokens

In a Python Script:

botocore.errorfactory.ThrottlingException:
An error occurred (ThrottlingException) when calling the
InvokeModel operation: Too many tokens, please wait before trying again.

In a Jupyter Notebook / Google Colab:

The cell will fail with a red traceback. Scroll to the last line, and you will see the same ThrottlingException message from botocore.

In all three cases, the fix is the same: you have hit a quota limit and need to follow one or more of the steps below.

Note: Please remember that AWS might display any of the above messages based on whichever quota you exceed: either “Too many tokens,” “Too many requests,” or “Your request rate is too high.” They are all ThrottlingExceptions, and the instructions provided here work for all three types.

Why Does AWS Throttle Amazon Bedrock Specifically?

Many learners have raised this question, “Why does Bedrock throttle me even if I am making just a few requests?”

And here’s the reason behind that. The foundation models like Claude or Llama are resource-hungry. It needs a large number of GPUs to run these models on a large scale. In order to ensure fair usage of resources for all AWS customers, AWS limits the usage of resources in terms of

  • Tokens Per Minute (TPM): the total number of input and output tokens per minute for a particular model in your account.
  • Requests Per Minute (RPM): the total number of requests per minute

The quota system of Bedrock is one of the important concepts in the AWS Certified AI Practitioner (AIF-C01) exam . If you are working on these labs for your certification preparation, then this guide will cover everything you need.

For a free or basic AWS account, the values for these settings are very small, sometimes as small as 10,000-30,000 TPMs. In your case, where the lab uses Claude 3 Sonnet with a big system prompt and a detailed user message, each request will use up 2,000-5,000 tokens. An 8-10 request chained agent workflow will quickly use up your per-minute limit.

Secondly, us-east-1 is the busiest AWS region in the world. It has the least capacity shared; hence, it gets throttled faster than other regions with the same quota settings.

Issue & Fix

After running some labs using AI/ML models in Amazon Bedrock, you might come across the error message below while trying to invoke a foundation model:

“ThrottlingException: Too many tokens, please wait before trying again.”

Below are steps to help solve this problem. The majority of users solve their problems using Fix 4 or Fix 5.

Fix 1: Check Your AWS Account Billing and Quota Eligibility

Why this helps:

Amazon Bedrock quotas can vary depending on factors such as your AWS account history, payment history, model, and selected AWS Region. Newly created accounts may have limited quotas for certain foundation models.

Ensuring that your AWS account has verified billing information and an active payment method is a good starting point. However, upgrading to a paid AWS account does not automatically guarantee higher Bedrock quotas or eliminate throttling errors.

What should you do?

  1. Sign in to your AWS Management Console.
  2. Open Billing and Cost Management.
  3. Check whether your payment method and billing information are properly configured.
  4. Verify that your AWS account is active and has no outstanding billing issues.
  5. Open AWS Service Quotas and check the applied quotas for your selected Amazon Bedrock model and Region.

What to expect:

A properly configured AWS account helps you avoid billing-related restrictions and provides a better starting point for running AI/ML labs. If your Bedrock quota is still insufficient, proceed to Fix 4 and request an appropriate quota increase.

Important: AWS account upgrades do not guarantee higher Bedrock quotas. Always verify your actual quotas before running resource-intensive workloads.

How to do it: Amazon Bedrock – Quotas and Limits

Fix 2: Check AWS Credits and Billing Configuration for Your AI/ML Labs

Why this helps:

Running Amazon Bedrock foundation models for AI/ML labs can generate AWS usage charges. AWS credits can help cover eligible expenses, making it easier for learners to experiment with foundation models without paying the full cost out of pocket.

However, AWS credits and Amazon Bedrock service quotas are two different things. Credits help reduce eligible billing costs, whereas service quotas determine how many requests or tokens your account can process within a given period.

What should you do?

  1. Sign in to your AWS Management Console.
  2. Open Billing and Cost Management.
  3. Navigate to the Credits section.
  4. Check whether you have any active AWS credits.
  5. Review the credit balance, expiry date, and applicable service restrictions.
  6. Check your AWS Cost Explorer or billing dashboard to monitor Bedrock usage charges.

What to expect:

If your AWS credits cover eligible Amazon Bedrock usage, they can help reduce your lab expenses. You should still monitor your consumption to avoid unexpected charges.

Important: Applying AWS credits does not increase your Amazon Bedrock TPM or RPM quotas and does not directly resolve ThrottlingException errors. If you continue experiencing throttling, check your model-specific quotas and follow the troubleshooting steps in this guide.

How to nurture your account: Nurture AWS Account for AI/ML Labs & Credits

Fix 3: Reduce Request Concurrency and Implement Retry Logic

Why this helps:

Amazon Bedrock can return a ThrottlingException when your application sends requests faster than your account’s allowed request or token limits.

This commonly happens when running multiple API calls simultaneously, especially in RAG applications, agent workflows, or Python scripts that process several prompts in a loop.

Reducing the number of simultaneous requests and implementing retry logic helps distribute requests more evenly and prevents repeated throttling failures.

What should you do?

  1. Avoid sending too many Amazon Bedrock API requests simultaneously.
  2. If you are running multiple requests in a Python loop, introduce controlled delays where appropriate.
  3. Limit the number of concurrent requests in your application.
  4. Implement exponential backoff with random jitter so that failed requests are retried after progressively longer, randomized delays.
  5. Set a maximum number of retry attempts to prevent endless API calls.
  6. Monitor your request and token consumption to identify recurring throttling patterns.

Example:

If your Python application sends 20 requests simultaneously, try processing them in smaller batches instead. This helps distribute the workload rather than sending all requests at once.

What to expect:

Your application will handle temporary throttling more reliably, reduce sudden request bursts, and improve the stability of your AI/ML workflows.

Important: Retry logic does not increase your AWS account quotas. If your application consistently exceeds its allowed TPM or RPM limits, you may still need to request a quota increase through AWS Service Quotas.

Note: If you encounter an AccessDeniedException instead of a ThrottlingException, check your AWS IAM permissions, Bedrock model access, and resource policies. These are authorization issues and require a different troubleshooting approach.

Related Reading: Troubleshooting Amazon Bedrock API Error Codes – AWS Documentation

How to Create an IAM User with Admin Access: Creating IAM User with Administrator Access

Fix 4: Request a Higher Amazon Bedrock Quota

Why is it effective?

Amazon Bedrock enforces usage quotas to control the number of tokens and requests your account can process. If your AI/ML workload consistently exceeds the allocated quota, Bedrock may reject requests with a ThrottlingException.

Requesting a quota increase can help when your existing account limits are insufficient for your workload, particularly when running RAG applications, multi-step agent workflows, or applications that generate multiple model responses.

How to do it:

To learn how to review AWS service quotas and submit quota increase requests, follow our AWS AI/ML Step-by-Step Hands-on Labs, which includes a dedicated lab on requesting AWS service quota increases.

  1. Sign in to your AWS Management Console.
  2. Search for Service Quotas in the AWS Console.
  3. Select AWS Services and search for Amazon Bedrock.
  4. Identify the foundation model and the quota you need to increase.
  5. Check your existing applied quota and the adjustable status of the selected quota.
  6. Select the appropriate quota and click Request increase if the option is available.
  7. Enter your requested quota based on your expected workload and provide a clear justification.
  8. Submit the request and monitor its status.

What information should you check before requesting an increase?

  • Foundation model you are using.
  • AWS Region where your workload runs.
  • Inference endpoint (bedrock-runtime or bedrock-mantle).
  • Current TPM and RPM limits, wherever applicable.
  • Expected input and output token consumption.
  • Number of requests and concurrent model calls.

What can you expect?

AWS will review your request based on the applicable quota, account allocation, and workload requirements. Approval is not guaranteed, and processing time can vary.

Once the requested quota increase is approved and applied, test your Bedrock workload again to check whether the throttling issue has been resolved.

Important: Amazon Bedrock has different quota structures for its inference endpoints. The bedrock-runtime endpoint uses combined input and output token quotas, with RPM quotas for applicable models. The bedrock-mantle endpoint uses separate input and output TPM quotas for models with published quotas and does not enforce RPM quotas. Check the applicable endpoint and quota before submitting your request.

For bedrock-mantle, quota increases are currently requested through an AWS Support limit increase form rather than directly through the Service Quotas console.

Full lab guide: Requesting AWS Service Quota Increases

Fix 5: Try Another Supported AWS Region or Cross-Region Inference

Why does this help?

Amazon Bedrock quotas are applied based on the AWS Region and the foundation model you are using. If your current Region has insufficient allocated quota for your workload, trying another supported Region may provide a different quota allocation.

However, switching Regions does not guarantee higher quotas or eliminate throttling errors. You must verify model availability and the applicable quotas in the new Region before moving your workload.

Another option is Cross-Region Inference, which allows Amazon Bedrock to route inference requests across supported AWS Regions using an inference profile. This can help distribute workloads and improve availability.

What should you do?

Option 1: Try Another Supported AWS Region

  1. Sign in to your AWS Management Console.
  2. Open the Region selector in the top-right corner.
  3. Select another AWS Region that supports your foundation model.
  4. Open Amazon Bedrock and verify that the required model is available.
  5. Check the applicable Bedrock quotas in that Region.
  6. Update your application’s AWS Region configuration if you are using Python, Boto3, or another SDK.
  7. Run your lab again and monitor whether the throttling error continues.

Option 2: Explore Cross-Region Inference

  1. Open Amazon Bedrock in the AWS Console.
  2. Check whether your selected foundation model supports Cross-Region Inference.
  3. Identify the appropriate inference profile for your model and source Region.
  4. Update your application to use the supported inference profile instead of the individual model ID.
  5. Test your requests and monitor the results.

Covers Amazon Bedrock model access, Cross-Region Inference, service tiers and prompt caching. AI Architect Training – K21 Academy

What to expect:

Trying another supported Region may help if its applicable quota allocation is sufficient for your workload. Cross-Region Inference can help distribute requests across supported Regions, subject to the selected inference profile and AWS restrictions.

Important points to remember:

  • Not every foundation model is available in every AWS Region.
  • Bedrock quotas are Region-specific.
  • Cross-Region Inference requires a supported model and inference profile.
  • Data processing and residency requirements must be considered before enabling cross-Region routing.
  • Switching Regions does not automatically increase your TPM or RPM limits.

Fix 6: Contact AWS Support for Amazon Bedrock Throttling Issues

Why is this helpful?

If you continue experiencing ThrottlingException errors after checking your Bedrock quotas, reducing request concurrency, and implementing retry logic, contacting AWS Support can help you investigate account-specific or service-related issues.

AWS Support can review your case, help identify the reason for throttling, and guide you through the appropriate troubleshooting or quota increase process.

When should you contact AWS Support?

  • Your quota increase request is pending or has been rejected.
  • Your application continues experiencing throttling despite staying within its expected usage limits.
  • You suspect an account-specific restriction or configuration issue.
  • You encounter repeated errors that cannot be resolved through standard troubleshooting.

What information should you include in your support case?

  1. AWS Account ID.
  2. AWS Region where the error occurs.
  3. Foundation model ID or inference profile being used.
  4. Inference endpoint (bedrock-runtime or bedrock-mantle).
  5. Complete error message and error code.
  6. Request ID and timestamp of the failed API call.
  7. Current applied quotas and estimated request/token usage.
  8. Details of any quota increase request already submitted.

How to raise a support case:

  1. Sign in to the AWS Management Console.
  2. Open the AWS Support Center.
  3. Select Create case.
  4. Choose the appropriate technical support or service quota category available to your account.
  5. Select Amazon Bedrock as the affected service, where available.
  6. Enter the relevant technical details and attach error logs if required.
  7. Submit the case and monitor its status in the Support Center.

What can you expect?

AWS Support will review your submitted information and provide guidance based on the issue and your support eligibility. Response and resolution times depend on your AWS Support plan, case severity, and the nature of the problem.

Important: Raising a support case does not guarantee a quota increase or immediate resolution. Provide complete technical details to help AWS investigate the issue efficiently.

How to raise a support ticket: How to Raise a Ticket to AWS Support

Tips to Avoid ThrottlingException in the Future

Once you have resolved the current Amazon Bedrock throttling issue, follow these best practices to prevent it from happening again in your AI/ML projects.

1. Use Exponential Backoff with Retry Logic

When your Python application receives a ThrottlingException, avoid sending another request immediately.

Implement exponential backoff with random jitter. This means waiting progressively longer before retrying a failed request, while adding a small random delay to prevent multiple requests from retrying simultaneously.

The Boto3 SDK supports configurable retry behaviour, which you can use when building applications with Amazon Bedrock.

2. Optimize Your Prompts and Reduce Token Usage

Long prompts and unnecessary context increase token consumption.

To reduce unnecessary token usage:

  • Remove irrelevant information from your prompts.
  • Avoid sending entire documents when only specific sections are required.
  • Retrieve only relevant document chunks in RAG applications.
  • Set appropriate maximum output token limits.
  • Avoid repeatedly sending unnecessary conversation history.

Efficient prompt design helps you stay within your available token quotas.

3. Monitor Amazon Bedrock Usage with CloudWatch

Use Amazon CloudWatch to monitor your Bedrock workloads and identify unusual usage patterns.

Monitor relevant metrics, including:

  • Input token consumption.
  • Output token consumption.
  • Number of model invocations.
  • Invocation errors and throttling.
  • Request latency.

Where supported, configure CloudWatch alarms to notify you when usage approaches your expected limits or throttling errors increase.

This helps you identify problems before they affect your entire application.

4. Control Request Concurrency

If your application sends multiple Bedrock API requests simultaneously, you may exceed your allowed request or token throughput.

Instead of relying on a fixed delay between every API call, control how many requests your application sends concurrently.

For example:

  • Process large workloads in smaller batches.
  • Limit simultaneous API calls.
  • Use request queues for high-volume applications.
  • Distribute requests over time.
  • Adjust concurrency based on your actual TPM and RPM limits.

This is particularly important when building RAG pipelines, multi-agent applications, and automated processing workflows.

5. Review Your Quotas Before Scaling Your Workload

Before running large experiments or deploying an application, review your Amazon Bedrock quotas.

Check the applicable limits for your selected foundation model, AWS Region, and inference endpoint.

If your expected workload requires higher throughput, submit a quota increase request in advance through the appropriate AWS process.

Remember that quota increases are subject to AWS approval. Do not assume that your existing quotas will automatically support a larger workload.

Related Readings: Read K21 Academy’s AWS Generative AI Cost Optimization Guide

Summary

Fix What It Addresses
Pay-as-you-go Upgrade Increases your default quotas
Credits Nurturing Account Lowers your costs in lab
Create IAM User Solves permission issues
Increase Quotas Sets up your TPM/RPM quotas directly
Switch to AWS Region Gives you access to a different quota pool immediately
AWS Support Contact If all else fails

Are you ready to move past error solving and create a production-ready solution? Create an Agentic AI Customer Service Agent on AWS Bedrock – a 5-lab tutorial series from prototype to production on AWS Bedrock.

Frequently Asked Questions

What causes ThrottlingException in Amazon Bedrock?

Amazon Bedrock returns a ThrottlingException when your application exceeds the applicable request or token throughput quotas. This can happen when you send too many API requests, consume more tokens per minute than your account allows, or run multiple concurrent model calls. The exact limit depends on the foundation model, AWS Region, inference endpoint, and account quota allocation.

How do I fix ThrottlingException in Amazon Bedrock?

To fix ThrottlingException, first check the applied quotas for your selected foundation model and AWS Region. Then reduce unnecessary token consumption, control concurrent API requests, and implement exponential backoff with random jitter. If your workload consistently exceeds the available limits, request a quota increase through the appropriate AWS process. You can also explore supported Cross-Region Inference options.

Does upgrading to a paid AWS account fix Amazon Bedrock throttling errors?

No. Upgrading to a paid AWS account does not automatically increase Amazon Bedrock quotas or eliminate ThrottlingException errors. Bedrock quotas depend on factors such as account history, model, Region, and usage limits. Check your actual applied quotas in AWS Service Quotas and request an increase if your workload requires higher throughput.

How do I increase TPM and RPM quotas in Amazon Bedrock?

To increase Amazon Bedrock quotas, open AWS Service Quotas, select AWS Services, and search for Amazon Bedrock. Find the applicable model-specific quota, check whether it supports adjustment, and submit a quota increase request if available. The process can differ depending on the inference endpoint. For bedrock-mantle quotas, you may need to submit an AWS Support limit increase request instead. AWS reviews requests based on the applicable quota and account requirements.

Does changing the AWS Region resolve Amazon Bedrock ThrottlingException?

Changing the AWS Region may help if another supported Region provides sufficient quota for your workload. However, it does not guarantee higher quotas or eliminate throttling. Before switching, verify that your selected foundation model is available in the new Region and check its applied quotas. You can also explore Amazon Bedrock Cross-Region Inference for supported models and inference profiles.

How can I prevent ThrottlingException when using Amazon Bedrock with Python?

You can reduce Amazon Bedrock throttling in Python by implementing exponential backoff with random jitter, limiting concurrent API requests, optimizing prompts, and avoiding unnecessary token consumption. Boto3 also supports configurable retry behaviour. Monitor your model usage and throttling metrics through Amazon CloudWatch to identify recurring issues and adjust your application accordingly.

How long does an Amazon Bedrock quota increase request take?

The processing time for an Amazon Bedrock quota increase request varies depending on the quota type, AWS Region, account requirements, and review process. Some requests may be processed quickly, while others require additional review. You can monitor the request status through AWS Service Quotas or AWS Support, depending on the submission method. A quota increase is not guaranteed until AWS approves and applies it.

Next Task: Enhance Your AI/ML Skills

K21 Academy provides expert training, hands-on labs, and practical insights to help your team master AI and machine learning cloud platforms, turning your AI ambitions into reality. Explore the power of generative AI applications and advanced analytics today!

Ready to master AI, machine learning, generative AI & agentic AI? Join K21 Academy’s AWS AIML FREE class and take the first step toward a $250K+ career in AI, ML, data science, GenAI & agentic AI even without coding experience. Secure your spot now!

AWS Cloud, AIML, Gen AI and Agentic AI

Picture of Kritika Aggarwal

Kritika Aggarwal

Share Post Now :

HOW TO GET HIGH PAYING JOBS IN AWS CLOUD

Even as a beginner with NO Experience Coding Language

Explore Free course Now