OCRmyPDF vs Nougat
Pick OCRmyPDF to make scanned PDF archives searchable as PDF/A, including office scanner pipelines, and when you need a licence that allows commercial use. Pick Nougat to turn English scientific papers into Markdown with LaTeX math, but only for non-commercial work. The main split is the output: a text layer inside the same PDF versus Markdown and LaTeX.
OCRmyPDFocrmypdf/ocrmypdf | Nougatmeta/nougat | |
|---|---|---|
| Type | Open source | Open source |
| Price | 1 credit / page | 2 credits / page |
| Per 1,000 pages | $1.00 | $2.00 |
| Typical speed | 1.0 s / page | 3.0 s / page |
| Best for | Searchable PDFs from scans | arXiv-style papers |
| Inputs | PDF, images | PDF, images |
| Languages | 100+ languages (via Tesseract) | Mainly English |
| Max pages per request | 1,000 | 200 |
| Tables | No | ✓ Yes |
| Handwriting | No | No |
| Math | No | ✓ Yes |
| Bounding boxes | No | No |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | No |
| On OCRRouter | Available | Available |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
Which to choose
Choose OCRmyPDF if
- You need searchable PDF/A output for archiving, and it is validated by default.
- You need to cover 100+ languages through Tesseract language packs and run on CPU only.
- You are building a commercial product, since the tool is licensed MPL-2.0.
Choose Nougat if
- You are converting English arXiv-style papers and need equations and tables as LaTeX in Mathpix-style Markdown.
- Your documents look like the arXiv and PubMed Central papers it was trained on.
- Your use is non-commercial, so the CC-BY-NC weights are acceptable.
Key differences
| OCRmyPDF | Nougat | |
|---|---|---|
| Licence | MPL-2.0 | Code MIT; weights CC-BY-NC, so no commercial use |
| Output | Searchable PDF/A and plain text | Markdown (.mmd) and LaTeX |
| Layout, tables, math | Adds no layout, table or Markdown output | Outputs LaTeX for equations and tables |
| Languages | 100+ via Tesseract language packs | Works best on English; Chinese, Russian and Japanese do not work |
| Hardware | CPU only, spread across all cores | Not published |
| Known failure | Hangs on PDFs whose forms share one Resources dictionary (issue #1763); --skip-text with default PDF/A output removes form fields (issue #1790) | Repetition loops on 1.5% of test pages, more on out-of-domain documents; looping pages can be dropped as MISSING_PAGE (issue #11) |
| Benchmarks | Not published | Not published |
Sources
- OCRmyPDF GitHub README
- Issue #1790 form fields
- Issue #1763 hang
- Nougat GitHub README
- Nougat paper
- Issue #11 repetitions
What each one is
OCRmyPDF
Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.
OCRmyPDF detailsTry 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": "ocrmypdf/ocrmypdf","fallbacks": ["meta/nougat"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
OCRmyPDF vs DonutOCRmyPDF vs MonkeyOCRRapidOCR vs NougatEasyOCR vs NougatMistral OCR vs OCRmyPDFMistral OCR vs NougatSurya vs NougatHunyuan OCR vs Nougat
OCRmyPDF alternativesNougat alternativesBest OCR models in 2026