Skip to content

AWS Bedrock Claude Batch document upload size limit?

0

Hello,

I intend to start using AWS Bedrock for batch processing of prompts using Claude Sonnet 3.5 V2. I am curious if there is a size limit for document uploads included in the batch prompts?

I was able to find this for converse API but not for batch requests.

Also where can I see the limit for how many batch requests can be made. Limit for how many batch requests as well as how many prompts in each batch and any file size limits.

asked 2 years ago3.2K views

2 Answers
0

Based on the available information, there are some limitations for document uploads when using AWS Bedrock, but the specifics for batch processing with Claude 3 Sonnet V2 are not explicitly mentioned in the provided sources.

For the Converse API, which is a different API than the batch processing you're asking about, there is indeed a limit of up to five documents per request, with each document's size not exceeding 4.5 MB.

Regarding batch processing specifically, there isn't clear information about document upload size limits or the number of allowed batch requests in the given sources. However, for single document processing using Amazon Bedrock Knowledge Bases, there is a file size limit of 10 MB and a token limit of 20,000 tokens per document.

It's important to note that these limits may not directly apply to batch processing with Claude 3 Sonnet V2, as different APIs and services within AWS Bedrock may have varying limitations.

For the most accurate and up-to-date information on batch processing limits, including the number of allowed batch requests, prompts per batch, and file size limits, it would be best to consult the official AWS Bedrock documentation specific to batch processing or contact AWS support directly. They would be able to provide the most current and precise information regarding your use case with Claude 3 Sonnet V2.
Sources
Using the Converse API - Amazon Bedrock
Amazon Bedrock Knowledge Bases now simplifies asking questions on a single document | AWS Machine Learning Blog

answered 2 years ago

EXPERT

reviewed 2 years ago

0

Hi Arvin,

Let me clarify the Amazon Bedrock batch inference limitations as specified in the AWS quotas documentation:

Batch Inference Quotas

OperationQuota Description
Single File Size1 GB (1,073,741,824 bytes) Maximum size allowed for any individual input file in a batch inference request
Total Job Size5 GB (5,368,709,120 bytes) Maximum cumulative size of all input files combined in a single batch inference job

Key Points:

  • Individual files cannot exceed 1 GB
  • Total batch job size is limited to 5 GB across all input files
  • These are default service quotas and may be adjustable based on your use case

For a comprehensive list of quotas related to batch processing and other Bedrock operations, please refer to the official AWS documentation: https://docs.aws.amazon.com/general/latest/gr/bedrock.html

If you need higher limits for your specific use case, you can request a quota increase through the AWS Service Quotas console.

Hope this helps clarify the limitations! Let me know if you have any additional questions.

AWS

answered 2 years 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.