Marker vs SmolDocling
Pick Marker for self-hosted PDF to Markdown, especially books and papers with equations, and for RAG chunking. It has published benchmarks and a hosted API, and its fast mode runs on CPU. Pick SmolDocling only for small English experiments on modest hardware, since it is a preview release and the authors point users to Granite-Docling.
Markerdatalab/marker | SmolDoclinghuggingface/smoldocling | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 14 credits / page | 1 credit / page |
| Per 1,000 pages | $14.00 | $1.00 |
| Typical speed | 2.5 s / page | 1.0 s / page |
| Best for | Books and research papers | Very cheap page conversion |
| Inputs | PDF, images, DOCX | PDF, images |
| Languages | 90+ languages | Mainly English |
| Max pages per request | 1,000 | 500 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | No | No |
| Math | ✓ Yes | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | No |
| 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
- Marker reports 83.7 on olmOCR-bench in vllm mode, and it outputs Markdown, HTML, JSON block trees and RAG chunks.
- Fast mode runs on CPU at 23.6 pages per second with about 18 MB of ONNX weights, though the score drops to 66.6 on olmOCR-bench.
- Datalab sells a hosted API with about 5,000 free pages per month, so you can skip running it yourself.
Choose SmolDocling if
- It has 256M parameters, small enough for modest hardware, and runs at about 0.35 seconds per page on an A100 with vLLM.
- The Apache-2.0 licence (per the model summary) has no revenue cap, while Marker's weights block free commercial use for companies above $5M.
- One model handles text, tables, code, formulas and charts, and it outputs DocTags with bounding boxes.
Key differences
| Marker | SmolDocling | |
|---|---|---|
| Licence | Code Apache-2.0; weights under a modified AI Pubs Open Rail-M licence, free for research, personal use and startups under $5M | Apache-2.0 per the model summary (the metadata tag says CDLA-Permissive-2.0) |
| How you run it | Self-host on GPU, CPU or Apple Silicon, or use the Datalab hosted API | Self-host only |
| Price | Free self-hosted within the weight licence; hosted API has about 5,000 free pages per month, then paid plans | Free self-hosted; you pay for compute |
| Output formats | Markdown, HTML, JSON, chunks, LaTeX, images | DocTags, Markdown, HTML, JSON, LaTeX, bounding boxes |
| Benchmarks | olmOCR-bench 83.7 and OmniParseBench 85.9 in vllm mode, all reported by Datalab | Table TEDS 0.82 on FinTabNet, full-page OCR F1 0.80, OCRBench 338, all reported by the authors |
| Languages | Not published | English only |
| Known failure | CPU fast mode drops to 66.6 on olmOCR-bench | Endless token repetition and missing closing tags; output loops on some images (Docling issue #1515) |
| Status | Maintained, with a hosted option | Preview release, superseded by Granite-Docling |
Sources
- Marker GitHub README
- Datalab pricing
- SmolDocling model card
- SmolDocling paper
- Docling issue #1515
- Granite-Docling comparison table
What each one is
Marker
Hosted version of the open-source Marker and Surya models. Strong on books and papers.
Marker detailsSmolDocling
Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.
SmolDocling detailsTry 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": ["huggingface/smoldocling"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Marker vs MonkeyOCRMarker vs Granite DoclingAmazon Textract vs SmolDoclingReducto Parse vs SmolDoclingMarker vs EasyOCRMarker vs InternVL3.5Marker vs docTRSmolDocling vs Nougat
Marker alternativesSmolDocling alternativesBest OCR models in 2026