OCRRouter

RapidOCR vs olmOCR

Pick RapidOCR for offline CPU OCR of Chinese and English screenshots and receipts, or when you need to embed OCR in a Java or C# app. Pick olmOCR for large-scale PDF to Markdown, academic papers with equations, and mixed printed and handwritten pages, if you have a GPU with at least 12 GB VRAM. The main split is that RapidOCR returns text and boxes on a CPU, while olmOCR returns structured Markdown from a 7B model on a GPU.

RapidOCRrapidai/rapidocrolmOCRallenai/olmocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.6 s / page1.5 s / page
Best forLightweight OCR on CPU or edgeBulk PDF to text for datasets
InputsimagesPDF, images
LanguagesChinese, English and moreMainly English
Max pages per request1001,000
TablesNo✓ Yes
HandwritingNo✓ Yes
MathNo✓ Yes
Bounding boxes✓ YesNo
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, so it needs no GPU and no Paddle framework.
  • It has bindings for Python, C++, Java and C#, so it embeds in many stacks.
  • It is free and Apache-2.0 licensed, and you only pay for compute.

Choose olmOCR if

  • It converts PDFs and images to Markdown or JSON, and handles equations, tables and handwriting.
  • It scores 82.4 on olmOCR-Bench, above Marker (76.1), MinerU 2.5.4 (75.2) and Mistral OCR (72.0) in the same table.
  • Self-hosting costs under $200 per million pages per Ai2, or you can use hosted olmOCR-2-7B on DeepInfra at $0.09 input and $0.19 output per million tokens.

Key differences

RapidOCRolmOCR
What it isToolkit that runs PaddleOCR models as ONNX and other runtimes7B vision-language model and toolkit from Ai2
HardwareCPU by default via ONNX Runtime; optional GPU, TensorRT, OpenVINO, MNN enginesNVIDIA GPU with at least 12 GB VRAM and 30 GB free disk
OutputPlain text and bounding boxesMarkdown and JSON
Layout and tablesNot for layout, tables or Markdown outputHandles equations, tables and handwriting, strips headers and footers
LanguagesChinese and English by default; other languages need extra modelsNot published
PricingFree, self-hosted (you pay for compute)Under $200 per million pages self-hosted; DeepInfra $0.09 input / $0.19 output per million tokens
Known failure16-bit grayscale PNG or TIFF give no text or wrong text; Arabic recognition crashesOut of memory on a 12 GB GPU; gets stuck on the last few pages; unreliable image bounding boxes

Sources

What each one is

RapidOCR

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

RapidOCR details

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

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

Questions

More comparisons

RapidOCR alternativesolmOCR alternativesBest OCR models in 2026