OCRRouter

Marker vs Unstructured

Pick Marker if you want to self-host PDF to Markdown conversion for books, papers with equations, or RAG chunking, and your company is under the $5M weight-licence threshold or will pay for a licence. Pick Unstructured if you need to ingest mixed file types (PDF, HTML, Word, PowerPoint, email, images) through one library with an Apache-2.0 licence. The main split is scope: Marker is a focused PDF converter, Unstructured is a multi-format ingestion pipeline.

Markerdatalab/markerUnstructuredunstructured/unstructured
TypeOCR APIOCR API
Price14 credits / page20 credits / page
Per 1,000 pages$14.00$20.00
Typical speed2.5 s / page3.0 s / page
Best forBooks and research papersMixed file types into RAG
InputsPDF, images, DOCXPDF, images, DOCX
Languages90+ languagesMultilingual
Max pages per request1,0001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose Marker if

  • You want Markdown, HTML, JSON block trees, LaTeX or RAG chunks as output from PDFs.
  • You need to run on CPU, Apple Silicon or GPU, including a fast CPU mode with about 18 MB of ONNX weights at 23.6 pages per second.
  • Your documents are books or papers with equations, and Datalab reports 83.7 on olmOCR-bench in vllm mode.

Choose Unstructured if

  • You ingest many file types, including PDFs, HTML, Word, PowerPoint, emails and images, with one library.
  • You want a fully Apache-2.0 open-source library with many connectors, plus 10,000 free hosted pages to start.
  • Your PDFs are born-digital and the fast strategy gives you the speed you need, with Auto, Fast, High-Res and VLM strategies to trade speed for quality.

Key differences

MarkerUnstructured
LicenceCode Apache-2.0; model weights under a modified AI Pubs Open Rail-M licence, free for research, personal use and startups under $5MApache-2.0 for the open-source library; proprietary for the hosted platform
PriceFree self-hosted within the weight licence (you pay for compute); hosted API has about 5,000 free pages per month, paid plans on Datalab's pricing pageLibrary is free; hosted gives the first 10,000 pages free, then $0.015 per page pay-as-you-go; Business is custom
Input scopePDF to Markdown converterPDFs, HTML, Word, PowerPoint, emails and images
Output formatsMarkdown, HTML, JSON, chunks, LaTeX, imagesJSON, HTML, plain text, bounding boxes
Benchmark83.7 on olmOCR-bench (vllm mode) and 85.9 on OmniParseBench, all reported by Datalab; CPU fast mode drops to 66.6 on olmOCR-benchTable cell content 0.426 for the open-source library versus 0.866 hosted, reported by the vendor
Tables and languagesNot publishedhi_res tables can cut off at the edges and drop first letters; table OCR ignores language settings; an extra Tesseract pass on tables adds processing time
Telemetry and commercial limitsWeight licence blocks free commercial use for companies above $5M without a paid licenceLibrary sends usage telemetry by default

Sources

What each one is

Marker

Hosted version of the open-source Marker and Surya models. Strong on books and papers.

Marker details

Unstructured

Document ETL for RAG. Partitions many file types into typed elements; open-source library too.

Unstructured details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "datalab/marker","fallbacks": ["unstructured/unstructured"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Marker alternativesUnstructured alternativesBest OCR models in 2026