OCRRouterGet API key

GLM-OCR vs GOT-OCR 2.0

GOT-OCR 2.0 is cheaper per page; GLM-OCR is faster; only GLM-OCR supports confidence, multilingual.

GLM-OCRzai/glm-ocrGOT-OCR 2.0stepfun/got-ocr-2
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.3 s / page1.5 s / page
Best forLow-cost general documentsFormatted text, formulas and charts
InputsPDF, imagesimages
Languages100+ languagesChinese, English
Max pages per request500100
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
Multilingual✓ YesNo
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

GOT-OCR 2.0

Unified OCR model that reads plain text, tables, formulas, sheet music and charts.

GOT-OCR 2.0 details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesGOT-OCR 2.0 alternatives