Open source under Apache-2.0

The open-source alternative to Reducto.

The document parser built around Claude Haiku, or any model you choose. Turn PDFs, scans and forms into structured data, with a citation back to the page for every value.

Using Claude Code, Codex or Cursor? Let your agent set it up with one prompt.

6×
more table rows than Reducto on long reports
79%
of values found on 10-Q filings, Reducto 49%
4–14×
cheaper per document than Reducto
1 URL
to switch from Reducto
number"INV-2041"
page 1, line 2, confidence high
  • Citations for every value
  • Claude Haiku 5.5 by default, any model you like
  • Extraction into your own types
  • Drop-in Reducto API
  • Runs on your own model account

invoice.pdf

Northwind Freight Ltd.INVOICE

Invoice no. INV-2041
Issued 01 Mar 2026

Bill to Harbor Supply Co.

DescriptionAmount
Freight to Bremen1,200.00
Handling and customs375.00

Total due £1,575.00

readanydoc.extract("invoice.pdf", schema=Invoice)

{
  "number": "INV-2041",
  "issued": "2026-03-01",
  "customer": "Harbor Supply Co.",
  "lines": [
    { "item": "Freight to Bremen", "amount": 1200.0 },
    { "item": "Handling and customs", "amount": 375.0 }
  ],
  "total": 1575.0
}

Hover any value to see where on the page it was read.

Works with

  • Claude
  • OpenAI
  • vLLM and any OpenAI-compatible server
  • Reducto's Python SDK
  • Docker

Reducto's product, without the lock-in.

Same API as Reducto

Point Reducto's own SDK at your ReadAnyDoc server. Parse, extract, split, classify, edit, jobs and webhooks answer in the same format, so the code you have keeps working.

Your model, your account

Documents go straight to the model provider you pick, under your own key. Claude Haiku 5.5 by default, and any Claude, OpenAI or self-hosted model when you want it.

A fraction of the price

$0.003 to $0.005 a page with the full engine, or $0.001 to $0.002 with the model alone. Reducto charges $0.01. Nothing is added on top of your model bill.

One library for every document task.

Parse

Pages become typed blocks (text, tables, form fields, figures) with their positions, plus Markdown for your LLM or search index.

Extract

Hand it a pydantic class or a JSON schema. Get it back filled in, with a citation for every value.

Split

Find where each document starts and ends inside one combined PDF.

Classify

Label documents by type, with the text that supports the label.

Edit

Fill in PDF forms, including flat and scanned ones.

Jobs and webhooks

Send large batches in the background and get notified as each one finishes.

What happens to each page.

The model does the reading. ReadAnyDoc does everything a model alone does not: it checks the work, finds where every value sits, and returns it in the shape you asked for.

  1. Open

    PDF, scan, photo, Word, Excel, PowerPoint or email, split into pages.

  2. Look

    A small layout model on your CPU finds tables, forms, figures and headers.

  3. Read

    Claude reads each page. Scans get zoomed re-reads that must agree before a digit changes.

  4. Check

    Table grids and printed totals are verified without a model. Problems become warnings.

  5. Cite

    Every word and table cell is matched to its position, so every value can show its source.

Long documents, read to the last row.

Give it a schema, as a pydantic class or a JSON Schema. ReadAnyDoc reads every page, asks the model for every field, and returns your exact shape with the place on the page each value came from. Below is one real run, step by step: ADP's 43-page quarterly report.

Every page is read first.

Claude reads up to 16 pages at a time. A small layout model on your CPU marks the tables and forms, so each page comes back as typed blocks with their positions. Page 3, for example:

Table
Revenues, other than interest on funds held for clients and PEO revenues3,114.8
Interest on funds held for clients272.8
PEO revenues1,660.8

This run: 43 pages, 48 model calls, $0.23, about 4 minutes. Reducto's Extract on the same report: $0.86.

A real document, unedited.

The US government's sample mortgage Loan Estimate, run through ReadAnyDoc once. All eleven fields came back right, and every box below is a citation it returned. The one yes or no answer that is not printed as a single word is marked low confidence instead of pretending.

The Loan Estimate page with a green box around each extracted value: lender, applicants, property, sale price, loan amount, interest rate, monthly payment, closing costs and cash to close
# about 1 cent, one call
out = readanydoc.extract("loan_estimate.pdf",
                         schema=LoanEstimate)

out.data.loan_amount          # 162000.0
out.data.interest_rate_percent # 3.875
out.citations["loan_amount"]
# text "162,000", page 1,
# box left .32 top .29, confidence high
A faded typewritten printer's invoice from 1904
Also: a printer's invoice from 1904. The faded scan comes back as a clean table. The cents of the total have faded away, so it says [illegible] rather than guess.

Measured against Reducto, in public.

ReadAnyDoc against Reducto on public test sets, the same files and the same requests to both. Each benchmark's own grader or plain code scored the output. No AI judge. Higher is better unless marked.

Long reportstable rows extracted, 6 reports (LongExtract)
Reducto9.1%
ReadAnyDoc56.4%
10-Q and 10-K filingsanswer-key values found, 5 filings (ExtractBench)
Reducto48.9%
ReadAnyDoc79.1%
Cost per filingUS dollars, lower is better
Reducto$1.24
ReadAnyDoc$0.34

Extraction

Test setReductoReadAnyDoc
Long reports6 reports, table rows extracted9.1%56.4%
10-Q and 10-K filings5 filings of 43 to 82 pages, values found48.9%79.1%
Research papers3 papers, values found49.9%68.4%
Credit agreements3 agreements of 97 to 218 pages83.3%82.2%
Invoices20: photos, scans, handwriting, credit notes99.8%99.8%
Commercial contracts (CUAD)10 contracts, against lawyers' answersnot run86.5%
Cost per document$0.027 to $2.83$0.0045 to $0.44

Parsing

BenchmarkReductoReadAnyDoc
olmOCR-bench1,403 pages, overall score80.985.4
OmniDocBench1,651 pages, text error, lower is better0.0950.050
RD-TableBench1,000 tables, Reducto's own benchmark88.8588.84
FUNSD199 scanned forms, question and answer pairs78.677.4
OmniDocBench layoutblock types right84.679.0
Price per page$0.010$0.003–0.005

Reducto is still ahead on page layout, formulas, precision on quarterly filings (we write more values than the answer key holds), and speed (a few seconds a page against 20 to 50). We publish those next to our wins.

Running in a minute.

Use it as a Python library with no server at all, or run the server and call it from any language. Switching from Reducto is one line.

Or let your coding agent do it

Paste this into Claude Code, Codex or Cursor. It installs ReadAnyDoc, tests it on one of your files and wires it into your project. Your API key stays in .env, never in the chat.

Want it inside Claude or Cursor as tools instead? Run it as an MCP server.

# as a library
import readanydoc

result = readanydoc.parse("statement.pdf")
invoice = readanydoc.extract("invoice.pdf", schema=Invoice)

# or with Reducto's SDK, pointed at your server
client = Reducto(api_key="...",
                 base_url="http://localhost:8000")

Questions.

Is it really free?

Yes. ReadAnyDoc is Apache-2.0. You pay only your model provider for the calls it makes, and every result tells you what those calls cost.

Which models can I use?

Any Claude model, OpenAI models, or a model you host behind an OpenAI-compatible server such as vLLM. Choose the model, effort and request options per call. The benchmarks use Claude Haiku 5.5, with Sonnet 5.5 for handwriting.

Is it as good as Reducto?

Ahead on reading text, level on tables and forms, behind on page layout, formulas and speed. The table above links to every benchmark and the full method.

Where do my documents go?

To your machine and to the model provider you configure, under your account. Nothing comes to us. With a self-hosted model, nothing leaves your network.

Do I need to run a server?

No. Install the library and call it from Python. Run the server only if you want Reducto's API or need to call it from another language.

What is the difference between engine and model only?

Model only sends each page to the model once: cheapest and fastest. The engine adds layout, form fields, table checks, zoomed re-reads of scans and word-level citations, for two to three times the model cost.

Built in the open.

A star is the quickest way to help: it is how other developers find an open-source project. Ask a question, suggest a document type to support, or show what you built.

Try it on your own documents.