OCRRouter

olmOCR vs Phi-4-multimodal

Pick olmOCR for large-scale PDF to Markdown, academic papers with equations, and mixed printed and handwritten pages, where it scores 82.4 on olmOCR-Bench. Pick Phi-4-multimodal for English document Q&A on modest GPUs or pipelines that mix audio and images. The main split is task: olmOCR is built to transcribe whole pages, while Phi-4-multimodal is a general model that answers questions about documents.

olmOCRallenai/olmocrPhi-4-multimodalmicrosoft/phi-4-multimodal
TypeOpen sourceVision model
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.5 s / page2.5 s / page
Best forBulk PDF to text for datasetsSmall model for OCR and questions
InputsPDF, imagesimages
LanguagesMainly EnglishEnglish for vision
Max pages per request1,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNoNo
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

  • 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.
  • It handles equations, tables and handwriting, and strips headers and footers in natural reading order.
  • Self-hosting costs under $200 per million pages according to Ai2, and the weights, training data and code are all released.

Choose Phi-4-multimodal if

  • It scores 93.2 on DocVQA at only 5.6B parameters, which suits English document Q&A.
  • It uses an MIT licence and has a 128K token context.
  • It takes audio as well as images, so one model covers mixed audio and image pipelines.

Key differences

olmOCRPhi-4-multimodal
LicenceApache-2.0 (toolkit)MIT
Model size7B5.6B
How you run itSelf-host with vLLM on an NVIDIA GPU with at least 12 GB VRAM, or use hosted endpoints such as DeepInfraSelf-host (tested on A100, A6000, H100; V100 and older need eager attention) or use Azure AI Foundry
PriceUnder $200 per million pages self-hosted; DeepInfra hosted olmOCR-2-7B at $0.09 input / $0.19 output per million tokensFree self-hosted, you pay for compute
Output formatsMarkdown, JSONPlain text, Markdown, JSON
BenchmarkolmOCR-Bench overall 82.4DocVQA 93.2, OCRBench 84.4, ChartQA 81.4, InfoVQA 72.7
Languages and known failureOut of memory on a 12 GB GPU (issue #424), can get stuck on the last few pages (issue #433), image bounding boxes are unreliable (issue #437)Vision is English only and quality drops in other languages; the model card warns of repetitive or inconsistent output in long chats

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

Phi-4-multimodal

Microsoft's 5.6B text, vision and audio model (February 2025). Scores 84.4 on OCRBench per its model card.

Phi-4-multimodal 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": ["microsoft/phi-4-multimodal"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

olmOCR alternativesPhi-4-multimodal alternativesBest OCR models in 2026