OCRRouter

Mathpix Convert vs InternVL3.5

Pick Mathpix Convert for math-heavy papers and textbooks, handwritten equations, and PDFs you want as LaTeX or DOCX through a hosted API. Pick InternVL3.5 if you want to self-host an Apache-2.0 model, choose a size from 1B to 241B, and use it for document question answering. The main split is a priced STEM-focused API against a free general vision language model where you pay for GPUs.

Mathpix Convertmathpix/convertInternVL3.5opengvlab/internvl
TypeOCR APIVision model
Price7 credits / page2 credits / page
Per 1,000 pages$7.00$2.00
Typical speed1.5 s / page3.0 s / page
Best forMath and scientific papersSelf-hosted document understanding
InputsPDF, imagesimages
Languages30+ languagesMultilingual
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
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

  • It is built for STEM content, turning math, tables and chemistry into LaTeX and Markdown.
  • It exports whole PDFs directly to DOCX and LaTeX, plus HTML and JSON.
  • It handles handwritten equations and needs no GPUs, since it is a hosted API.

Choose InternVL3.5 if

  • It is Apache-2.0 licensed and free to self-host, so you pay only for compute.
  • It comes in nine sizes from 1B to 241B-A28B, so you can trade accuracy for cost.
  • It suits document question answering and self-hosted multimodal pipelines, and models up to 30B run on a single A100.

Key differences

Mathpix ConvertInternVL3.5
How you run itHosted APISelf-host with Transformers, LMDeploy or vLLM
LicenceProprietaryApache-2.0
PricePDF $0.005 per page (0-1M), $0.0035 above 1M; images $0.002 each; one-time $19.99 API key feeFree; you pay for compute
Output formatsLaTeX, Markdown, DOCX, HTML, JSONPlain text, Markdown, JSON
Best document typesMath-heavy papers and textbooks, handwritten equations, chemistryDocument question answering over general documents
HardwareNone to manageUp to 30B on one A100; 38B needs two A100s; 241B-A28B needs eight A100s
Known limitsImages with more than 12 text rows may be billed at the PDF page rate; billed monthly in arrears; no published accuracy benchmark on general OCR leaderboardsNo bounding boxes or layout output by default; OCR scores are published only as chart images

Sources

What each one is

Mathpix Convert

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

Mathpix Convert details

InternVL3.5

Shanghai AI Lab's open vision-language family (1B to 241B, August 2025), strong on OCR and document benchmarks.

InternVL3.5 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": ["opengvlab/internvl"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mathpix Convert alternativesInternVL3.5 alternativesBest OCR models in 2026