OCRRouter

Jina OCR vs docTR

Pick Jina OCR to turn PDF pages into Markdown, HTML or LaTeX for research or non-commercial work. Pick docTR when you need word-level text with coordinates, or when you ship a commercial product, because it is Apache-2.0. The main split is output and licence: Jina OCR gives document structure under CC-BY-NC-4.0, while docTR gives words and lines under a permissive licence.

Jina OCRjina/jina-ocrdocTRmindee/doctr
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed1.5 s / page0.9 s / page
Best forClean Markdown at low costWord-level OCR with positions
InputsPDF, imagesPDF, images
LanguagesAbout 100 languagesMainly Latin scripts
Max pages per request200500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxesNo✓ Yes
ConfidenceNo✓ Yes
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

  • You want page-to-Markdown, HTML or LaTeX output, which docTR does not produce.
  • You want a published benchmark: 91.14 on OmniDocBench v1.6 (authors) and 83.4 on olmOCR-Bench, 7.4 points above DeepSeek-OCR.
  • You can self-host or call Jina's hosted API, with only about 570M active parameters and 2.57 pages per second on an A100.

Choose docTR if

  • You need Apache-2.0 for commercial use, while Jina OCR needs a separate license from Jina/Elastic.
  • You need a nested page, block, line and word structure with coordinates as JSON, or bounding boxes for invoices and receipts feeding custom extraction.
  • You want to choose detection and recognition architectures, use straight or rotated boxes, and run on CPU or NVIDIA GPU from ready Docker images.

Key differences

Jina OCRdocTR
LicenceCC-BY-NC-4.0; commercial use needs a license from Jina/ElasticApache-2.0
How you run itSelf-host the open weights or call Jina's hosted APIPython library on PyTorch, with Docker images; no hosted API listed
Output formatsMarkdown, HTML, LaTeXJSON, plain text, bounding boxes
Tables, formulas and MarkdownPage-to-Markdown model with LaTeX outputNo table, formula or Markdown output; returns words and lines only
HardwareGPU recommended (A100 and L4 benchmarks); falls back to CPU in TransformersCPU or NVIDIA GPU; GPU Docker images need CUDA 12.2 or newer on the host
BenchmarksOmniDocBench v1.6 91.14, olmOCR-Bench 83.4 (authors; stricter prompt than the default)Not published
Known failureHosted API returns HTTP 503 on cold start; retry after 30 to 60 secondsCropped images give poorer results (issue #2007); ONNX export of MASTER truncates decoding steps (issue #2224)

Sources

What each one is

Jina OCR

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

Jina OCR details

docTR

Open-source OCR library from Mindee with separate text detection and recognition models.

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

Questions

More comparisons

Jina OCR alternativesdocTR alternativesBest OCR models in 2026