OCRRouterGet API key

LlamaParse vs docTR

DocTR is cheaper per page; docTR is faster; only LlamaParse supports tables, math, multilingual; only docTR supports confidence.

LlamaParsellamaindex/llamaparsedocTRmindee/doctr
TypeOCR APIOpen source
Price5 credits / page1 credit / page
Per 1,000 pages$5.00$1.00
Typical speed3.0 s / page0.9 s / page
Best forRAG ingestionWord-level OCR with positions
InputsPDF, images, DOCXPDF, images
Languages80+ languagesMainly Latin scripts
Max pages per request1,000500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
Multilingual✓ YesNo
On OCRRouterComing soonComing soon

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

What each one is

LlamaParse

Document parser built for RAG pipelines, with several quality tiers.

LlamaParse details

docTR

Open-source OCR library from Mindee with separate text detection and recognition models.

docTR details

Use one, fall back to the other

Request body
{
  "model": "llamaindex/llamaparse",
  "fallbacks": ["mindee/doctr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

LlamaParse alternativesdocTR alternatives