OCRRouter

docTR vs Typhoon OCR

Pick docTR if you want word-level text with coordinates from a Python library you can train and run yourself, for example on invoices and receipts that feed your own extraction code. Pick Typhoon OCR if you need whole pages converted to Markdown or HTML with tables, especially Thai or Thai-English documents such as government forms and financial reports. The main split is output: docTR returns words and lines only, while Typhoon OCR returns structured documents but covers only Thai and English.

docTRmindee/doctrTyphoon OCRtyphoon/typhoon-ocr
TypeOpen sourceOpen source
Price1 credit / page2 credits / page
Per 1,000 pages$1.00$2.00
Typical speed0.9 s / page1.8 s / page
Best forWord-level OCR with positionsThai documents
InputsPDF, imagesPDF, images
LanguagesMainly Latin scriptsThai, English
Max pages per request500500
TablesNo✓ Yes
HandwritingNoNo
MathNoNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
MultilingualNo✓ Yes
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 docTR if

  • You need word, line and block output with coordinates as JSON, with straight or rotated boxes.
  • You want to choose your own detection and recognition architectures and train your own models in Python.
  • You want Apache-2.0 with no extra terms, plus ready Docker images and a key information extraction predictor.

Choose Typhoon OCR if

  • You need tables as HTML with merged cells, equations as LaTeX and checkboxes marked, in Markdown or HTML output.
  • Your documents are Thai or Thai-English: V1.5 reached BLEU 0.870 on Thai government forms, ahead of GPT-5 and Gemini 2.5 Pro.
  • You want a small 2B model (0.8B variant also exists) that scores 84.7 on olmOCR-bench, with a hosted API as an option.

Key differences

docTRTyphoon OCR
What it isTwo-stage text detection and recognition library from Mindee, run in Python on PyTorchThai and English document OCR model from Typhoon (SCB 10X), 2B parameters
LicenceApache-2.0Apache-2.0, subject to OpenTyphoon Terms and Conditions
How you run itSelf-hosted only, on CPU or NVIDIA GPU; GPU Docker images need CUDA 12.2 or newer on the hostSelf-hosted weights, or the Typhoon API as typhoon-ocr-v2
PriceFree, you pay for computeFree self-hosted, you pay for compute. API pricing not published on the model card
Output formatsJSON, plain text, bounding boxes. No tables, formulas or MarkdownMarkdown, HTML, LaTeX
BenchmarksNot publishedV2 2B: olmOCR-bench 84.7, OmniDocBench v1.6 90.97, ThaiOCRBench 59.9
Known failureSplit-crop merging can misjoin repeated characters (issue #2229); cropped images give poorer results (issue #2007); ONNX export of MASTER truncates decoding steps (issue #2224)V2 can loop until the token limit on dense multi-column pages; key information extraction is weakest at 21.0 on ThaiOCRBench; it can output text not in the image

Sources

What each one is

docTR

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

docTR details

Typhoon OCR

Open vision model tuned for Thai and English documents, with Markdown output.

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

Questions

More comparisons

docTR alternativesTyphoon OCR alternativesBest OCR models in 2026