OCRRouter

Nanonets-OCR vs Unstructured

Pick Nanonets-OCR if you self-host and need printed business documents turned into Markdown, with signatures, watermarks, checkboxes and flowcharts (as Mermaid) tagged. Pick Unstructured if you ingest mixed file types (PDF, HTML, Word, PowerPoint, email) for RAG and want a hosted API or an Apache-2.0 library. Avoid either for hard cases: Nanonets-OCR was not trained on handwriting, and the open-source Unstructured library is weak on tables.

Nanonets-OCRnanonets/nanonets-ocrUnstructuredunstructured/unstructured
TypeOpen sourceOCR API
Price2 credits / page20 credits / page
Per 1,000 pages$2.00$20.00
Typical speed1.8 s / page3.0 s / page
Best forMarkdown with semantic tagsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
LanguagesMultilingualMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxesNo✓ Yes
ConfidenceNoNo
Forms✓ YesNo
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 Nanonets-OCR if

  • It tags signatures, watermarks and image descriptions, and converts checkboxes to unicode symbols.
  • It extracts flowcharts and org charts as Mermaid code and tells inline from display LaTeX equations.
  • It is a 3B model you self-host for free, and the model card reports DocVQA 89.43 and ChartQA 78.56.

Choose Unstructured if

  • It reads PDFs, HTML, Word, PowerPoint, emails and images in one library, with many connectors.
  • You can start on the hosted API with 10,000 free pages, then pay $0.015 per page.
  • Its strategies (Auto, Fast, High-Res, VLM) let you trade speed for quality, and Fast suits born-digital PDFs.

Key differences

Nanonets-OCRUnstructured
What it isOpen image-to-Markdown model fine-tuned from Qwen2.5-VL-3BDocument ETL library and hosted platform that splits files into typed elements
How you run itSelf-host the weights from Hugging FaceSelf-host the open-source library or use the hosted API
LicenceNot stated on the Nanonets-OCR2-3B model cardApache-2.0 library; hosted platform is proprietary
PriceFree, you pay for computeLibrary free; hosted first 10,000 pages free, then $0.015 per page
Output formatsMarkdown, HTML, LaTeX, MermaidJSON, HTML, plain text, bounding boxes
Published benchmarkolmOCR-bench overall 69.5; DocVQA 89.43 (OCR2-3B, authors)Table cell content 0.426 open-source vs 0.866 hosted (vendor's own)
Known failureNot trained on handwriting and can hallucinate; handwriting test saw generation loops with CER up to 2100%; expects a fixed prompthi_res tables cut off at edges and drop first letters; table OCR ignores language settings; library sends telemetry by default

Sources

What each one is

Nanonets-OCR

Open image-to-Markdown model that tags tables, equations, signatures, watermarks and checkboxes.

Nanonets-OCR 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": "nanonets/nanonets-ocr","fallbacks": ["unstructured/unstructured"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Nanonets-OCR alternativesUnstructured alternativesBest OCR models in 2026