OCRRouterGet API key

Mathpix Convert vs TrOCR

TrOCR is cheaper per page; TrOCR is faster; only Mathpix Convert supports math, tables, bounding boxes, confidence.

Mathpix Convertmathpix/convertTrOCRmicrosoft/trocr
TypeOCR APIOpen source
Price7 credits / page1 credit / page
Per 1,000 pages$7.00$1.00
Typical speed1.5 s / page1.2 s / page
Best forMath and scientific papersHandwritten text lines
InputsPDF, imagesimages
Languages30+ languagesEnglish
Max pages per request500100
Tables✓ YesNo
Handwriting✓ Yes✓ Yes
Math✓ YesNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
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

TrOCR

Transformer text recognition model. Reads single text lines, including handwriting.

TrOCR details

Use one, fall back to the other

Request body
{
  "model": "mathpix/convert",
  "fallbacks": ["microsoft/trocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Mathpix Convert alternativesTrOCR alternatives