OCRRouter

Jina OCR vs TrOCR

Pick Jina OCR when you need to turn whole PDF pages into Markdown, HTML or LaTeX, and your use is non-commercial or you have a license from Jina/Elastic. Pick TrOCR when you already have cropped single text-line images, especially English handwriting, and want an MIT-licensed recognizer you can fine-tune. The main split is scope: Jina OCR reads pages, TrOCR reads one line at a time.

Jina OCRjina/jina-ocrTrOCRmicrosoft/trocr
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.5 s / page1.2 s / page
Best forClean Markdown at low costHandwritten text lines
InputsPDF, imagesimages
LanguagesAbout 100 languagesEnglish
Max pages per request200100
Tables✓ YesNo
HandwritingNo✓ Yes
Math✓ YesNo
Bounding boxesNoNo
ConfidenceNoNo
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 Jina OCR if

  • It converts full pages to Markdown, HTML or LaTeX, while TrOCR only returns plain text for a single line.
  • It scores 91.14 on OmniDocBench v1.6 and 83.4 on olmOCR-Bench, per the authors.
  • You can self-host it or call Jina's hosted API, and it has about 570M active parameters out of 3B (MoE).

Choose TrOCR if

  • It is MIT licensed, so you can use it in commercial products without a separate license.
  • It reports a 2.89 character error rate on the IAM handwriting set with the large model, per the paper.
  • It has separate checkpoints for handwritten (IAM), printed (SROIE) and scene text, and loads in a few lines with Hugging Face transformers.

Key differences

Jina OCRTrOCR
Input scopeWhole pages and PDFs, output as MarkdownSingle text-line images only; you need a separate line detector
LicenceCC-BY-NC-4.0; commercial use needs a license from Jina/ElasticMIT (microsoft/unilm repository)
How you run itSelf-host or Jina's hosted APILocal only, through Hugging Face transformers
Output formatsMarkdown, HTML, LaTeXPlain text; no layout, table or page-level output
Model size3B MoE, about 570M activeBase 334M, large 558M
BenchmarkOmniDocBench v1.6 overall 91.14; olmOCR-Bench overall 83.4 (authors)IAM handwriting CER 2.89 with TrOCR-large (authors)
Known failureHosted API returns HTTP 503 on cold start; retry after 30 to 60 secondsReleased checkpoints are English-focused; other languages need fine-tuning

Sources

What each one is

Jina OCR

Compact page-to-Markdown model from Jina AI, built on the DeepSeek-OCR encoder.

Jina OCR details

TrOCR

Transformer text recognition model. Reads single text lines, including handwriting.

TrOCR 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": "jina/jina-ocr","fallbacks": ["microsoft/trocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Jina OCR alternativesTrOCR alternativesBest OCR models in 2026