OCRRouter

RapidOCR vs SmolDocling

Pick RapidOCR when you need fast offline text and boxes from Chinese or English screenshots and receipts, or want to embed OCR in a Java or C# app. Pick SmolDocling only to experiment with a tiny document model on English pages, since it outputs layout, tables and Markdown but is a preview release that points users to Granite-Docling. The main split is plain text lines versus full page conversion.

RapidOCRrapidai/rapidocrSmolDoclinghuggingface/smoldocling
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed0.6 s / page1.0 s / page
Best forLightweight OCR on CPU or edgeVery cheap page conversion
InputsimagesPDF, images
LanguagesChinese, English and moreMainly English
Max pages per request100500
TablesNo✓ Yes
HandwritingNoNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
Multilingual✓ YesNo
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 RapidOCR if

  • It runs on CPU through ONNX Runtime after a plain pip install, with no Paddle framework needed.
  • It has bindings for Python, C++, Java and C#, so it fits desktop and server apps in many stacks.
  • It is a good fit for Chinese and English screenshots and receipts where you only need text and bounding boxes.

Choose SmolDocling if

  • It returns DocTags, Markdown, HTML, JSON and LaTeX, so one model covers text, tables, code, formulas and charts.
  • At 256M parameters it runs on modest hardware, and about 0.35 seconds per page on an A100 with vLLM.
  • It suits experiments with tiny document VLMs and English page conversion on a low budget.

Key differences

RapidOCRSmolDocling
TypeOCR toolkit that runs PaddleOCR models through ONNX and other engines256M document conversion VLM from Hugging Face and IBM
LicenceApache-2.0, converted models keep their upstream licencesApache-2.0 per model summary, metadata tag says CDLA-Permissive-2.0
OutputPlain text and bounding boxesDocTags, Markdown, HTML, JSON, LaTeX and bounding boxes
Tables and layoutNot for layout, tables or Markdown outputHandles tables (OTSL), code, formulas and charts; table TEDS 0.82 on FinTabNet 150dpi
LanguagesChinese and English by default; other languages need extra modelsEnglish only
BenchmarksNot publishedFull-page OCR F1 0.80, OCRBench 338 (author reported)
Known failure16-bit grayscale PNG or TIFF give no text or wrong text; Arabic recognition crashes; sliced inference crashes on large pagesEndless token repetition and missing closing tags; output loops on some images and generation becomes very slow

Sources

What each one is

RapidOCR

PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.

RapidOCR 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": "rapidai/rapidocr","fallbacks": ["huggingface/smoldocling"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

RapidOCR alternativesSmolDocling alternativesBest OCR models in 2026