OCRRouter

GPT vs Unstructured

Pick GPT for handwritten notes, custom JSON extraction and document question answering, where its reasoning helps. Pick Unstructured for ingesting mixed file types (PDF, HTML, Word, PowerPoint, email) into a RAG pipeline, or when you need open-source self-hosting and bounding boxes. The main split is a general language model you prompt versus a document ETL tool that returns typed elements.

GPTopenai/gptUnstructuredunstructured/unstructured
TypeVision modelOCR API
Price11 credits / page20 credits / page
Per 1,000 pages$11.00$20.00
Typical speed2.4 s / page3.0 s / page
Best forMessy scans, custom instructionsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages50+ languagesMultilingual
Max pages per request1001,000
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxesNo✓ Yes
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

  • An HN user reported about 5% errors on messy cursive, versus about 30% for Mistral OCR.
  • You can prompt it to extract data into your own JSON schema and reason over the document in the same call.
  • PDF input sends both extracted text and page images to the model, with files up to 50 MB per request.

Choose Unstructured if

  • It handles PDFs, HTML, Word, PowerPoint, emails and images in one library, with many connectors.
  • The library is Apache-2.0 and can be self-hosted, and the hosted platform gives 10,000 free pages, then $0.015 per page.
  • It returns bounding boxes and typed elements, and its Auto, Fast, High-Res and VLM strategies let you trade speed for quality.

Key differences

GPTUnstructured
DeploymentHosted API onlySelf-hosted library or hosted API
LicenceProprietaryApache-2.0 library; proprietary hosted platform
PricingToken-based per model. PDF page images add input tokens, so cost per page is not fixed.Library free. Hosted: first 10,000 pages free, then $0.015 per page.
Output formatsMarkdown, JSON, plain textJSON, HTML, plain text, bounding boxes
CoordinatesNo bounding boxes or confidence scores in the standard responseBounding boxes available
BenchmarkGPT-5.2 scored 85.50 on OmniDocBench v1.5, against 90.33 for Gemini 3 Pro in the same paperVendor's own table cell content score: 0.426 for the open-source library versus 0.866 hosted
Known failureNot published beyond the cost and coordinate limits abovehi_res tables cut off at edges and drop first letters; table OCR ignores language settings

Sources

What each one is

GPT

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

GPT details

Unstructured

Document ETL for RAG. Partitions many file types into typed elements; open-source library too.

Unstructured 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": ["unstructured/unstructured"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

GPT alternativesUnstructured alternativesBest OCR models in 2026