SmolDocling vs Donut
Pick SmolDocling if you want to turn English pages into Markdown, HTML or JSON with bounding boxes and are only experimenting, since it is a preview release. Pick Donut if your documents are narrow and fixed-layout, such as receipts or forms, and you can fine-tune it to extract fields as JSON. The main split: SmolDocling converts whole pages, while Donut is a base model that does nothing useful until you train it.
SmolDoclinghuggingface/smoldocling | Donutnaver/donut | |
|---|---|---|
| Type | Open source | Open source |
| Price | 1 credit / page | 1 credit / page |
| Per 1,000 pages | $1.00 | $1.00 |
| Typical speed | 1.0 s / page | 1.0 s / page |
| Best for | Very cheap page conversion | Receipt and form fields after fine-tuning |
| Inputs | PDF, images | images |
| Languages | Mainly English | English, Chinese, Japanese, Korean |
| Max pages per request | 500 | 100 |
| Tables | ✓ Yes | No |
| Handwriting | No | No |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | No |
| Confidence | No | No |
| Forms | No | ✓ Yes |
| Multilingual | No | 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 SmolDocling if
- It converts full pages and outputs DocTags, Markdown, HTML, JSON, LaTeX and bounding boxes.
- It runs at about 0.35 seconds per page on an A100 with vLLM, and its 256M parameters fit modest hardware.
- One model handles text, tables, code, formulas and charts with location tags, with no training step.
Choose Donut if
- It is MIT licensed, and the Apache-2.0 vs MIT question does not come up with SmolDocling's mixed licence signals (Apache-2.0 in the summary, CDLA-Permissive-2.0 in the metadata tag).
- After fine-tuning it extracts receipt and form fields straight to JSON, with no external OCR step.
- A Hacker News practitioner reports that about 200 documents of fine-tuning can reach human-level accuracy on narrow data.
Key differences
| SmolDocling | Donut | |
|---|---|---|
| Licence | Apache-2.0 per model summary; metadata tag says CDLA-Permissive-2.0 | MIT |
| Ready to use | Yes, but a preview release; authors point users to Granite-Docling | No. The base checkpoint is pretrain-only and must be fine-tuned first |
| Output formats | DocTags, Markdown, HTML, JSON, LaTeX, bounding boxes | JSON, plain text |
| Model size | 256M parameters | Not published |
| Benchmarks | TEDS 0.82 on FinTabNet tables, full-page OCR F1 0.80, OCRBench 338 (author-reported) | Not published |
| Languages | English only | Not published |
| Known failure | Endless token repetition and missing closing tags; Docling issue #1515 reports output loops that make generation very slow | Misses tiny text in large images because of input resolution limits; one HN user found results on personal documents did not match the promised scores |
| Setup caveat | Not published | Transformers v5 dropped image-to-text pipeline support, so load the model directly or use v4 |
Sources
- SmolDocling model card
- Docling issue #1515
- Granite-Docling comparison table
- donut-base model card
- Donut ECCV paper
- Hacker News thread
What each one is
SmolDocling
Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.
SmolDocling detailsDonut
OCR-free document understanding model. Fine-tuned for receipts, forms and document Q&A.
Donut 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": "huggingface/smoldocling","fallbacks": ["naver/donut"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
SmolDocling alternativesDonut alternativesBest OCR models in 2026