GC Document AI API

Google Cloud Document AI extracts structured data and text from documents using optical character recognition and AI.

Modalities
ImageText
Model type
Document OCR
Released
Dec 16, 2025

GC Document AI overview

GC Document AI specs

Model ID
google/gc-document-ai
Developer
Google
Input
Image
Output
Text
Endpoint
POST https://api.aimlapi.com/v1/ocr

Google Cloud Document AI extracts structured data and text from documents using optical character recognition and AI.

GC Document AI API Pricing
- Pricing on request

Audio generation
Create speech, sound effects, or music from prompts.

Use cases

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.

How to use the GC Document AI API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/ocr' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gc-document-ai",
  "document": null
}'

Related articles

All posts

GC Document AI FAQ

What inputs and outputs does GC Document AI support?

GC Document AI takes document, image as input and returns text.

When was GC Document AI released?

GC Document AI became available on December 16, 2025.

How much does GC Document AI cost?

GC Document AI is priced at $0.0078 / page.

How is GC Document AI billed?

GC Document AI is billed per generation, a fixed charge per output rather than by prompt length.

Who created GC Document AI?

GC Document AI was built by Google.

How do I call GC Document AI on AI/ML API?

Use google/gc-document-ai as the model id on AI/ML API.

Is GC Document AI available through a single API key?

Yes. GC Document AI is served through AI/ML API, so the same key and endpoint format used for other models applies.

What technology does GC Document AI use to process documents?

It uses optical character recognition combined with AI to extract structured data and text from documents.

What is the GC Document AI model ID?

Use google/gc-document-ai as the model parameter. Requests go to https://api.aimlapi.com/v1/ocr with your AI/ML API key.

Start building with GC Document AI

GC Document AI API

google/gc-document-ai

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/ocr' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "google/gc-document-ai",
  "document": null
}'