OCRRouter

Granite Docling vs SmolDocling

Pick Granite Docling for any real conversion job. It is the successor to SmolDocling, scores higher on every reported task (table TEDS 0.97 vs 0.82), and is the model the authors point users to for updates and support. SmolDocling is only worth running for experiments with a tiny document model on a low budget.

Granite Doclingibm/granite-doclingSmolDoclinghuggingface/smoldocling
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.5 s / page1.0 s / page
Best forSmall-model document conversionVery cheap page conversion
InputsPDF, imagesPDF, images
LanguagesEnglish, experimental CJK and ArabicMainly English
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
MultilingualNoNo
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 Granite Docling if

  • Table structure is far better: TEDS 0.97 on FinTabNet at 150dpi, against 0.82 for SmolDocling.
  • It reports equation F1 0.968 and code recognition F1 0.988, so English PDFs with formulas and code are covered.
  • It is the maintained release, while SmolDocling is a preview that the authors say is superseded.

Choose SmolDocling if

  • It has a published speed figure of about 0.35 seconds per page on an A100 with vLLM.
  • At 256M parameters it runs on modest hardware, and so does Granite Docling at 258M, so you give up little on size.
  • It handles text, tables, code, formulas and charts in one model with location tags, which suits quick experiments with a small document model.

Key differences

Granite DoclingSmolDocling
StatusCurrent release from IBMPreview release, superseded by Granite Docling
Parameters258M256M
LicenceApache-2.0Apache-2.0 per model summary; metadata tag says CDLA-Permissive-2.0
Table TEDS (FinTabNet, 150dpi)0.970.82
Full-page OCR F1 / OCRBench0.84 / 5000.80 / 338
LanguagesEnglish primary; Japanese, Arabic and Chinese are experimentalEnglish only
Known failureRepetitive loops on page headings and invoices; exclamation-mark output on GPUs without bfloat16 such as T4 unless run in float32Endless token repetition and missing closing tags; output loops on some images make generation very slow

Sources

What each one is

Granite Docling

Compact IBM vision model that converts pages to DocTags for the Docling pipeline.

Granite Docling details

SmolDocling

Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.

SmolDocling 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": "ibm/granite-docling","fallbacks": ["huggingface/smoldocling"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Granite Docling alternativesSmolDocling alternativesBest OCR models in 2026