What is GC Document AI API?
Google Cloud Document AI extracts structured data and text from documents using optical character recognition and AI.
Technical Specifications
- Supported inputs: Document, Image
- Output: Text
Performance Benchmarks
[embed]
GC Document AI API Pricing
- Pricing on request
Where to Use GC Document AI
Audio generation
Create speech, sound effects, or music from prompts.
Document AI is suited to automating data entry by extracting structured data from documents, including documents used in workflows like mail rooms, shipping yards, mortgage processing, and procurement.
It is also documented for classifying documents, such as emails, contracts, and invoices, which helps automate filing and organization.
Another stated use case is identifying and redacting sensitive information, including personal data and financial information, to support privacy protection and data compliance.
It is also used to search, store, govern, and manage documents and their extracted data, including enabling semantic search and cloud-based access.
import requests headers = {"Authorization": "Bearer " + AIMLAPI_KEY} res = requests.post( "https://api.aimlapi.com/v1/ocr", headers=headers, json={ "model": "google/gc-document-ai", "document": "https://example.com/invoice.pdf", "mimeType": "application/pdf" }, ).json() print(res)
const res = await fetch("https://api.aimlapi.com/v1/ocr", { method: "POST", headers: { Authorization: `Bearer ${AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "google/gc-document-ai", document: "https://example.com/invoice.pdf", mimeType: "application/pdf", }), }).then((r) => r.json()); console.log(res);
curl -s https://api.aimlapi.com/v1/ocr \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "google/gc-document-ai", "document": "https://example.com/invoice.pdf", "mimeType": "application/pdf" }'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
GC Document AI This page | Document text extraction | |||
| Document text extraction | ||||
| Document text extraction | ||||
| Document text extraction |
GC Document AI takes document, image as input and returns text.
GC Document AI became available on December 16, 2025.
GC Document AI is priced at $0.0078 / page.
GC Document AI is billed per generation — a fixed charge per output rather than by prompt length.
GC Document AI was built by Google.
Use google/gc-document-ai as the model id on AI/ML API.
Yes. GC Document AI is served through AI/ML API, so the same key and endpoint format used for other models applies.
It uses optical character recognition combined with AI to extract structured data and text from documents.