Async Vs Individual Analysis of Documents in Textract

0

Could you please tell me the pricing based differences of Textract if I send 30 pages asynchronously for Textract analysis and if I send each page of the pdf as a single pdf for analysis. Also could you help me with the documentation or the code for the same .

Thankyou.

asked 4 months ago172 views
1 Answer
1

Hi Nithin,

When analyzing documents using Amazon Textract, pricing can differ significantly based on whether you process documents asynchronously (using StartDocumentTextDetection) or synchronously (using DetectDocumentText). Here's a breakdown of the differences:

  1. Asynchronous Processing: Pricing: For asynchronous operations, Amazon Textract charges per page. As of now, the price is $0.0015 per page for text extraction. Process: You can send a single PDF or multi-page TIFF file containing up to 3,000 pages in one asynchronous request. This method is cost-effective for larger documents because you are charged per page regardless of the number of requests.
  2. Synchronous Processing: Pricing: For synchronous operations, Amazon Textract charges per document. The cost is $0.01 per page for text extraction. Process: Each page is processed individually in a separate request. If you have 30 pages, each page would be considered a separate document, resulting in a higher cost compared to the asynchronous method. Cost Comparison: Asynchronous (30 pages in one request):

Cost: 30 pages * $0.0015/page = $0.045 Synchronous (30 separate requests for each page):

Cost: 30 pages * $0.01/page = $0.30 As you can see, asynchronous processing is significantly cheaper for a larger number of pages.

ref.: https://repost.aws/questions/QUs_ry60-zSPyq080EnwO3eA/which-textract-approach-is-faster-cheaper-better-for-1m-documents

ref2.: https://docs.aws.amazon.com/textract/latest/dg/API_DetectDocumentText.html

ref3: https://docs.aws.amazon.com/textract/latest/dg/sync.html

ref4: https://docs.aws.amazon.com/textract/latest/dg/async.html

ref5: https://aws.amazon.com/pt/textract/pricing/

profile picture
EXPERT
answered 3 months 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.

Guidelines for Answering Questions