OCRRouter

Nougat vs Donut

Pick Nougat if you convert English scientific papers with heavy math into Markdown and LaTeX, and your use is non-commercial. Pick Donut if you need JSON field extraction from receipts or forms with a fixed layout, and you can fine-tune it. The main split is task and licence: Nougat's weights are CC-BY-NC and it parses whole pages, while Donut is MIT and must be trained on your own documents first.

Nougatmeta/nougatDonutnaver/donut
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed3.0 s / page1.0 s / page
Best forarXiv-style papersReceipt and form fields after fine-tuning
InputsPDF, imagesimages
LanguagesMainly EnglishEnglish, Chinese, Japanese, Korean
Max pages per request200100
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxesNoNo
ConfidenceNoNo
FormsNo✓ Yes
MultilingualNoNo
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose Nougat if

  • You need whole scientific pages turned into Mathpix-style Markdown, with LaTeX for equations and tables.
  • It was trained on arXiv and PubMed Central papers, so it works on that kind of document without extra training.
  • It ships small and base checkpoints with a simple CLI and API, so you can run it right away.

Choose Donut if

  • You need a commercial product, since the code and model are MIT licensed.
  • You want structured JSON output for receipt or form fields, or document classification, without a separate OCR step.
  • Your documents have a narrow, fixed layout, where a practitioner on Hacker News reports about 200 fine-tuning documents can reach human-level accuracy.

Key differences

NougatDonut
LicenceCode MIT; weights CC-BY-NC, so no commercial useMIT
OutputMarkdown with LaTeXJSON or plain text
Ready to useYes, small and base checkpoints with a CLI and APINo, the base checkpoint is pretrain-only and must be fine-tuned
Best document typesEnglish arXiv-style papers and math-heavy PDFsReceipts, forms and other narrow, fixed-layout documents
LanguagesWorks best on English; Chinese, Russian and Japanese do not workNot published
Known failureRepetition loops on 1.5% of test pages in the paper, more on out-of-domain documents; looping pages can be dropped as MISSING_PAGEMisses tiny text in large images because of input resolution limits
Tooling noteSelf-hosted Python packageTransformers v5 dropped image-to-text pipeline support; load the model directly or use v4

Sources

What each one is

Nougat

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

Nougat details

Donut

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

Donut details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "meta/nougat","fallbacks": ["naver/donut"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Nougat alternativesDonut alternativesBest OCR models in 2026