OCRRouterGet API key

Mathpix Convert vs docTR

DocTR is cheaper per page; docTR is faster; only Mathpix Convert supports math, handwriting, tables.

Mathpix Convertmathpix/convertdocTRmindee/doctr
TypeOCR APIOpen source
Price7 credits / page1 credit / page
Per 1,000 pages$7.00$1.00
Typical speed1.5 s / page0.9 s / page
Best forMath and scientific papersWord-level OCR with positions
InputsPDF, imagesPDF, images
Languages30+ languagesMainly Latin scripts
Max pages per request500500
Tables✓ YesNo
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
FormsNoNo
MultilingualNoNo
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

Mathpix Convert

Specialist for math, science papers and handwritten formulas. Outputs LaTeX.

Mathpix Convert 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": "mathpix/convert",
  "fallbacks": ["mindee/doctr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Mathpix Convert alternativesdocTR alternatives