OCRRouterGet API key

TrOCR vs Nanonets-OCR

TrOCR is cheaper per page; TrOCR is faster; only TrOCR supports handwriting; only Nanonets-OCR supports tables, math, forms, multilingual.

TrOCRmicrosoft/trocrNanonets-OCRnanonets/nanonets-ocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.2 s / page1.8 s / page
Best forHandwritten text linesMarkdown with semantic tags
InputsimagesPDF, images
LanguagesEnglishMultilingual
Max pages per request100500
TablesNo✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxesNoNo
ConfidenceNoNo
FormsNo✓ Yes
MultilingualNo✓ Yes
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

TrOCR

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

TrOCR details

Nanonets-OCR

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

Nanonets-OCR details

Use one, fall back to the other

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

Questions

More comparisons

TrOCR alternativesNanonets-OCR alternatives