OCRRouterGet API key

Gemini Flash vs Unstructured

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

Gemini Flashgoogle/gemini-flashUnstructuredunstructured/unstructured
TypeVision modelOCR API
Price3 credits / page20 credits / page
Per 1,000 pages$3.00$20.00
Typical speed1.6 s / page3.0 s / page
Best forHandwriting and mixed layoutsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages100+ languagesMultilingual
Max pages per request1,0001,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

Gemini Flash

General vision model with strong handwriting and layout understanding at a low price.

Gemini Flash 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": "google/gemini-flash",
  "fallbacks": ["unstructured/unstructured"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Gemini Flash alternativesUnstructured alternatives