Azure AI Document Intelligence
by Microsoft
Data out of invoices and scans.
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/2. Commercial use
“you can use prebuilt models to add intelligent document processing to your apps and flows without having to train and build your own models.”
Built for adding document processing to your apps; usage is billed under your Azure subscription and Microsoft's product terms.
learn.microsoft.com/en-us/azure/ai-services/document-intelligence/overview3. Key & sign-up
“the most common way to authenticate access to document intelligence is by using the customer's document intelligence api key.”
Resource key in the Ocp-Apim-Subscription-Key header, or a Microsoft Entra ID (OAuth) token. The key gives access to the whole resource and its bill; the JavaScript client supports Node.js only.
learn.microsoft.com/en-us/legal/cognitive-services/document-intelligence/data-privacy-security4. Agent access
Our agent check: 3 of 6 (Nov 13, 2026).
azure.microsoft.com/en-us/products/ai-services/ai-document-intelligenceChecked 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
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
0 - 500 pages free per month
No monthly plan
Per 1,000 pages: Read $1.50 (0-1M pages), $0.60 (1M+); Layout/prebuilt $10; custom extraction $30; classifier $3 (East US)
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
| Action | Price |
|---|---|
| 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
1 analyze request per second, 4 MB per file, first 2 pages per document, 500 pages a month
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
Resource key in the Ocp-Apim-Subscription-Key header, or a Microsoft Entra ID (OAuth) token.
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.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.
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
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
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
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.
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.
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.
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.
A transient error occurred.
Retry with backoff.
Use it from an agent
3 of 6: llms.txt no, OpenAPI no, SDK yes, MCP no, status page yes, AI assistants allowed yes
Checked Nov 13, 2026.
None found
npm install @azure-rest/ai-document-intelligencepip install azure-ai-documentintelligenceAlternatives
Azure AI Document Intelligence This page
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.
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.
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.
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.”
In the Azure portal, create a Document Intelligence resource (free F0 or standard S0) and copy its endpoint and key.
Install the Python package (or @azure-rest/ai-document-intelligence for Node.js).
python -m pip install azure-ai-documentintelligenceCreate 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)
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"
}
Status code: 202
Operation-Location: https://myendpoint.cognitiveservices.azure.com/documentintelligence/documentModels/prebuilt-layout/analyzeResults/3b31320d-8bab-4f88-b19c-2322a7f11034?api-version=2024-11-30
Mistakes to avoid
The old packages target older API versions; v3.0 retires on March 30, 2029 and v2.1 on September 15, 2027.
Analyze is a long-running job that first answers 202 Accepted.
All pages are billed unless you set a range.
The two official READMEs use different variable names, and the clients take them as arguments.
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.