OCRRouter

Mathpix Convert vs Google Cloud Vision OCR

Pick Mathpix Convert for math-heavy papers and textbooks where you need LaTeX, Markdown or DOCX out of whole PDFs. Pick Google Cloud Vision OCR for cheap, high-volume plain text from photos, scans and handwritten notes, where you only need text and bounding boxes. The main split is output: Mathpix gives structured STEM documents, Cloud Vision gives raw text and geometry that you assemble yourself.

Mathpix Convertmathpix/convertGoogle Cloud Vision OCRgoogle/cloud-vision
TypeOCR APIOCR API
Price7 credits / page2 credits / page
Per 1,000 pages$7.00$2.00
Typical speed1.5 s / page1.0 s / page
Best forMath and scientific papersPhotos and simple scans
InputsPDF, imagesPDF, images
Languages30+ languages100+ languages
Max pages per request5002,000
Tables✓ YesNo
Handwriting✓ Yes✓ Yes
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
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 turns math, tables and chemistry into LaTeX and Markdown, which Cloud Vision does not do.
  • It exports whole PDFs directly to DOCX or LaTeX, so you skip building a reading-order step.
  • It is built for math-heavy papers and textbooks and handles handwritten equations.

Choose Google Cloud Vision OCR if

  • It costs much less for plain text: the first 1,000 units a month are free, then $1.50 per 1,000, dropping to $0.60 per 1,000 above 5M units.
  • It returns a page, block, paragraph, word and symbol hierarchy with bounding polygons, so you can build your own layout logic.
  • Async batch accepts up to 2,000 image files per request, which suits high-volume text extraction.

Key differences

Mathpix ConvertGoogle Cloud Vision OCR
Output formatsLaTeX, Markdown, DOCX, HTML, JSONJSON, plain text, bounding boxes
PricingPDF $0.005 per page up to 1M, $0.0035 above; images $0.002 eachFirst 1,000 units a month free, then $1.50 per 1,000 up to 5M, $0.60 per 1,000 above; each PDF page is one unit
Upfront costOne-time $19.99 non-refundable API key activation feeNo fee, but billing must be enabled even for the free 1,000 units
Tables and layoutTables and chemistry converted to LaTeX and MarkdownNo table or layout structure; Google points to Document AI for forms and tables
PDF handlingWhole PDFs to DOCX or LaTeXPDF and TIFF need async processing via Cloud Storage
HandwritingHandwritten equationsHandwriting via DOCUMENT_TEXT_DETECTION and language hints
Known issueImages with more than 12 text rows may be billed at the PDF page rateNo Markdown output; you rebuild reading order yourself

Sources

What each one is

Mathpix Convert

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

Mathpix Convert details

Google Cloud Vision OCR

Google Cloud's image OCR with text and document text detection, word boxes and confidence.

Google Cloud Vision 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": ["google/cloud-vision"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mathpix Convert alternativesGoogle Cloud Vision OCR alternativesBest OCR models in 2026