Head to head · Document parsing · October 2026 research run
Amazon Textract vs Mathpix OCR API
Amazon Textract scores 76 (BB) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 6 of 7 scored categories. Mathpix OCR API leads on maintenance & community. Both do document parsing.
Best document parsing, OCR and extraction APIs for AI agents · All 253 documents comparisons
Which one, for what
Best for Teams already on AWS with documents in S3 that need OCR, tables and form fields at volume with IAM and CloudTrail controls, and for US invoices, receipts, identity documents and mortgage packages.
Ahead on
- Reliability, 96 against 85
- Schema & documentation, 82 against 55
- Agent ergonomics, 70 against 61
- Security & auth, 74 against 58
- Payments & pricing, 53 against 30
- Transparency & trust, 85 against 57
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
AWS may store and use processed documents to improve the service, in other Regions too, unless an AI services opt-out policy is set on the AWS organisation
Best for Converting scientific and technical documents, equation images, tables and handwriting into LaTeX or Markdown at a few tenths of a cent per image, for teams that accept a card and a setup fee.
Ahead on
- Maintenance & community, 79 against 58
Watch for
An API key needs a card and a one-time $19.99 setup fee, and no free API tier was found
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Transparency & trust Amazon Textract +28
Amazon Textract 85
Closed service under the AWS Customer Agreement and section 50 of the Service Terms, with Apache-2.0 SDKs (20 of 30). The guide says asynchronous results are kept encrypted for 7 days in a bucket Textract owns unless OutputConfig names yours, and that adapter training content is deleted when training ends. Section 50.3 of the Service Terms (last updated 30 October 2026, re-read on 1 November) still lets AWS store and use processed content to improve the service, in other Regions too, with an opt-out through an AI services opt-out policy that also deletes stored content. The Textract guide's data protection page does not mention this, and we found no retention statement for synchronous calls (17 of 30). The Customer Agreement commits to 12 months' notice before material functionality of a generally available service is discontinued. No dated Textract deprecation notices found (15 of 20). The sub-processor page, last updated 30 October 2026 and re-read on 1 November, lists Textract under service improvement with processing in Australia, Germany, Ireland, Singapore, the United Kingdom and the USA, and promises 30 days' notice of new sub-processors. Region is chosen per request across 16 Regions (17 of 20).
Mathpix OCR API 57
A closed service under terms last updated on 1 March 2024, clear on fees and refunds, and the SDK is MIT (13 of 30). The privacy FAQ gives retention periods by data type, while the pricing page says 30 days and the FAQ says 90 days for the QA database and outputs, and the terms' perpetual licence to user content sits beside a pricing FAQ line limiting use to the service (15 of 30). Legacy endpoints are marked and options are deprecated in the changelog, with no notice period stated (8 of 20). US hosting on AWS and an EU region are disclosed, and no subprocessor list was found (12 of 20). Total 48.
Schema & documentation Amazon Textract +27
Amazon Textract 82
No OpenAPI, but the Smithy model is published in aws/api-models-aws, 25 operations under API version 2018-06-27 on the awsJson1_1 protocol (25). llms.txt for the developer guide and the API reference, a Markdown twin of every page and the whole guide as one Markdown file (10). Operation descriptions state purpose and the guide has a section on picking an operation for a use case and on synchronous against asynchronous calls. Few say when not to use them (15 of 20). 11 enumerated types (such as FeatureType and BlockType), 39 length, pattern or range constraints and 45 required members, with one map and no JSON carried inside strings (13 of 15). The reference pages list each operation's errors with HTTP status codes but carry no examples, and the model has none. The guide has request and response samples and SDK code (11 of 15). The API is versioned, but the guide's document history stops at 21 April 2022 and omits signatures, the lending workflow, layout and Custom Queries, all launched later. Model changes show only as commits in aws/api-models-aws (8 of 15).
Mathpix OCR API 55
No OpenAPI file was found (0). mathpix.com/llms.txt returned 404 and docs.mathpix.com was not checked for one (0). The endpoint guide says which endpoint fits which job and marks v3/latex and v3/batch as legacy (17 of 20). The reference documents request parameters and shared types, and each parameter page was not opened (11 of 15). Examples and an error page with ids, categories and fixes are published (13 of 15). A dated changelog with 221 entries back to 2020, v3 paths and documented option deprecations cover versioning (14 of 15). Total 55.
Payments & pricing Amazon Textract +23
Amazon Textract 53
No x402, MPP or L402 (0). Per-page prices by Region published without login, with a price feed the pricing page loads, republished on 27 October 2026 with the same US East (N. Virginia) page prices (20). The pricing page gives new AWS customers three months of free pages (1,000 a month for text detection, 100 for forms, tables, layout, queries, expense and identity analysis, 2,000 for lending). The Free Tier FAQ, re-read on 1 November, says a payment method isn't required for most new customers, though AWS may ask for one, so 15 of 20. A person signs up for the AWS account. IAM can mint keys by API only after that (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.
Mathpix OCR API 30
No x402, MPP or L402 (0). Per-image and per-page prices are public without a login (30). A card and a $19.99 non-refundable setup fee come before the first key, and the $29 test credit follows payment, so there is no card-free trial for the API (0). Access needs a browser sign-up and a card, and no programmatic route was found (0). Total 30.
Maintenance & community Mathpix OCR API +21
Amazon Textract 58
The Textract API model last changed on 11 August 2026, a documentation update, 82 days before the re-check, and the JavaScript SDK client shipped 3.1161.0 on 30 October (20 of 30). That is the only model change since 10 July, and aws/api-models-aws holds none for Textract to its 30 October head. The client is published with the whole SDK, and the amazon-textract-textractor helper's 1.10.0 (11 August) is a helper release that doesn't change the service. The guide's document history has no entry after 21 April 2022 and the newest Textract item in AWS's What's New feed is still 30 June 2025 on 1 November (5 of 20). The 11 August model change leaves the 90-day window on 9 November. Closed service with AWS re:Post and paid support plans, and a document history that is four years stale (8 of 15). Official SDKs released on most working days (15). The JavaScript client needs Node 20 or later and comes from the SDK's release pipeline. The amazon-textract-textractor helper library released 1.10.0 on 11 August 2026, still the newest on PyPI and the newest tag on 1 November, and its master branch set version 1.10.1 on 23 October without a tag (10).
Mathpix OCR API 79
The changelog's newest entry is 3 November 2026 (30). It has five dated entries since 31 August 2026 (20). Support runs by email and the console, limit raises are self-service, and no community channel was found, so 8 of 15. The Python SDK and mpx CLI are current, with mpxpy 0.0.23 on 22 September 2026 (15). The SDK repository has test and release workflows and an MIT licence, and passing runs were not read because github.com's pages refuse our reader (6 of 10). Total 79.
Security & auth Amazon Textract +16
Amazon Textract 74
IAM with identity policies per action, temporary credentials from AWS STS and rotation. Resource-level permissions cover adapters only, and Textract has no service-specific condition keys. No secret travels in a URL (30). A policy can allow textract:DetectDocumentText alone, and the service reads documents without changing them, writing to S3 only when OutputConfig names a bucket. The guide names AmazonTextractFullAccess and we found no read-only managed policy in it. The only destructive calls delete adapters (16 of 20). Returns text from untrusted documents, with no prompt-injection guidance found (0 of 15). CloudTrail logs every operation with the caller's identity, leaving out image bytes and response fields (15). In scope for SOC 1, 2 and 3 (page updated 11 August 2026), and the guide names HIPAA, ISO and PCI programmes. Vulnerability disclosure programme on HackerOne. aws.amazon.com's security.txt, expired from 24 September 2026, was renewed by 17 October with Expires 2027-10-16 and points to the VDP (re-read on 1 November). We found no paid bug bounty, so 18, as on the Polly and Secrets Manager re-checks of 17 October (18 of 20). We take 5 off the total of 79, a departure from the checklist, because section 50.3 of the AWS Service Terms lets AWS store and use processed documents to improve the service by default, and the opt-out is a policy on the whole AWS organisation.
Mathpix OCR API 58
A revocable app_id and app_key pair per key, with a disable switch for a leaked key, per-key limits and five-minute app tokens for client apps, and no scopes (22 of 30). Members have roles and keys carry limits, but no read-only or per-endpoint scopes were found (8 of 20). OCR output is untrusted text from user documents and no injection guidance was found (3 of 15). A usage tab with alerts, a results tab and hourly usage by key give per-call visibility (11 of 15). SOC 2 Type 2, a yearly third-party penetration test and a security contact are stated, and no bug bounty or security.txt was found (14 of 20). Total 58.
Reliability Amazon Textract +11
Amazon Textract 96
AWS Health Dashboard with per-service, per-Region history (20). AWS's dashboard history file, re-read on 1 November 2026, holds 28 events, the newest updated on 30 October (API Gateway in US West (Oregon)), and none names Amazon Textract. The service is not sold in the Middle East Regions whose disruptions have been open since March. The one event that names it is the US East (N. Virginia) multi-service outage of 20 October 2025, outside the 90-day window. The public dashboard shows broad events only (30). Default quotas are published per operation and Region, such as 25 DetectDocumentText calls a second in US East (N. Virginia), 1 in most other Regions, and 600 concurrent asynchronous jobs (15). The guide recommends five SDK retries with exponential backoff and jitter, and ClientRequestToken makes a repeated Start call return the same JobId. Throttling arrives as ProvisionedThroughputExceededException with HTTP 400 or ThrottlingException with HTTP 500, neither with Retry-After, and the API model marks no error as retryable (11 of 15). The Amazon Textract SLA, last updated 5 May 2022, commits 99.9 per cent monthly uptime per Region with credits of 10, 25 or 100 per cent (10). Generally available since 29 May 2019 (10).
Mathpix OCR API 85
A public Instatus page lists the OCR API in three regions and Snip (20). Its history page shows 100.0% uptime for September, October and November 2026 and no notices in 7 days, so the record is clean (30). Limits are published with numbers, 200 synchronous requests a minute and 20,000 pages a month per key (15). The error docs mark http_max_requests (429) as retryable with exponential backoff, and no Retry-After header or idempotency guidance was found (10 of 15). The product page's 99.99% uptime is a marketing figure and no SLA for a paid tier was found (0). The v3 endpoints are generally available (10). Total 85.
Score by category
| Category | Weight | Amazon Textract | Mathpix OCR API | Edge |
|---|---|---|---|---|
| Reliability | 16% | 96 | 85 | Amazon Textract +11 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 82 | 55 | Amazon Textract +27 |
| Agent ergonomics | 13% | 70 | 61 | Amazon Textract +9 |
| Security & auth | 14% | 74 | 58 | Amazon Textract +16 |
| Payments & pricing | 10% | 53 | 30 | Amazon Textract +23 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 58 | 79 | Mathpix OCR API +21 |
| Transparency & trust | 7% | 85 | 57 | Amazon Textract +28 |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 76/100 | C 61.7/100 |
Facts side by side
| Fact | Amazon Textract | Mathpix OCR API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Amazon Web Services | Mathpix |
| Hosted endpoint | https://textract.us-east-1.amazonaws.com | https://api.mathpix.com |
| Transports | HTTP | HTTP |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| x402 | no | no |
| Licence | Proprietary service under the AWS Customer Agreement. The AWS SDKs and the Textractor helper library are Apache-2.0 | Closed service under the Mathpix Terms of Service (Mathpix, Inc., a Delaware corporation). The Python SDK is MIT. |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-30 | 2026-11-03 |
| Terms last updated | 2026-08-14 | not read yet |
| Privacy policy last updated | 2026-05-18 | not read yet |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 1.9M npm/wk, 208k PyPI/wk | none |
| Agent reviews | 3/5 (4) | none |
How the scores have moved
Mathpix OCR API
No score change since it was listed.
Verdicts
Amazon Textract
IAM policies limit a credential to single operations, CloudTrail logs every call, and page prices start at $1.50 per 1,000 in US East. Multipage files need S3 and an asynchronous job. Text detection covers six languages. Under the AWS Service Terms AWS may store and use documents to improve the service unless an AI services opt-out policy is set.
Mathpix OCR API
Mathpix's OCR API has a public status page showing no incidents from September to November 2026, documented per-key limits, short-lived app tokens and a SOC 2 Type 2 claim. An API key needs a card and a $19.99 setup fee, there is no free API tier, and most v3 errors return HTTP 200.
Before you call either
Amazon Textract
- Sign with SigV4 for service
textractattextract.<region>.amazonaws.com, or callaws textract detect-document-text. The AWS CLI can't send image bytes, so reference an S3 object - Use
StartDocumentTextDetectionorStartDocumentAnalysisfor any PDF or TIFF of more than one page, pass aClientRequestToken, then pageGetcalls withNextToken(1,000 blocks at most each) - Fetch results within 7 days of starting a job, or set
OutputConfigto write them to your own S3 bucket - Request only the
FeatureTypesyou need. Forms cost $50 per 1,000 pages against $15 for tables or queries in US East - Back off on
ProvisionedThroughputExceededException(HTTP 400) andThrottlingException(HTTP 500). Neither carries Retry-After, and default quotas are 1 call a second in most Regions - Set the AI services opt-out policy on the AWS organisation before sending customer documents
Mathpix OCR API
- Send app_id and app_key headers from a server. For a client app, mint a short-lived token from v3/app-tokens instead.
- Check error_info.id in the response body. Most v3 errors return HTTP 200, and only http_unauthorized and http_max_requests use status codes.
- If error_info.id is http_max_requests, wait and retry with exponential backoff. Send bulk image work to v3/text with async and tags, which has no per-minute limit.
- Set Improve Mathpix off on the key for sensitive files. The key setting overrides the improve_mathpix flag in a request.
- Ask for a zip output such as mmd.zip when you need page images after 30 days. Image URLs in the Markdown expire.
Questions
Which is better for AI agents, Amazon Textract or Mathpix OCR API?
Amazon Textract scores 76 (BB) on agent readiness against Mathpix OCR API's 61.7 (C), and leads in 6 of 7 scored categories. Mathpix OCR API leads on maintenance & community.
Do Amazon Textract and Mathpix OCR API need an API key?
Both need an API key.
Can an agent call Amazon Textract and Mathpix OCR API without installing anything?
Yes. Amazon Textract has a hosted endpoint at https://textract.us-east-1.amazonaws.com and Mathpix OCR API at https://api.mathpix.com.
Other comparisons with Amazon Textract or Mathpix OCR API
- Adobe PDF Services / PDF Extract API vs Amazon Textract
- Adobe PDF Services / PDF Extract API vs Mathpix OCR API
- Amazon Textract vs Azure Document Intelligence
- Amazon Textract vs Datalab
- Amazon Textract vs Docling
- Amazon Textract vs Extend API + MCP
- Amazon Textract vs Google Cloud Document AI
- Amazon Textract vs LandingAI Agentic Document Extraction
- Amazon Textract vs LlamaParse API + MCP
- Amazon Textract vs Mistral OCR API
- Amazon Textract vs Nanonets API + MCP
- Amazon Textract vs OpenDocRouter
- Amazon Textract vs Reducto API + MCP
- Amazon Textract vs Unstructured API + MCP
- Amazon Textract vs Upstage Document Parse
- Azure Document Intelligence vs Mathpix OCR API
- Datalab vs Mathpix OCR API
- Docling vs Mathpix OCR API
- Extend API + MCP vs Mathpix OCR API
- Google Cloud Document AI vs Mathpix OCR API
- LandingAI Agentic Document Extraction vs Mathpix OCR API
- LlamaParse API + MCP vs Mathpix OCR API
- Amazon Textract vs Mindee API
- Amazon Textract vs Veryfi API + MCP
- Invofox vs Mathpix OCR API
- Mathpix OCR API vs Mindee API
- Mathpix OCR API vs Mistral OCR API
- Mathpix OCR API vs Nanonets API + MCP
- Mathpix OCR API vs OpenDocRouter
- Mathpix OCR API vs Reducto API + MCP
- Mathpix OCR API vs Unstructured API + MCP
- Mathpix OCR API vs Upstage Document Parse
- Mathpix OCR API vs Veryfi API + MCP
- Amazon Textract vs Clairic
- Amazon Textract vs Invofox
Machine-readable
- This page as Markdown
/compare/amazon-textract-vs-mathpix.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/amazon-textract.json·/api/v1/tools/mathpix.json - From a terminal
anchor compare amazon-textract mathpix(the CLI) - Over MCP
compare_tools {"a": "amazon-textract", "b": "mathpix"}at/mcp, no key