OCRRouter

Nougat vs Florence-2

Pick Nougat only for English scientific papers where you need Markdown with LaTeX math and tables, and only if your use is non-commercial. Pick Florence-2 for short text in images, scene text or edge devices where you need text with boxes under an MIT licence. The main split is output: Nougat converts a page to structured Markdown, while Florence-2 returns plain text and bounding boxes.

Nougatmeta/nougatFlorence-2microsoft/florence-2
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed3.0 s / page0.8 s / page
Best forarXiv-style papersLightweight OCR with boxes
InputsPDF, imagesimages
LanguagesMainly EnglishEnglish
Max pages per request200500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxesNo✓ Yes
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 Nougat if

  • Choose Nougat when you need LaTeX equations and tables in Mathpix-style Markdown from arXiv-style papers.
  • Choose Nougat for math-heavy English PDFs, since it was trained on arXiv and PubMed Central documents.
  • Choose Nougat if you want a simple CLI and API with small and base checkpoints for a non-commercial project.

Choose Florence-2 if

  • Choose Florence-2 if you need a commercial-friendly MIT licence for both code and model.
  • Choose Florence-2 when you need quadrilateral boxes per text line from OCR_WITH_REGION.
  • Choose Florence-2 for lightweight English OCR on edge devices, at 0.23B (base) or 0.77B (large) parameters, or when the same model must also do captioning, detection and grounding.

Key differences

NougatFlorence-2
LicenceCode MIT; weights CC-BY-NC, so no commercial useMIT
Output formatsMarkdown and LaTeX (Mathpix-compatible .mmd)Plain text and bounding boxes; no Markdown, tables or LaTeX
Best document typeEnglish arXiv-style scientific papers and math-heavy PDFsScene text and short labels; not for full-page document conversion
Model sizeSmall and base checkpoints; parameter count not published0.23B (base), 0.77B (large)
LanguagesWorks best on English; Chinese, Russian and Japanese do not workChinese output mostly wrong because the vocabulary lacks CJK characters; spelling errors on French text in one test
Known failureRepetition loops on 1.5% of test pages in the paper, more on out-of-domain documents; repetition detection can drop pages as MISSING_PAGESpelling errors and missing spaces on cursive handwriting; not suited to handwriting
Price and hostingFree for non-commercial use, self-hosted (you pay for compute)Free, self-hosted via Transformers (you pay for compute)

Sources

What each one is

Nougat

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

Nougat details

Florence-2

Small Microsoft vision model (0.23B and 0.77B) with OCR and OCR-with-regions tasks that return text with boxes.

Florence-2 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 10 files at onceNo file?

Use one, fall back to the other

{"model": "meta/nougat","fallbacks": ["microsoft/florence-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Nougat alternativesFlorence-2 alternativesBest OCR models in 2026