OCRRouterGet API key

GPT vs Unstructured

GPT is cheaper per page; GPT is faster; only GPT supports handwriting, math; only Unstructured supports bounding boxes.

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 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

Unstructured

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

Unstructured details

Use one, fall back to the other

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

Questions

More comparisons

GPT alternativesUnstructured alternatives