GLM-OCR vs OCRmyPDF
OCRmyPDF is cheaper per page; OCRmyPDF is faster; only GLM-OCR supports tables, math, bounding boxes, confidence.
GLM-OCRzai/glm-ocr | OCRmyPDFocrmypdf/ocrmypdf | |
|---|---|---|
| Type | Open source | Open source |
| Price | 2 credits / page | 1 credit / page |
| Per 1,000 pages | $2.00 | $1.00 |
| Typical speed | 1.3 s / page | 1.0 s / page |
| Best for | Low-cost general documents | Searchable PDFs from scans |
| Inputs | PDF, images | PDF, images |
| Languages | 100+ languages | 100+ languages (via Tesseract) |
| Max pages per request | 500 | 1,000 |
| Tables | ✓ Yes | No |
| Handwriting | No | No |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | No |
| Confidence | ✓ Yes | No |
| Forms | No | No |
| Multilingual | ✓ Yes | ✓ Yes |
| On OCRRouter | Available | Coming soon |
Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.
What each one is
OCRmyPDF
Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.
OCRmyPDF detailsUse one, fall back to the other
Request body
{
"model": "zai/glm-ocr",
"fallbacks": ["ocrmypdf/ocrmypdf"],
"file_url": "https://example.com/document.pdf"
}