Marker vs TrOCR
TrOCR is cheaper per page; TrOCR is faster; only Marker supports tables, math, bounding boxes, multilingual; only TrOCR supports handwriting.
Markerdatalab/marker | TrOCRmicrosoft/trocr | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 14 credits / page | 1 credit / page |
| Per 1,000 pages | $14.00 | $1.00 |
| Typical speed | 2.5 s / page | 1.2 s / page |
| Best for | Books and research papers | Handwritten text lines |
| Inputs | PDF, images, DOCX | images |
| Languages | 90+ languages | English |
| Max pages per request | 1,000 | 100 |
| Tables | ✓ Yes | No |
| Handwriting | No | ✓ Yes |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | No |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | No |
| On OCRRouter | Coming soon | Coming soon |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
What each one is
Marker
Hosted version of the open-source Marker and Surya models. Strong on books and papers.
Marker detailsTrOCR
Transformer text recognition model. Reads single text lines, including handwriting.
TrOCR detailsUse one, fall back to the other
Request body
{
"model": "datalab/marker",
"fallbacks": ["microsoft/trocr"],
"file_url": "https://example.com/document.pdf"
}