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/marker | Google Cloud Vision OCRgoogle/cloud-vision | |
|---|---|---|
| Type | OCR API | OCR API |
| Price | 14 credits / page | 2 credits / page |
| Per 1,000 pages | $14.00 | $2.00 |
| Typical speed | 2.5 s / page | 1.0 s / page |
| Best for | Books and research papers | Photos and simple scans |
| Inputs | PDF, images, DOCX | PDF, images |
| Languages | 90+ languages | 100+ languages |
| Max pages per request | 1,000 | 2,000 |
| Tables | ✓ Yes | No |
| Handwriting | No | ✓ Yes |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | No | ✓ Yes |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ 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 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
| Marker | Google Cloud Vision OCR | |
|---|---|---|
| How you run it | Local on GPU, CPU or Apple Silicon; Datalab also sells a hosted API | Hosted API only, over REST or client libraries on Google Cloud |
| Licence | Code Apache-2.0; weights under a modified AI Pubs Open Rail-M license, free for research, personal use and startups under $5M | Proprietary |
| Price | Free self-hosted within the weight license (you pay for compute); hosted API has about 5,000 free pages per month | First 1,000 units per month free, then $1.50 per 1,000 units up to 5M, $0.60 per 1,000 above |
| Output formats | Markdown, HTML, JSON, chunks, LaTeX, images | JSON, plain text, bounding boxes; no Markdown, you rebuild reading order yourself |
| Tables and layout | Not published | No table or layout structure; Google points to Document AI for forms and tables |
| Benchmark | 83.7 on olmOCR-bench in vllm mode, 66.6 in CPU fast mode (Datalab's own numbers) | Not published |
| Setup friction | Commercial use blocked above $5M without a paid license | Billing 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 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": "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