OCRRouterGet API key

TrOCR vs Donut

Donut is faster; only TrOCR supports handwriting; only Donut supports forms.

TrOCRmicrosoft/trocrDonutnaver/donut
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.2 s / page1.0 s / page
Best forHandwritten text linesReceipt and form fields after fine-tuning
Inputsimagesimages
LanguagesEnglishEnglish, Chinese, Japanese, Korean
Max pages per request100100
TablesNoNo
Handwriting✓ YesNo
MathNoNo
Bounding boxesNoNo
ConfidenceNoNo
FormsNo✓ Yes
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

Donut

OCR-free document understanding model. Fine-tuned for receipts, forms and document Q&A.

Donut details

Use one, fall back to the other

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

Questions

More comparisons

TrOCR alternativesDonut alternatives