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/convert | Google Cloud Vision OCRgoogle/cloud-vision | |
|---|---|---|
| Type | OCR API | OCR API |
| Price | 7 credits / page | 2 credits / page |
| Per 1,000 pages | $7.00 | $2.00 |
| Typical speed | 1.5 s / page | 1.0 s / page |
| Best for | Math and scientific papers | Photos and simple scans |
| Inputs | PDF, images | PDF, images |
| Languages | 30+ languages | 100+ languages |
| Max pages per request | 500 | 2,000 |
| Tables | ✓ Yes | No |
| Handwriting | ✓ Yes | ✓ Yes |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | ✓ Yes |
| Forms | No | No |
| Multilingual | No | ✓ Yes |
| On OCRRouter | Available | Available |
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 Convert | Google Cloud Vision OCR | |
|---|---|---|
| Output formats | LaTeX, Markdown, DOCX, HTML, JSON | JSON, plain text, bounding boxes |
| Pricing | PDF $0.005 per page up to 1M, $0.0035 above; images $0.002 each | First 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 cost | One-time $19.99 non-refundable API key activation fee | No fee, but billing must be enabled even for the free 1,000 units |
| Tables and layout | Tables and chemistry converted to LaTeX and Markdown | No table or layout structure; Google points to Document AI for forms and tables |
| PDF handling | Whole PDFs to DOCX or LaTeX | PDF and TIFF need async processing via Cloud Storage |
| Handwriting | Handwritten equations | Handwriting via DOCUMENT_TEXT_DETECTION and language hints |
| Known issue | Images with more than 12 text rows may be billed at the PDF page rate | No 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 detailsGoogle Cloud Vision OCR
Google Cloud's image OCR with text and document text detection, word boxes and confidence.
Google Cloud Vision OCR detailsTry both on your own file
Run the file once with each model and compare the output.
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