OCRRouter

SmolDocling vs Pixtral

Pick Pixtral if you need to answer questions over charts and documents, or already call the Mistral API. Pick SmolDocling only for experiments converting English pages on small hardware. Pixtral is a general 12B vision model with a published DocVQA score of 90.7, while SmolDocling is a 256M preview model that outputs DocTags for Docling. Both are no longer the maintainers' recommendation: Pixtral is marked deprecated and SmolDocling has been superseded by Granite-Docling.

SmolDoclinghuggingface/smoldoclingPixtralmistral/pixtral
TypeOpen sourceVision model
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed1.0 s / page3.0 s / page
Best forVery cheap page conversionQuestions about document images
InputsPDF, imagesimages
LanguagesMainly EnglishMultilingual
Max pages per request500500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
ConfidenceNoNo
FormsNoNo
MultilingualNo✓ Yes
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 SmolDocling if

  • It is 256M parameters, so it runs on modest hardware, and it takes about 0.35 seconds per page on an A100 with vLLM.
  • It returns structured output with location tags: DocTags, Markdown, HTML, JSON, LaTeX and bounding boxes.
  • One model handles text, tables, code, formulas and charts for English page conversion on a low budget.

Choose Pixtral if

  • It scores 90.7 ANLS on DocVQA, so it suits question answering over documents and charts.
  • You can call it through the Mistral API at a launch price of $0.15 per million input and output tokens, or self-host the Apache-2.0 weights.
  • Its 128K token context allows many images in one request.

Key differences

SmolDoclingPixtral
Model size256M parameters12.4B (12B decoder + 400M vision encoder)
How you run itSelf-host onlyMistral API (pixtral-12b-2409) or self-host open weights
PriceFree, self-hosted (you pay for compute)$0.15 per million input and output tokens at API launch; free to self-host
Output formatsDocTags, Markdown, HTML, JSON, LaTeX, bounding boxesPlain text, Markdown, JSON
BenchmarksTEDS 0.82 on FinTabNet tables, full-page OCR F1 0.80, OCRBench 338 (all reported by the authors)DocVQA 90.7 ANLS, ChartQA 81.8, MMMU 52.5 (reported by Mistral)
LanguagesEnglish onlyReported accuracy drop on non-Latin scripts, handwriting and small fonts
Known failureEndless token repetition and missing closing tags; Docling issue #1515 reports output loops that make generation very slowA launch thread user said it does not always get OCR anywhere near correct; Q4 quantization reportedly degrades small text OCR

Sources

What each one is

SmolDocling

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

SmolDocling details

Pixtral

Mistral's open-weight vision models, Pixtral 12B and Pixtral Large. Mistral's API no longer serves them, so they run self-hosted.

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

Questions

More comparisons

SmolDocling alternativesPixtral alternativesBest OCR models in 2026