OCRRouter

GPT vs OCRmyPDF

Pick GPT when you need data out of a document: handwritten notes, custom JSON fields, or question answering over a PDF. Pick OCRmyPDF when you need to make a pile of scanned PDFs searchable and archive-ready (PDF/A) on your own CPUs at no licence cost. GPT reads and extracts, while OCRmyPDF only adds a text layer.

GPTopenai/gptOCRmyPDFocrmypdf/ocrmypdf
TypeVision modelOpen source
Price11 credits / page1 credit / 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 OCRRouterAvailableAvailable

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

Which to choose

Choose GPT if

  • You need handwritten notes read; one HN user reported about 5% errors on messy cursive.
  • You want structured output such as Markdown or custom JSON from a page, not just text.
  • You want to ask questions about a document or extract fields with reasoning, using files up to 50 MB per request.

Choose OCRmyPDF if

  • You need validated searchable PDF/A output for archiving, with the OCR layer inserted losslessly where possible.
  • You want a free, self-hosted tool under MPL-2.0 that runs CPU only and spreads work across all cores.
  • You have scanned documents in many languages, since Tesseract language packs cover 100+ languages.

Key differences

GPTOCRmyPDF
How you run itHosted API from OpenAILocal command-line tool and library
LicenceProprietaryMPL-2.0 (open source)
PriceToken-based per model. Page images add input tokens, so cost per page is not fixed.Free and self-hosted. You pay for compute.
Output formatsMarkdown, JSON, plain textSearchable PDF/A, plain text
HandwritingListed as a good fit for handwritten notesListed as not suited to handwriting
BenchmarkOmniDocBench v1.5 overall 85.50 for GPT-5.2, against 90.33 for Gemini 3 Pro in the same paperNot published
Known failuresNo bounding boxes or confidence scores in the standard responseOutput size can double or quadruple with --deskew --clean-final. --skip-text with default PDF/A output removes form fields. It hangs on PDFs whose forms share one Resources dictionary.

Sources

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

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

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

Questions

More comparisons

GPT alternativesOCRmyPDF alternativesBest OCR models in 2026