OCRRouter

olmOCR vs OpenOCR

Pick olmOCR for large-scale PDF to Markdown, pages with handwriting, and papers with equations, if you have a GPU with at least 12 GB VRAM. Pick OpenOCR for Chinese and English documents with formulas when you want a 0.1B model that is light to self-host. The main split is scope: olmOCR is a 7B model that outputs Markdown and covers more page types, while OpenOCR is a small toolkit limited to two languages.

olmOCRallenai/olmocrOpenOCRfudan/openocr
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.5 s / page0.5 s / page
Best forBulk PDF to text for datasetsLightweight OCR pipeline on CPU
InputsPDF, imagesPDF, images
LanguagesMainly EnglishChinese and English
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ 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 olmOCR if

  • You want clean Markdown or JSON from PDFs and images, with headers and footers removed and text in reading order.
  • Your pages mix printed text, tables, equations and handwriting.
  • You want a hosted option as well as self-hosting, for example olmOCR-2-7B on DeepInfra at $0.09 input / $0.19 output per million tokens.

Choose OpenOCR if

  • Your documents are in Chinese or English and include single-line or multi-line formulas, which UniRec-0.1B recognizes in one model.
  • You want a 0.1B model, since OpenDoc-0.1B reports 90.57 on OmniDocBench v1.5 at that size.
  • You need LaTeX or bounding box output, or ONNX export for deployment.

Key differences

olmOCROpenOCR
Model size7B vision-language model0.1B (OpenDoc-0.1B and UniRec-0.1B)
How you run itSelf-host with vLLM on a GPU, or call third-party hosted endpointsSelf-host as a Python library only, no hosted API
LicenceApache-2.0 (toolkit)Apache-2.0
PriceSelf-hosted: under $200 per million pages, per Ai2. Hosted on DeepInfra: $0.09 input / $0.19 output per million tokensFree, self-hosted (you pay for compute)
Output formatsMarkdown, JSONPlain text, LaTeX, bounding boxes
Benchmark (self-reported by authors)82.4 on olmOCR-Bench (v0.4.0)90.57 on OmniDocBench v1.5 (OpenDoc-0.1B). Different benchmarks, so the scores are not comparable
Hardware and known failuresNVIDIA GPU with at least 12 GB VRAM and 30 GB free disk. Reported out-of-memory on a 12 GB GPU, getting stuck on the last few pages, and unreliable image bounding box coordinatesHardware requirements and throughput not published. Only Chinese and English supported. Document parsing needs a separate layout model, PP-DocLayoutV2 from PaddlePaddle

Sources

What each one is

olmOCR

Open-source vision model from Ai2 (often searched as olm ocr) that turns PDFs into clean, reading-order text. Latest release: olmOCR 2.

olmOCR details

OpenOCR

Fudan's open toolkit for text detection and recognition, formulas, tables and document parsing.

OpenOCR 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": "allenai/olmocr","fallbacks": ["fudan/openocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

olmOCR alternativesOpenOCR alternativesBest OCR models in 2026