OCRRouterGet API key

Gemini Flash vs Mathpix Convert

Gemini Flash is cheaper per page; Mathpix Convert is faster; only Gemini Flash supports multilingual; only Mathpix Convert supports bounding boxes, confidence.

Gemini Flashgoogle/gemini-flashMathpix Convertmathpix/convert
TypeVision modelOCR API
Price3 credits / page7 credits / page
Per 1,000 pages$3.00$7.00
Typical speed1.6 s / page1.5 s / page
Best forHandwriting and mixed layoutsMath and scientific papers
InputsPDF, imagesPDF, images
Languages100+ languages30+ languages
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
Multilingual✓ YesNo
On OCRRouterAvailableComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Gemini Flash

General vision model with strong handwriting and layout understanding at a low price.

Gemini Flash details

Mathpix Convert

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

Mathpix Convert details

Use one, fall back to the other

Request body
{
  "model": "google/gemini-flash",
  "fallbacks": ["mathpix/convert"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons