OCRRouterGet API key

GPT vs OCRmyPDF

OCRmyPDF is cheaper per page; OCRmyPDF is faster; only GPT supports tables, handwriting, math.

GPTopenai/gptOCRmyPDFocrmypdf/ocrmypdf
TypeVision modelOpen source
Price11 credits / page1 credits / page
Per 1,000 pages$11.00$1.00
Typical speed2.4 s / page1.0 s / page
Best forMessy scans, custom instructionsSearchable PDFs from scans
InputsPDF, imagesPDF, images
Languages50+ languages100+ languages (via Tesseract)
Max pages per request1001,000
Tables✓ YesNo
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxesNoNo
ConfidenceNoNo
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

GPT

General vision model. Good at messy scans and following extraction instructions.

GPT details

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

OCRmyPDF details

Use one, fall back to the other

Request body
{
  "model": "openai/gpt",
  "fallbacks": ["ocrmypdf/ocrmypdf"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

GPT alternativesOCRmyPDF alternatives