olmOCR API
Open-source vision model from Ai2 that turns PDFs into clean, reading-order text.
- Model ID
- allenai/olmocr
- Type
- Open source
- Price
- 2 credits / page ($2.00 per 1,000 pages)
- Typical speed
- 1.5 s / page
- Inputs
- PDF, images
- Languages
- Mainly English
- Max pages per request
- 1,000
- Output
- Markdown, JSON
- License
- Apache-2.0
- Supports
- TablesMathHandwriting
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "allenai/olmocr",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'olmOCR is not connected yet. The price below is an estimate. You can call the models that are live today with the same request.
olmOCR speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
olmOCR pricing
olmOCR costs 2 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $2.00. You only pay for pages that return a result.
New accounts get 200 free credits, enough for about 100 pages with this model. See pricing for credit packs.
Similar models
1Gemini FlashGeneral vision model with strong handwriting and layout understanding at a low price.
google/gemini-flash3 credits / page2GPTGeneral vision model. Good at messy scans and following extraction instructions.openai/gpt11 credits / page3ClaudeGeneral vision model with careful reading of long, dense documents.anthropic/claude14 credits / page