Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Azure AI Document Intelligence

by Microsoft

Data out of invoices and scans.

Document parsing and OCR

WebsitePricingGitHub

1. Price

Free tier: 0 - 500 pages free per month. As reported on the official pricing page, checked Oct 10, 2026.

azure.microsoft.com/en-us/pricing/details/ai-document-intelligence/

Checked against the maker's official pages, pricing on Oct 10, 2026. Tap a verdict to see its source.How we checkedReport an error

What Azure AI Document Intelligence does

Azure Document Intelligence is a Microsoft online service that reads PDFs, photos and scans. It returns the text, tables and named fields, such as the vendor and total of an invoice or the name on an ID card. You pay per page, and the first 500 pages each month are free.

  • Azure AI Document Intelligence is one of 16 APIs in the Document parsing and OCR category on AgentGid.
  • It is one of 14 that can be started for free.
  • 1 of them ship an official MCP server; Azure AI Document Intelligence does not.
  • Its official SDK is the 1st most downloaded in the category (2.6M a week).

What people build with it

Invoices into your bookkeeping

Pull the vendor, dates, totals and line items out of supplier invoices, so nobody types them in by hand.

Receipts for an expense app

Users snap a photo of a receipt and your app fills in the shop, date, items and amount.

PDFs into searchable text with tables

Turn reports and scanned PDFs into text with headings and tables kept, so your search or chatbot can use them.

ID check at sign-up or check-in

Read the name, number and dates from a passport or ID card photo, for example at hotel check-in.

Handwritten notes into typed text

Read handwritten notes or forms and get typed text back, for example before translating them.

Sort a pile of mixed scans

Tell apart application forms, pay slips and bank statements in one uploaded bundle before reading each one.

Azure AI Document Intelligence popularity

2.3M
SDK downloads a week
+7.0% on the 4-week average
26
public agent repos use its SDK
2,301
GitHub stars, Azure/azure-sdk-for-js
SDK downloads per weeknpm @azure-rest/ai-document-intelligence, pypi azure-ai-documentintelligence 2,252,829

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

0 - 500 pages free per month

Cheapest plan

No monthly plan

Usage price

Per 1,000 pages: Read $1.50 (0-1M pages), $0.60 (1M+); Layout/prebuilt $10; custom extraction $30; classifier $3 (East US)

Plans

Billed per page, not per request. Pricing page loads prices dynamically; figures are from Microsoft's Azure Retail Prices API (prices.azure.com), East US, pay-as-you-go.

What one action costs

ActionPrice
1,000 pages read with the Read model (East US, first 1M pages a month)$1.5
1,000 pages read with the Read model above 1M pages a month (East US)$0.6
1,000 pages with a prebuilt model (layout, invoice, receipt, ID and others, East US)$10.0
1,000 pages with a custom extraction model (East US)$30.0
1,000 pages sorted by a custom classifier (East US)$3.0

As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy. azure.microsoft.com/en-us/pricing/details/ai-document-intelligence

Limits

Free (F0)

1 analyze request per second, 4 MB per file, first 2 pages per document, 500 pages a month

Standard (S0)

15 analyze requests per second by default (can be raised), 500 MB and 2,000 pages per document

From the official docs. learn.microsoft.com/en-us/azure/ai-services/document-intelligence/service-limits

Key and access

How it signs in

Resource key in the Ocp-Apim-Subscription-Key header, or a Microsoft Entra ID (OAuth) token.

Environment variable
DOCUMENTINTELLIGENCE_ENDPOINT and DOCUMENTINTELLIGENCE_API_KEY in the Python samples (DOCUMENT_INTELLIGENCE_ENDPOINT and DOCUMENT_INTELLIGENCE_API_KEY in the JavaScript samples); pass them to the client.
Safe in browser code
No, keep it on your server
Card at sign-up

Not stated on the pages we read

Steps only a person can do

  • Create an Azure subscription and a Document Intelligence resource in the Azure portal; choose the F0 (free) or S0 tier and a region. Read DOCUMENTINTELLIGENCE_ENDPOINT and DOCUMENTINTELLIGENCE_API_KEY from .env (the person pastes them there).
  • For more than 15 requests a second, open a support request for a higher limit. Keep retry with backoff in the code either way.

Commercial use and your data

The official client libraries are open source under the MIT license. The service itself is a paid Microsoft Azure product used under your Azure subscription, with a free tier of 500 pages a month.

In a paid app
With conditions

Built for adding document processing to your apps; usage is billed under your Azure subscription and Microsoft's product terms.

“you can use prebuilt models to add intelligent document processing to your apps and flows without having to train and build your own models.” source

inside-app-bundle
Yes

The client libraries are MIT licensed; keep the license notice.

“"license":"MIT"” source

Keeps your data

Inputs and results are kept 24 hours after the analysis, then deleted; you can delete them sooner.

“document intelligence automatically deletes both after this retention period.” source

Where data is stored

Data is processed in the Azure region where you created the resource.

“the incoming data is processed in the same region where the document intelligence resource was created.” source

Errors to handle

400 InvalidRequest / InvalidContent

The file is corrupted or its format is not supported.

Check the file type (PDF, JPEG, PNG, BMP, TIFF, HEIF, or DOCX/PPTX/XLSX for Read and Layout) and size; do not retry unchanged.

403 Forbidden

Access is forbidden due to policy or other configuration, or authorization failed.

Check the key or Entra ID role and the resource's network rules.

404 ModelNotFound / OperationNotFound

The model or the analyze operation does not exist, or the result has expired.

Check the model ID; analyze results are kept only 24 hours, so read them sooner.

429

Too many requests per second for your resource.

Retry with growing delays (for example 2, 5, 13, 34 seconds), ramp up load slowly, or ask for a higher limit.

503 ServiceUnavailable

A transient error occurred.

Retry with backoff.

Use it from an agent

Our agent check

3 of 6: llms.txt no, OpenAPI no, SDK yes, MCP no, status page yes, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

None found

npm
npm install @azure-rest/ai-document-intelligence
PyPI
pip install azure-ai-documentintelligence

Alternatives

Azure AI Document Intelligence This page

from $0.6Free tier

LlamaCloud (LlamaParse)

Pick LlamaCloud (LlamaParse) to turn messy documents into text for AI apps; our catalog lists $1.25 per 1,000 pages as its comparable price on 2026-11-10.

$1.25 / 1k requestsFree tier

Reducto

Pick Reducto to parse, extract and split 30+ file types into structured data; our catalog lists $10 per 1,000 pages on 2026-11-10.

$10 / 1k requestsFree tier

Mindee API

Pick Mindee for a document-reading service focused on invoices, receipts and IDs; our catalog lists $50 per 1,000 pages on 2026-11-10.

$50 / 1k requestsNo free tier

All document parsing and ocr APIs

Get started

Tell your AI assistant

“Add Azure Document Intelligence on my server: read DOCUMENTINTELLIGENCE_ENDPOINT and DOCUMENTINTELLIGENCE_API_KEY from .env, pin azure-ai-documentintelligence 1.0.2 (API 2024-11-30), use prebuilt-invoice, prebuilt-receipt or prebuilt-layout, wait for the long-running result, pass a pages range to limit cost, and retry 429 with backoff.”

  1. In the Azure portal, create a Document Intelligence resource (free F0 or standard S0) and copy its endpoint and key.

    From github.com/Azure/azure-sdk-for-python/blob/main/sdk/documentintelligence/azure-ai-documentintelligence/README.md

  2. Install the Python package (or @azure-rest/ai-document-intelligence for Node.js).

    python -m pip install azure-ai-documentintelligence

    From github.com/Azure/azure-sdk-for-python/blob/main/sdk/documentintelligence/azure-ai-documentintelligence/README.md

  3. Create the client with the endpoint and key, then send a file to a model such as prebuilt-invoice or prebuilt-layout.

    from azure.core.credentials import AzureKeyCredential
    from azure.ai.documentintelligence import DocumentIntelligenceClient
    
    endpoint = "https://<my-custom-subdomain>.cognitiveservices.azure.com/"
    credential = AzureKeyCredential("<api_key>")
    document_intelligence_client = DocumentIntelligenceClient(endpoint, credential)
    

    From github.com/Azure/azure-sdk-for-python/blob/main/sdk/documentintelligence/azure-ai-documentintelligence/README.md

First request

Verbatim sample from the REST reference; send the key in the Ocp-Apim-Subscription-Key header. The result is read with GET on the Operation-Location address. We sent no request.

POST https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/prebuilt-layout:analyze?_overload=analyzeDocument&api-version=2024-11-30&pages=1-2,4&locale=en-US&stringIndexType=textElements

{
  "base64Source": "e2Jhc2U2NEVuY29kZWRQZGZ9"
}

Mistakes to avoid

Installing azure-ai-formrecognizer or @azure/ai-form-recognizer from old tutorials
Use azure-ai-documentintelligence (Python) or @azure-rest/ai-document-intelligence (JavaScript) for API 2024-11-30

The old packages target older API versions; v3.0 retires on March 30, 2029 and v2.1 on September 15, 2027.

Reading the result right after the POST
Poll the Operation-Location address (or use the client's poller) until the job is done, no more than once every 2 seconds

Analyze is a long-running job that first answers 202 Accepted.

Sending a 300-page PDF when you need only the first page
Pass pages="1" (or a range) in the analyze request

All pages are billed unless you set a range.

Mixing up DOCUMENTINTELLIGENCE_ENDPOINT (Python samples) and DOCUMENT_INTELLIGENCE_ENDPOINT (JavaScript samples)
Pick one name and pass the endpoint and key to the client yourself

The two official READMEs use different variable names, and the clients take them as arguments.

Calling the service from browser code with the resource key
Call it from your server; prefer Microsoft Entra ID (DefaultAzureCredential) over keys where possible

The key gives full access to the resource and its bill; the JavaScript client lists only Node.js as a supported environment.

Questions

Is there a free tier?

Yes. The F0 tier gives 500 free pages a month, but it reads only the first two pages of each document.

How are Word, Excel and PowerPoint files counted?

Each Excel sheet or PowerPoint slide is one page; Word and HTML files count one page per 3,000 characters.

Does training my own model cost money?

Training a custom model is free; you pay when the model reads documents. Neural model training beyond the free hours is billed by the hour.

Where is my data processed?

In the Azure region where you created the resource, and it is deleted 24 hours after the analysis.