OCRRouterGet API key

RapidOCR vs TrOCR

RapidOCR is faster; only RapidOCR supports bounding boxes, confidence, multilingual; only TrOCR supports handwriting.

RapidOCRrapidai/rapidocrTrOCRmicrosoft/trocr
TypeOpen sourceOpen source
Price1 credit / page1 credit / page
Per 1,000 pages$1.00$1.00
Typical speed0.6 s / page1.2 s / page
Best forLightweight OCR on CPU or edgeHandwritten text lines
Inputsimagesimages
LanguagesChinese, English and moreEnglish
Max pages per request100100
TablesNoNo
HandwritingNo✓ Yes
MathNoNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
Multilingual✓ YesNo
On OCRRouterComing soonComing soon

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

What each one is

RapidOCR

PaddleOCR models packaged for ONNX Runtime and other engines. Easy to deploy without Paddle.

RapidOCR details

TrOCR

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

TrOCR details

Use one, fall back to the other

Request body
{
  "model": "rapidai/rapidocr",
  "fallbacks": ["microsoft/trocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

RapidOCR alternativesTrOCR alternatives