Best of · Web, data & documents
Best document parsing, OCR and extraction APIs for AI agents
The 10 highest-scoring of 21 document parsing, OCR and extraction APIs on the Anchor benchmark, with a pick for each need and where each one falls short. Scores come from public evidence, re-checked as vendors change.
- 21 ranked
- 4 agent-ready
- 18 hosted endpoints
- Updated 23 November 2026
Top three
Picks by need
Worked out from the scores, prices and facts, so they change when the research does.
Schema & documentation
Datalab B
89/100 on schema & documentation, against 82 for the overall leader.
Maintenance & community
Docling B
89/100 on maintenance & community, against 58 for the overall leader.
Transparency & trust
90/100 on transparency & trust, against 85 for the overall leader.
Lowest paid price per 1,000 pages
Datalab B
$0.50 per 1,000 pages, the lowest of the 15 listings here with a paid price in this unit (free allowances aside).
Also OpenDocRouter, $0.73 per 1,000 pages.
Self-hosting under an open licence
Docling B
self-hosted, MIT licence.
Also Unstructured API + MCP, self-hosted, Apache-2 licence.
The shortlist
| # | Tool | Grade | Best for | Price | Where |
|---|---|---|---|---|---|
| 1 | Amazon Textract Amazon Web Services |
BB 76 | 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. | $1.50 / 1k pages | Hosted |
| 2 | Google Cloud Document AI Google Cloud |
BB 73.4 | Agents already on Google Cloud that need OCR, form and table extraction or chunks for retrieval, with IAM, audit logs and EU processing. | $1.50 / 1k pages | Local |
| 3 | LandingAI Agentic Document Extraction LandingAI, Inc. |
BB 71.5 | Agents that need Markdown with block-level page coordinates and schema extraction with citations, in the US or EU. | $0.01 / credit | Hosted |
| 4 | Clairic Cloudflare |
BB 70.8 | Typed fields, estimates and next-step forecasts from emails, invoices, receipts and other text or images inside Cloudflare, each with a null probability and confidence. | Freemium | Hosted |
| 5 | Datalab Endless Labs, Inc. (Datalab) |
B 68.1 | Hosted PDF and Office conversion and schema extraction with citations, from the team behind Marker. | $4 / 1k pages | Hosted |
| 6 | Docling Docling Project (LF AI & Data Foundation, started at IBM Research Zurich) |
B 68 | Self-hosted PDF and Office conversion to Markdown or JSON for RAG and agents that can't send documents out. | Free · OSS | Local |
| 7 | Extend API + MCP Extend |
B 67.4 | Teams building production extraction with evaluation sets and versioned processors, and for agents that need to build or tune extractors as well as run them. | $20 / 1k pages | Hosted |
| 8 | Reducto API + MCP Reducto |
B 66.8 | Messy PDFs, tables and spreadsheets where an agent needs parse, extract and split behind one small MCP. | $10 / 1k pages | Hosted and local |
| 9 | Azure Document Intelligence Microsoft |
B 66.1 | Teams already on Azure that want OCR, layout to Markdown and prebuilt invoice, receipt, identity and tax models with Entra ID and regional processing. | $1.50 / 1k pages | Local |
| 10 | LlamaParse API + MCP LlamaIndex |
B 64.7 | RAG ingestion where cost per page matters and a tier can be picked per document, and for agents that want a small MCP surface. | $1.25 / 1k pages | Hosted |
11 more are ranked in the full table.
How to choose
- Text accuracy on scansTest text accuracy on your own scans, since clean born-digital PDFs hide the errors that matter when an agent reads a faded, skewed or handwritten page.
- Table structure and layoutCheck that tables keep their rows, columns and merged cells, since a flattened table can look correct as text while the figures no longer line up for the agent.
- Page references for citationsLook for page references on each extracted field, so an agent can cite the source page and a person can check a figure against the original document.
- Price per page and file limitsCompare price per page at the volume you expect, and check the file types and sizes accepted, since long scanned PDFs can cost more or fail outright.
How the benchmark tests this category. The same scans, invoices, tables and long PDFs through every API. We score text accuracy, table structure, field extraction, page references, processing time and price per page.
Each one in detail
Amazon Textract
BB 76/100Amazon Textract is AWS's document OCR and analysis API. It reads printed and handwritten text from scans and PDFs and returns tables, form fields, layout elements, answers to queries, and invoice, receipt and identity document fields as JSON.
Verdict 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.
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.
Strengths
- IAM policies grant single operations such as
textract:DetectDocumentText, with temporary credentials, and CloudTrail logs every call without the document bytes or the response - Text detection costs $1.50 per 1,000 pages in US East (N. Virginia) and $0.60 after a million pages a month, published without a login
ClientRequestTokenon theStartoperations returns the sameJobIdfor a repeated call, so a retried submission does not start a second job
Weaknesses
- 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
- Synchronous calls take one page of at most 10 MB. Multipage PDF and TIFF files must sit in S3 and run as asynchronous jobs
- Text detection covers English, French, German, Italian, Portuguese and Spanish only. Handwriting and queries are English only, and vertical text is not read
Price $1.50 / 1k pagesAuth API keyx402 NoHosted
Google Cloud Document AI
BB 73.4/100Google Cloud's service for OCR, layout parsing, chunking, form and table extraction, classification and splitting of documents. Work runs through processors created per project and location. Access is a REST and gRPC API with client libraries in eight languages.
Verdict A public Discovery document with 42 methods, IAM roles that can limit a caller to processing, a fieldMask that trims responses, and a 99.9 per cent SLA on the US and EU endpoints. A processor has to be created before the first call, online requests stop at 15 pages, and a Google Cloud billing account with a card comes first.
Best for Agents already on Google Cloud that need OCR, form and table extraction or chunks for retrieval, with IAM, audit logs and EU processing.
Strengths
- Discovery document for v1 (revision 20261026) with 42 methods and 326 schemas, and descriptions on 952 of 966 properties
fieldMask,imagelessModeand page selectors on the process request limit what comes back and what is billed- The Document AI API User role allows processing only, roles can be granted on one processor, and process calls write Data Access audit logs once enabled
Weaknesses
- An online request reads at most 15 pages (30 with
imagelessMode). Longer files need a batch job through Cloud Storage - A processor must be created in a project and location before any document can be sent, and the endpoint host changes with the location
- No guidance on retrying quota errors was found on the quotas, limits or request pages, and there is no idempotency key
Price $1.50 / 1k pagesAuth OAuthx402 NoLocal
LandingAI Agentic Document Extraction
BB 71.5/100LandingAI's Agentic Document Extraction is a hosted API that parses PDFs, images, Office files and spreadsheets into Markdown with page coordinates, then extracts fields against a JSON schema. Python and TypeScript libraries and a CLI call it.
Verdict Parse, Extract and Ground have a public OpenAPI description, Markdown docs, published credit rates and page limits, and a status page showing no incident in 90 days. The Explore plan's single API key cannot be revoked without support, and the published terms let LandingAI train on customer documents unless Zero Data Retention, a Team and Enterprise setting, is on.
Best for Agents that need Markdown with block-level page coordinates and schema extraction with citations, in the US or EU.
Strengths
- Public OpenAPI 3.1 description of the nine Gen2 operations,
llms.txt,llms-full.txtand a Markdown twin of every docs page - Credit rates published per page and per 1,000 characters, and each response reports the credits it consumed in
metadata.billing - 1,000 free credits on signup with no card, then $0.01 a credit on the Explore and Team plans
Weaknesses
- The Explore plan has one API key that cannot be deleted or revoked. A leaked key is replaced by emailing support
- The published terms let LandingAI use customer materials and output to train its models. Zero Data Retention, which stops that, is a Team and Enterprise setting
- The terms forbid accessing the Solution through any agent, robot or tool LandingAI does not supply, and forbid benchmarking. This matters before any probe is run
Price $0.01 / creditAuth API keyx402 NoHosted
Clairic
BB 70.8/100Clairic is Cloudflare's preview extraction model on Workers AI. It reads text and up to four images and returns typed values (spans, numbers, dates, durations, lists, estimates and forecasts) with a null probability and confidence score, in one pass.
Verdict Clairic's price is public at $0.10 per million input tokens with no output charge, and its docs publish JSON Schemas, limitations and when to use a decision model instead. It is a preview that Cloudflare calls an early checkpoint, served under an unversioned ID with no SLA, and its promised open weights have no date or licence.
Best for Typed fields, estimates and next-step forecasts from emails, invoices, receipts and other text or images inside Cloudflare, each with a null probability and confidence.
Strengths
- $0.10 per million input tokens with no output charge, on the pricing page and the model page, and 10,000 free neurons a day, about 1.1 million input tokens
- Input and output JSON Schemas on the model page, with enums for the nine field types, list items, scale and forecast interval
- The extraction models page says when to use a decision or generative model instead, and has a limitations section and review safeguards
Weaknesses
- Preview only. Cloudflare calls the endpoint an early checkpoint and expects to replace it under the unversioned ID
@cf/cloudflare/clairic - Open weights are promised soon with no date or licence named, and no Clairic repository was public on Hugging Face on 1 November 2026
- The model page's terms supply Clairic as is and let Cloudflare stop supplying it with no refund, credit or other compensation
Price FreemiumAuth API keyx402 NoHosted
Datalab
B 68.1/100Datalab is a hosted document API from the makers of the open-source Marker and Surya projects that converts PDFs, Office files, spreadsheets and images to Markdown, HTML, JSON or chunks, with structured extraction, segmentation, form filling and OCR.
Verdict Datalab's hosted API from the Marker and Surya team converts and extracts documents with published per-1,000-page rates, a monthly free allowance with no card, typed retryable error codes, a written version policy and an active dated changelog. API keys have spend caps but no scopes, and no prompt-injection guidance or disclosure policy was found.
Best for Hosted PDF and Office conversion and schema extraction with citations, from the team behind Marker.
Strengths
- Per-processor rates per 1,000 pages published, such as Convert $4 and Extract $15 plus fees
- Free monthly allowance of $20 on a work email or $10 on a personal one, no card
- Error table marks each code retryable or not, and says to check a known request ID before resubmitting on 500 or 529
Weaknesses
- API keys carry no scopes; spend caps per key are the only limit
- No prompt-injection guidance for document text returned to agents
- No vulnerability disclosure policy or security.txt found; the SOC 2 report comes with the Team plan
Price $4 / 1k pagesAuth API keyx402 NoHosted
Docling
B 68/100Docling is an open-source Python library and CLI that converts PDFs, Office files, HTML, images and audio into a structured DoclingDocument, Markdown or JSON, with layout, table and OCR models, plus a REST server (docling-serve) and an MCP server.
Verdict An MIT Python library with a CLI, a REST server and a 25-tool MCP server converts PDFs, Office files, HTML and scans into structured documents on the user's own machine, with near-daily releases. Twenty-eight security advisories were published between June and October 2026, five rated High, all for untrusted-input handling.
Best for Self-hosted PDF and Office conversion to Markdown or JSON for RAG and agents that can't send documents out.
Strengths
- MIT licence, hosted by the LF AI & Data Foundation, with no telemetry found in the source
- Runs locally, and remote services stay off unless
enable_remote_services=Trueis set - Releases v2.136.0 to v2.148.0 between 9 October and 5 November 2026, with a semantic-release changelog
Weaknesses
- 28 advisories from 2 June to 23 October 2026, five High, including arbitrary file read and write through the opt-in Tectonic TikZ engine
- No llms.txt on the docs site (404)
- docling-serve's only access control is one optional shared API key, off by default
Price Free · OSSAuth Nonex402 NoLocal
Extend API + MCP
B 67.4/100Hosted parse, extract, classify, split and PDF form-fill APIs with versioned processors, evaluation sets and workflows.
Verdict Hosted MCP with OAuth scoped to workspaces and to test or production, a tools filter with nine groups, and keys scoped to one workspace. Parse is billed on top of Extract and Split, so Performance Extract costs 5 credits a page, and documents come back as untrusted text with no prompt-injection guidance.
Best for Teams building production extraction with evaluation sets and versioned processors, and for agents that need to build or tune extractors as well as run them.
Strengths
- Hosted MCP with OAuth scoped to workspaces and to test or production, and a tools filter with nine groups
- Errors carry code, retryable, requestId and a docs link, and 429 guidance names Retry-After and jittered backoff
- Published credit prices at $0.01 a credit and per-plan rate limits, 10,000 free credits to start
Weaknesses
- Parse is billed on top of Extract and Split, so Performance Extract costs 5 credits a page
- MCP loads all 86 tools unless you pass ?tools=, including write and delete tools with no documented confirmation
- No prompt-injection guidance for the untrusted document text it returns, and no audit log documented
Price $20 / 1k pagesAuth OAuth or keyx402 NoHosted
Reducto API + MCP
B 66.8/100Hosted parse, extract, split, classify and edit endpoints for PDFs, scans, spreadsheets and Office files, built on its own r-1 parsing model.
Verdict Nine MCP tools with when-to-use descriptions, jobid:// chaining and SDKs in three languages released on 24 October 2026. Zero data retention, a no-training promise and DELETE endpoints are for Growth and above only, while Standard's terms licence uploaded content to improve the service. Keys carry no scopes.
Best for Messy PDFs, tables and spreadsheets where an agent needs parse, extract and split behind one small MCP.
Strengths
- Nine MCP tools with when-to-use descriptions, jobid:// chaining and URL results for large outputs
- Per-1,000-page list prices for every endpoint, parsing included in Extract and Split
- Coded 429 bodies, and SDKs that retry 429s with backoff
Weaknesses
- Zero data retention, the no-training promise and DELETE endpoints only on Growth and above; Standard retention not stated
- No public changelog for the hosted API
- Nine incidents from 13 August to 1 October 2026, mostly latency on Parse or Extract
Price $10 / 1k pagesAuth API keyx402 NoHosted and local
Azure Document Intelligence
B 66.1/100Microsoft's Azure service for OCR, layout analysis and field extraction from PDFs, images and Office files. It has prebuilt models for invoices, receipts, identity and tax documents, and custom models. Access is a REST API with four SDKs.
Verdict A public OpenAPI document with 27 operations, Markdown output from the layout model, Microsoft Entra ID or header-only keys, and 24-hour retention with a delete call. Every analysis is a two-step asynchronous job, the result can't be trimmed, an Azure subscription with a card comes first, and the service hasn't changed since March 2026.
Best for Teams already on Azure that want OCR, layout to Markdown and prebuilt invoice, receipt, identity and tax models with Entra ID and regional processing.
Strengths
- OpenAPI 2.0 document for version 2024-11-30 in Microsoft's public spec repository, 27 operations, each with an example
- The layout model returns Markdown with headings and tables when
outputContentFormat=markdownis set, and reads PDF, images, DOCX, XLSX, PPTX and HTML - Input and results are deleted 24 hours after an analysis completes, and a delete call removes them sooner
Weaknesses
- Every analysis is asynchronous. A POST returns 202 with
Operation-Location, and the caller polls for the result - The result carries every word and line with polygons, with no parameter to leave them out. Only
pagesnarrows it - No idempotency key. Sending the same POST again starts and bills a second analysis
Price $1.50 / 1k pagesAuth OAuth or keyx402 NoLocal
LlamaParse API + MCP
B 64.7/100LlamaIndex's hosted Parse, Extract, Classify, Split and Index APIs on one LlamaCloud key, billed in credits by tier.
Verdict Pay as you go includes 10,000 free credits a month with no subscription, rate limits are published per endpoint with backoff guidance, and product-scoped MCP endpoints keep the tool list small. Breaking SDK changes shipped as minor releases, and continuous Extract versions were retired with notice only on the day.
Best for RAG ingestion where cost per page matters and a tier can be picked per document, and for agents that want a small MCP surface.
Strengths
- Pay as you go with 10,000 free credits a month and no subscription
- Per-endpoint rate limits published, with the 429 body and backoff with jitter documented
- Product-scoped MCP endpoints with 1 to 5 tools each, OAuth or API key, NA and EU
Weaknesses
- Breaking SDK changes shipped as minor releases (files.get renamed, classify v1 removed)
- Continuous Extract versions were retired on 17 October 2026 with notice only that day
- 429 responses carry no Retry-After header, and job creation has no idempotency key
Price $1.25 / 1k pagesAuth OAuth or keyx402 NoHosted
Head to head
- Amazon Textract vs Google Cloud Document AI BB 76 vs BB 73.4
- Amazon Textract vs LandingAI Agentic Document Extraction BB 76 vs BB 71.5
- Amazon Textract vs Clairic BB 76 vs BB 70.8
- Amazon Textract vs Datalab BB 76 vs B 68.1
- Google Cloud Document AI vs LandingAI Agentic Document Extraction BB 73.4 vs BB 71.5
- Clairic vs Google Cloud Document AI BB 70.8 vs BB 73.4
- Datalab vs Google Cloud Document AI B 68.1 vs BB 73.4
- Clairic vs LandingAI Agentic Document Extraction BB 70.8 vs BB 71.5
- Datalab vs LandingAI Agentic Document Extraction B 68.1 vs BB 71.5
- Clairic vs Datalab BB 70.8 vs B 68.1
Questions
What are the highest-rated document parsing, OCR and extraction APIs for AI agents?
Amazon Textract has the highest benchmark score of the 21 ranked document parsing, OCR and extraction APIs, 76 (BB). Google Cloud Document AI is second with 73.4 (BB).
How many document parsing, OCR and extraction APIs are agent-ready?
4 of the 21 ranked here grade BB or better, the bar for agent-ready on the Anchor benchmark.
Which document parsing, OCR and extraction APIs accept x402 payments?
None of the ranked listings here accepts x402 for its main call yet.
Which of these document parsing, OCR and extraction APIs is cheapest?
By published paid prices, Datalab, at $0.50 per 1,000 pages, the lowest of the 15 listings here with a paid price in this unit (free allowances aside). Plans, volume tiers and free allowances change the sum, so check the listing's price table.
How is this list ranked?
By the Anchor benchmark score out of 100, a weighted mean of the scored categories minus deductions for negative events, from public evidence re-checked as vendors change. Listings cannot pay for a place. The latest assessment behind this page is from 23 November 2026.
How this list is made
The order is the Anchor benchmark score, the same number as on each listing and in the top list. Each listing is graded from public evidence against the benchmark checklist, and the picks above are worked out from those grades, prices and facts. No listing pays for its place, and paid audits or listing help never change a score.
Full ranked table · 235 head-to-head comparisons · Best tools in every category