OCRRouterGet API key

Qianfan OCR vs Unstructured

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

Qianfan OCRbaidu/qianfan-ocrUnstructuredunstructured/unstructured
TypeOCR APIOCR API
Price1 credit / page20 credits / page
Per 1,000 pages$1.00$20.00
Typical speed2.0 s / page3.0 s / page
Best forChinese documentsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
LanguagesChinese, English and moreMultilingual
Max pages per request2001,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

Qianfan OCR

Baidu's OCR-tuned vision model. Strong on Chinese documents and tables.

Qianfan OCR 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": "baidu/qianfan-ocr",
  "fallbacks": ["unstructured/unstructured"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Qianfan OCR alternativesUnstructured alternatives