OCRRouter

Mathpix Convert vs dots.ocr

Pick Mathpix Convert for math-heavy papers and textbooks that must come out as LaTeX or DOCX, and for handwritten equations, if a hosted API at a per-page price suits you. Pick dots.ocr for multilingual PDFs with mixed tables and text when you can run a 3B model on your own GPU and want MIT-licensed code and no per-page fee. The main split is a paid hosted STEM API versus a free self-hosted layout parser.

Mathpix Convertmathpix/convertdots.ocrrednote/dots-ocr
TypeOCR APIOpen source
Price7 credits / page2 credits / page
Per 1,000 pages$7.00$2.00
Typical speed1.5 s / page1.5 s / page
Best forMath and scientific papersMultilingual document parsing
InputsPDF, imagesPDF, images
Languages30+ languages100+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
MultilingualNo✓ Yes
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 Mathpix Convert if

  • You need whole PDFs of math, tables and chemistry exported directly to LaTeX or DOCX.
  • You have handwritten equations to convert.
  • You want a hosted API with no GPU to run, at $0.005 per PDF page or $0.002 per image.

Choose dots.ocr if

  • You want to self-host under MIT-licensed code and pay only for compute.
  • You need layout boxes, categories and text from one model, with tables as HTML and formulas as LaTeX, across multiple languages.
  • You want published benchmark numbers: 79.1 on olmOCR-bench for the original model and 83.9 for dots.mocr (author-reported).

Key differences

Mathpix Convertdots.ocr
How you run itHosted APISelf-hosted via vLLM or Hugging Face Transformers; a single CUDA GPU with vLLM is the documented path
LicenceProprietaryMIT, with a separate dots.ocr license agreement file in the repository
PricePDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key activation feeFree; you pay for compute
Output formatsLaTeX, Markdown, DOCX, HTML, JSONJSON, Markdown, HTML, LaTeX, bounding boxes, SVG
BenchmarksNot published on general OCR leaderboardsolmOCR-bench 79.1 (dots.ocr) and 83.9 (dots.mocr); OmniDocBench v1.5 text edit distance 0.031 for dots.mocr; all author-reported
Known failureImages with more than 12 text rows may be billed at the PDF page rateRuns of ellipses or underscores can make output repeat endlessly; a table above 1000 grid cells raises an error and drops the page in Docling
Complex tables and formulasBuilt for math, tables and chemistryAuthors say complex tables and formulas remain difficult at this model size

Sources

What each one is

Mathpix Convert

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

Mathpix Convert details

dots.ocr

Single vision model from rednote that does layout detection and content recognition together.

dots.ocr 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": "mathpix/convert","fallbacks": ["rednote/dots-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mathpix Convert alternativesdots.ocr alternativesBest OCR models in 2026