OCRRouter

Marker vs Nougat

Pick Marker for self-hosted PDF to Markdown across mixed documents, RAG chunking, or when you may want a hosted API. Pick Nougat only for English, math-heavy arXiv-style papers where you need LaTeX output and the use is non-commercial. The main split is scope and licence: Marker has several output formats and a startup-friendly licence, while Nougat is limited to scientific papers and its weights bar commercial use.

Markerdatalab/markerNougatmeta/nougat
TypeOCR APIOpen source
Price14 credits / page2 credits / page
Per 1,000 pages$14.00$2.00
Typical speed2.5 s / page3.0 s / page
Best forBooks and research papersarXiv-style papers
InputsPDF, images, DOCXPDF, images
Languages90+ languagesMainly English
Max pages per request1,000200
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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 Marker if

  • You need output beyond Markdown and LaTeX: HTML, JSON block trees, RAG chunks or images.
  • You have no GPU: fast mode runs on CPU with about 18 MB of ONNX weights at 23.6 pages per second, and it also runs on Apple Silicon.
  • You want a hosted option: Datalab's API includes about 5,000 free pages per month.

Choose Nougat if

  • Your input is English arXiv or PubMed Central style papers, which is what it was trained on.
  • You want equations and tables as LaTeX in Mathpix-compatible .mmd Markdown.
  • You want a small package with small and base checkpoints and a simple CLI and API, and your use is non-commercial.

Key differences

MarkerNougat
LicenceCode Apache-2.0; weights under a modified AI Pubs Open Rail-M licence (free for research, personal use and startups under $5M)Code MIT; weights CC-BY-NC, so no commercial use
How you run itSelf-host on GPU, CPU or Apple Silicon (MPS), or use Datalab's hosted APISelf-hosted Python package only
PriceFree self-hosted within the weight licence; hosted API has about 5,000 free pages per month, then paid plansFree for non-commercial use, self-hosted
Output formatsMarkdown, HTML, JSON, chunks, LaTeX, imagesMarkdown (.mmd) and LaTeX
Benchmark83.7 on olmOCR-bench in vllm mode, 66.6 in CPU fast mode (Datalab's own numbers)Not published
LanguagesNot publishedWorks best on English; README says Chinese, Russian and Japanese do not work
Known failureCPU fast mode scores lower (66.6 vs 83.7 in vllm mode)Repetition loops on 1.5% of test pages, more on out-of-domain documents; repetition detection can drop pages as MISSING_PAGE

Sources

What each one is

Marker

Hosted version of the open-source Marker and Surya models. Strong on books and papers.

Marker details

Nougat

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

Nougat 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": "datalab/marker","fallbacks": ["meta/nougat"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Marker alternativesNougat alternativesBest OCR models in 2026