Google Document AI API
Google Cloud OCR with layout parsing and specialised processors.
- Model ID
- google/document-ai
- Type
- OCR API
- Price
- 3 credits / page ($3.00 per 1,000 pages)
- Typical speed
- 1.4 s / page
- Inputs
- PDF, images
- Languages
- 200+ languages
- Max pages per request
- 500
- Output
- Markdown, JSON with positions
- Supports
- TablesFormsHandwritingBounding boxesConfidenceMultilingual
curl https://api.ocrrouter.ai/v1/ocr \
-H "Authorization: Bearer $OCRROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/document-ai",
"file_url": "https://example.com/invoice.pdf",
"format": "markdown"
}'Try Google Document AI
Result
Your Markdown or JSON shows up here.
Google Document AI speed and reliability
Loading…
Measured on our own traffic over the last 7 days.
Google Document AI pricing
Google Document AI costs 3 credits per page. One dollar buys 1,000 credits, so 1,000 pages cost $3.00. You only pay for pages that return a result.
New accounts get 200 free credits, enough for about 66 pages with this model. See pricing for credit packs.
Similar models
1Azure Document IntelligenceAzure layout model with tables, selection marks and prebuilt invoice and ID readers.
azure/document-intelligence15 credits / page2Amazon TextractAWS OCR with form key-value pairs, tables and per-word confidence scores.aws/textract6 credits / page3Google Cloud Vision OCRGoogle Cloud's image OCR with text and document text detection, word boxes and confidence.google/cloud-vision2 credits / pageAll Google Document AI alternatives
Compare Google Document AI
Google Document AI vs Azure Document IntelligenceGoogle Document AI vs Amazon TextractGoogle Document AI vs Google Cloud Vision OCRGoogle Document AI vs EasyOCRGoogle Document AI vs LlamaParseGoogle Document AI vs dots.ocr