OCRRouter

Marker vs Google Cloud Vision OCR

Pick Marker when you want to turn PDFs of books, papers and equations into Markdown on your own hardware, and your company is under the $5M weight-license limit or will buy a license. Pick Google Cloud Vision OCR for high-volume plain text from photos, labels and handwritten notes through a hosted API. The main split is output: Marker gives Markdown, HTML, JSON and RAG chunks, while Vision returns text and bounding boxes and leaves reading order to you.

Markerdatalab/markerGoogle Cloud Vision OCRgoogle/cloud-vision
TypeOCR APIOCR API
Price14 credits / page2 credits / page
Per 1,000 pages$14.00$2.00
Typical speed2.5 s / page1.0 s / page
Best forBooks and research papersPhotos and simple scans
InputsPDF, images, DOCXPDF, images
Languages90+ languages100+ languages
Max pages per request1,0002,000
Tables✓ YesNo
HandwritingNo✓ Yes
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
Multilingual✓ Yes✓ 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 Marker if

  • You need Markdown, HTML, JSON block trees or RAG chunks from PDFs, and not just raw text.
  • You must run on your own machine: Marker works on GPU, CPU or Apple Silicon, and fast mode runs on CPU with about 18 MB of ONNX weights.
  • You work with books and papers that contain equations, and you want LaTeX output.

Choose Google Cloud Vision OCR if

  • You process very large volumes of plain text: the price falls to $0.60 per 1,000 pages above 5M units, and the first 1,000 units each month are free.
  • You read photos of signs and labels, or handwritten notes, using DOCUMENT_TEXT_DETECTION with language hints.
  • You want word, paragraph and symbol bounding polygons, and async batch of up to 2,000 image files per request.

Key differences

MarkerGoogle Cloud Vision OCR
How you run itLocal on GPU, CPU or Apple Silicon; Datalab also sells a hosted APIHosted API only, over REST or client libraries on Google Cloud
LicenceCode Apache-2.0; weights under a modified AI Pubs Open Rail-M license, free for research, personal use and startups under $5MProprietary
PriceFree self-hosted within the weight license (you pay for compute); hosted API has about 5,000 free pages per monthFirst 1,000 units per month free, then $1.50 per 1,000 units up to 5M, $0.60 per 1,000 above
Output formatsMarkdown, HTML, JSON, chunks, LaTeX, imagesJSON, plain text, bounding boxes; no Markdown, you rebuild reading order yourself
Tables and layoutNot publishedNo table or layout structure; Google points to Document AI for forms and tables
Benchmark83.7 on olmOCR-bench in vllm mode, 66.6 in CPU fast mode (Datalab's own numbers)Not published
Setup frictionCommercial use blocked above $5M without a paid licenseBilling must be enabled even for the free units; PDF and TIFF need async processing via Cloud Storage

Sources

What each one is

Marker

Hosted version of the open-source Marker and Surya models. Strong on books and papers.

Marker 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": "datalab/marker","fallbacks": ["google/cloud-vision"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Marker alternativesGoogle Cloud Vision OCR alternativesBest OCR models in 2026