OCRRouterGet API key

Mathpix Convert vs SmolDocling

SmolDocling is cheaper per page; SmolDocling is faster; only Mathpix Convert supports handwriting, confidence.

Mathpix Convertmathpix/convertSmolDoclinghuggingface/smoldocling
TypeOCR APIOpen source
Price7 credits / page1 credit / page
Per 1,000 pages$7.00$1.00
Typical speed1.5 s / page1.0 s / page
Best forMath and scientific papersVery cheap page conversion
InputsPDF, imagesPDF, images
Languages30+ languagesMainly English
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
MultilingualNoNo
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

Mathpix Convert

Specialist for math, science papers and handwritten formulas. Outputs LaTeX.

Mathpix Convert 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": "mathpix/convert",
  "fallbacks": ["huggingface/smoldocling"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Mathpix Convert alternativesSmolDocling alternatives