OCRRouterGet API key

Marker vs SmolDocling

SmolDocling is cheaper per page; SmolDocling is faster; only Marker supports multilingual.

Markerdatalab/markerSmolDoclinghuggingface/smoldocling
TypeOCR APIOpen source
Price14 credits / page1 credit / page
Per 1,000 pages$14.00$1.00
Typical speed2.5 s / page1.0 s / page
Best forBooks and research papersVery cheap page conversion
InputsPDF, images, DOCXPDF, images
Languages90+ languagesMainly English
Max pages per request1,000500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
On OCRRouterComing soonComing soon

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

What each one is

Marker

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

Marker details

SmolDocling

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

SmolDocling details

Use one, fall back to the other

Request body
{
  "model": "datalab/marker",
  "fallbacks": ["huggingface/smoldocling"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Marker alternativesSmolDocling alternatives