Marker vs OCR.space
Pick Marker if you want to self-host PDF to Markdown conversion for books, papers with equations, or RAG chunking, and your company is under the $5M weight-license limit or will pay for a license. Pick OCR.space if you want a hosted API with a free tier of 25,000 requests per month for prototypes, hobby projects, or making scanned PDFs searchable. The main split is deployment and licence: Marker runs on your hardware with open code, OCR.space is a proprietary hosted service with file size and page limits.
Markerdatalab/marker | OCR.spaceocrspace/ocr-space | |
|---|---|---|
| Type | OCR API | OCR API |
| Price | 14 credits / page | 1 credit / page |
| Per 1,000 pages | $14.00 | $1.00 |
| Typical speed | 2.5 s / page | 1.5 s / page |
| Best for | Books and research papers | Cheap simple OCR |
| Inputs | PDF, images, DOCX | PDF, images |
| Languages | 90+ languages | 20+ languages |
| Max pages per request | 1,000 | 100 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | No | No |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | No | No |
| 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 can run it locally on GPU, CPU or Apple Silicon, and fast mode on CPU needs only about 18 MB of ONNX weights.
- It outputs Markdown, HTML, JSON block trees, RAG chunks, LaTeX and images, which suits books and papers with equations.
- Code is Apache-2.0 and self-hosting is free within the weight licence, so you pay only for compute.
Choose OCR.space if
- The free tier gives 25,000 requests per month with no hardware to run.
- Engine 3 covers 200+ languages, tables, handwriting and checkboxes.
- It returns searchable PDFs and per-word overlay coordinates, and PRO plans carry a 100% uptime or money back SLA.
Key differences
| Marker | OCR.space | |
|---|---|---|
| How you run it | Self-hosted on GPU, CPU or Apple Silicon; Datalab also sells a hosted API | Hosted API only; an on-premise version is sold separately |
| Licence | Code Apache-2.0; weights under a modified AI Pubs Open Rail-M licence, free for research, personal use and startups under $5M | Proprietary |
| Price | Free self-hosted within the weight licence; hosted API includes about 5,000 free pages per month | Free: 25,000 requests/month. PRO $30/month for 300,000 requests. PRO PDF $60/month. Enterprise from $999/month |
| File limits | Not published | Free: 1 MB and 3 PDF pages. PRO: 5 MB. PRO PDF: 100 MB+, 999+ pages |
| Output formats | Markdown, HTML, JSON, chunks, LaTeX, images | JSON, plain text, bounding boxes, searchable PDF, Markdown |
| Benchmark | 83.7 on olmOCR-bench in vllm mode and 66.6 in CPU fast mode, both reported by Datalab | Not published |
| Known weak points | Weights block free commercial use for companies above $5M; CPU fast mode scores lower than vllm mode | Free searchable PDFs are watermarked; Engine 3 is slower on large files with less precise coordinates; Engine 2 does not support Greek |
Sources
What each one is
Marker
Hosted version of the open-source Marker and Surya models. Strong on books and papers.
Marker detailsOCR.space
Low-cost OCR API with a large free tier. Returns text, word boxes and searchable PDFs.
OCR.space 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": ["ocrspace/ocr-space"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Marker alternativesOCR.space alternativesBest OCR models in 2026