OCRRouter

SmolDocling vs Nougat

Pick Nougat for English scientific papers where you need math and tables as LaTeX, as long as the work is non-commercial. Pick SmolDocling for general English page conversion with a permissive licence, but treat it as a preview and plan to move to Granite-Docling. The main split is licence and scope: Nougat weights are CC-BY-NC and built for arXiv-style papers, while SmolDocling is Apache-2.0 and covers text, tables, code, formulas and charts.

SmolDoclinghuggingface/smoldoclingNougatmeta/nougat
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page3.0 s / page
Best forVery cheap page conversionarXiv-style papers
InputsPDF, imagesPDF, images
LanguagesMainly EnglishMainly English
Max pages per request500200
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
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 SmolDocling if

  • The licence is Apache-2.0 per the model summary, so there is no non-commercial restriction on the weights.
  • It is 256M parameters and runs at about 0.35 seconds per page on an A100 with vLLM, which suits modest hardware.
  • One model outputs DocTags, Markdown, HTML, JSON, LaTeX and bounding boxes, and handles text, tables, code, formulas and charts with location tags.

Choose Nougat if

  • It is trained on arXiv and PubMed Central papers, so it fits English scientific papers and math-heavy PDFs.
  • It writes equations and tables as LaTeX inside Mathpix-compatible .mmd Markdown.
  • It ships small and base checkpoints with a simple CLI and API, and the code is MIT licensed.

Key differences

SmolDoclingNougat
LicenceApache-2.0 per model summary (metadata tag says CDLA-Permissive-2.0)Code MIT; weights CC-BY-NC, so no commercial use
PricingFree, self-hosted (you pay for compute)Free for non-commercial use, self-hosted (you pay for compute)
Output formatsDocTags, Markdown, HTML, JSON, LaTeX, bounding boxesMarkdown (Mathpix-style .mmd) and LaTeX
Target documentsGeneral page conversion: text, tables (OTSL), code, formulas, chartsScientific PDF pages from arXiv and PubMed Central style papers
LanguagesEnglish onlyWorks best on English; Chinese, Russian and Japanese do not work
BenchmarksTable TEDS structure on FinTabNet 0.82, full-page OCR F1 0.80, OCRBench 338Not published
Known failureEndless token repetition and missing closing tags; Docling issue #1515 reports looping output that makes generation very slowRepetition 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

SmolDocling

Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.

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

Questions

More comparisons

SmolDocling alternativesNougat alternativesBest OCR models in 2026