OCRRouterGet API key

Gemini Flash vs SmolDocling

SmolDocling is cheaper per page; SmolDocling is faster; only Gemini Flash supports handwriting, multilingual; only SmolDocling supports bounding boxes.

Gemini Flashgoogle/gemini-flashSmolDoclinghuggingface/smoldocling
TypeVision modelOpen source
Price3 credits / page1 credit / page
Per 1,000 pages$3.00$1.00
Typical speed1.6 s / page1.0 s / page
Best forHandwriting and mixed layoutsVery cheap page conversion
InputsPDF, imagesPDF, images
Languages100+ languagesMainly English
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
On OCRRouterAvailableComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

Gemini Flash

General vision model with strong handwriting and layout understanding at a low price.

Gemini Flash details

SmolDocling

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

SmolDocling details

Use one, fall back to the other

Request body
{
  "model": "google/gemini-flash",
  "fallbacks": ["huggingface/smoldocling"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Gemini Flash alternativesSmolDocling alternatives