OCRRouterGet API key

GLM-OCR vs RapidOCR

RapidOCR is cheaper per page; RapidOCR is faster; only GLM-OCR supports tables, math.

GLM-OCRzai/glm-ocrRapidOCRrapidai/rapidocr
TypeOpen sourceOpen source
Price2 credits / page1 credits / page
Per 1,000 pages$2.00$1.00
Typical speed1.3 s / page0.6 s / page
Best forLow-cost general documentsLightweight OCR on CPU or edge
InputsPDF, imagesimages
Languages100+ languagesChinese, English and more
Max pages per request500100
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

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

What each one is

GLM-OCR

Small open-source OCR model from Z.ai with layout regions. MIT licensed.

GLM-OCR details

RapidOCR

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

RapidOCR details

Use one, fall back to the other

Request body
{
  "model": "zai/glm-ocr",
  "fallbacks": ["rapidai/rapidocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

GLM-OCR alternativesRapidOCR alternatives