OCRRouterGet API key

TrOCR vs Nougat

TrOCR is cheaper per page; TrOCR is faster; only TrOCR supports handwriting; only Nougat supports tables, math.

TrOCRmicrosoft/trocrNougatmeta/nougat
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.2 s / page3.0 s / page
Best forHandwritten text linesarXiv-style papers
InputsimagesPDF, images
LanguagesEnglishMainly English
Max pages per request100200
TablesNo✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxesNoNo
ConfidenceNoNo
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

TrOCR

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

TrOCR details

Nougat

Meta's model that converts academic PDFs to Markdown with LaTeX math.

Nougat details

Use one, fall back to the other

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

Questions

More comparisons

TrOCR alternativesNougat alternatives