Microsoft Foundry vs. Azure OpenAI Service — Clearing Up the Confusion

Last week, customer call. Architect from a mid-sized company asks: „We’ve been using Azure OpenAI for two years. Do we now have to migrate to Foundry — or can we ignore it?”

Three days later, different customer: „We use Document Intelligence for our invoices. Is that now Foundry too? Or does it belong somewhere else?”

I hear these questions every week. And I understand them. Microsoft has renamed its AI platform three times within 18 months — Azure AI Studio, Azure AI Foundry, now Microsoft Foundry. At the same time, „Cognitive Services” became „Azure AI Services”, and „Form Recognizer” became „Document Intelligence”. Anyone who’s lost here is not stupid. They’re just a normal IT pro with too many construction sites.

This article cleans it up. No marketing speak, no feature list. Three questions, three clear answers — and a decision tree you can use right after reading.

The big picture — Azure AI Services, OpenAI Service, Foundry

Before we compare, we need the hierarchy. Otherwise we’re comparing apples and oranges.

Layer 1 — Azure AI Services (the family of AI APIs)

A whole collection of specialized AI services, each with its own API, its own resource type, its own pricing model. The most important ones:

  • Azure OpenAI Service — GPT-4o, o-series, embeddings, DALL-E
  • Azure AI Document Intelligence — layout recognition, prebuilt models for invoices/IDs/business cards, custom models
  • Azure AI Vision — image analysis, OCR, object detection
  • Azure AI Speech — STT, TTS, translation, speaker recognition
  • Azure AI Language — entity extraction, sentiment, summarization, PII detection
  • Azure AI Search — hybrid search (keyword + vector + semantic ranking)
  • Azure AI Content Safety — moderation, jailbreak detection, groundedness
  • Azure AI Translator

You can call all of these directly via REST/SDK. They work completely without Foundry. Document Intelligence has been around since 2019, OpenAI Service since 2023 — Foundry is newer than both.

Layer 2 — Microsoft Foundry (the platform around it)

A UI, a hub concept, an agent service, a model catalog, prompt flow, evaluations, tracing. Foundry integrates the AI services via connections. In Foundry, you can build an agent that internally calls Document Intelligence, then an embeddings model, then GPT-4o — all orchestrated, evaluated, traced.

ℹ️
Here’s how the knot dissolves

Foundry does not replace a single AI service. Foundry conducts them. You can use every service solo — or you use Foundry as the orchestrator around them.

Where does Document Intelligence fit in?

Three patterns from real-world practice:

Pattern A
Document Intelligence solo
You have invoices, want to extract header fields, shipping address, line items, total. Call the prebuilt invoice model, get JSON back, write it into your ERP. Done. No LLM needed, no Foundry needed. One API call, deterministic schema, predictable costs.
Pattern B
Document Intelligence as a pre-step for RAG
Chatbot over your contract collection. Pipeline: Document Intelligence layout model extracts text + tables + headings structured from PDFs (much better than naive PDF-to-text), then your code chunks semantically, then embeddings via OpenAI, then into AI Search as a vector index, at runtime GPT-4o with retrieval. Three AI services side by side — either orchestrated in code or clicked together via Foundry Prompt Flow.
Pattern C
Document Intelligence as a tool of a Foundry agent
Claims triage agent at an insurance company. User uploads a claims report. Agent autonomously calls Document Intelligence (custom model for claim forms), then Language service for sentiment, then GPT-4o for classification and next action. Foundry Agent Service mandatory, because you need tool calls, memory, multi-step reasoning and tracing.

The rule: Document Intelligence becomes more important with every step towards „intelligent workflow”. Solo for structured extraction. In combination for understanding. In an agent for action.

When is Azure OpenAI Service enough?

Three conditions, all three must apply:

  1. You only need OpenAI models. No Phi, no Llama, no open-source.
  2. Your application code lives elsewhere — Function App, AKS, your own platform — and you build your pipeline, eval and monitoring logic yourself, or already have it.
  3. Your use-case at its core is: „Prompt in, answer out, done.” Classic RAG, chatbot with your own backend, batch classification.

If that fits: no Foundry needed. Deploy OpenAI Service, get endpoint, done. You save yourself the hub/project hierarchy and the learning curve.

When do you need Foundry?

As soon as one of these things applies:

  • You want to compare models — GPT-4o against Llama 3 against Phi-4 for the same use-case
  • You build agents (not „chatbots”, real agents with tools, memory, multi-step reasoning)
  • You need systematic evaluations — groundedness, coherence, custom metrics across test datasets
  • You want tracing across multiple steps (which step hallucinated?)
  • You orchestrate multiple AI services in a pipeline (Document Intelligence → embeddings → AI Search → GPT-4o)
  • You want a UI for your data scientists, where they can manage connections, datasets and deployments without an IT ticket
  • You need central governance across multiple AI projects (hub concept) with shared resources

Translated: Foundry pays off as soon as AI is more than just another API call in your app.

The comparison table you need

Aspect Azure AI Service (e.g. OpenAI, Doc Intelligence) Microsoft Foundry
What it is Specialized API service Platform with its own UI
Model choice One service = one model family 1,800+ models from catalog + all AI services via connection
Setup time 10 minutes 1–2 hours (hub, project, connections)
Usage Azure Portal + REST/SDK Own Foundry UI + SDK
Orchestrating multiple services Build yourself Prompt Flow + agents built-in
Evaluations Build yourself Built-in, including AI judge
Agents Self-built with SDK Foundry Agent Service
Tracing Yourself (App Insights) Built-in across all steps
Governance Per subscription/RG Hub-central across projects
Learning curve Low Medium
Cost Token/call based per service Token/call based (same) — platform itself free
Good to know

Foundry is not more expensive. The platform itself is free, you only pay for the underlying service calls — same as direct usage.

Three scenarios from my consulting work

Scenario 1: Classic M365 customer, looking for „chatbot for internal docs”

RAG pattern, GPT-4o, AI Search as vector store, Azure OpenAI Service directly. If the docs are only Word/PDF with standard text: without Document Intelligence. If the PDFs are scanned or contain tables that matter: Document Intelligence Layout as a pre-step. Foundry would be overkill. Setup done in a day, in production within two weeks.

Scenario 2: Insurance company, wants agent for claims triage

Foundry mandatory. Agent Service, Document Intelligence custom model for the claim forms as a tool, Language service for sentiment, GPT-4o for the final classification. Self-built with LangChain works too — but then you operate tracing, evaluation and tool-schema management yourself. In two years, you won’t want that anymore.

Scenario 3: SMB evaluating „do open-source LLMs save us money?”

Foundry. That’s exactly what the model catalog is for. Phi-4 locally, Llama 3 in Foundry, GPT-4o as baseline, all three compared with identical test prompts and eval dataset. In OpenAI Service alone, you can’t do that.

What Microsoft gets right here — and what not

Right: Foundry is the only platform on the market that has OpenAI models, open-source models, proprietary Microsoft models AND the specialized AI services (Document Intelligence, Vision, Speech, Language) under one roof — with enterprise governance. AWS Bedrock doesn’t give you that. Google Vertex AI doesn’t give you that.

Not right: The naming chaos. Azure AI Studio → Azure AI Foundry → Microsoft Foundry. Cognitive Services → Azure AI Services. Form Recognizer → Document Intelligence. Plus „Foundry Agent Service” vs. „Foundry Hub” vs. „Foundry Project” vs. the no-longer-existing „Azure AI Hub”. Anyone who consults with three customers on three different naming versions knows what I mean. Microsoft should clean this up once, then give us five years of peace.

⚠️
Silent assumption you should know

EU Data Boundary applies fully to OpenAI models in Azure OpenAI Service and to most classic AI services (Document Intelligence, Vision, Language). For models from the Foundry Model Catalog (Llama, Mistral and others), it does not apply automatically — check every model individually in the catalog. Typical audit finding you want to avoid.

My decision tree for you

1
Structured extraction from documents without LLM magic?
Document Intelligence solo
2
Only OpenAI models AND you build the surrounding logic yourself?
Azure OpenAI Service
3
Multiple AI services orchestrated in a pipeline, with tracing/eval?
Foundry with Prompt Flow
4
Agent with tools, memory, multi-step?
Foundry Agent Service
5
Unsure and want to start small?
Foundry Project with OpenAI as first deployment. Keeps the door open. Migration later costs you nothing but switching the workspace.

Point 5 is my default recommendation for 80% of customers. You lose nothing, you gain optionality.

☕ Bottom line · Ferdi style

What sticks

Azure OpenAI Service is one service. Document Intelligence is another. Vision, Speech, Language are more. Microsoft Foundry is the platform that orchestrates them all. You always use one or more services — either directly or through the platform. The question is never „Foundry OR AI Service”, but „Foundry platform around it: yes or no?”. And the answer doesn’t depend on tech, but on your use-case.

Espresso moment

A good espresso needs more than just beans — grinder, machine, water, tamper. OpenAI Service is a bean. Document Intelligence is a grinder. Foundry is the portafilter machine where everything comes together. You can chew the beans raw. But for anything that should look like a drink, you need the right tool for the job — and sometimes the whole setup at once.

What you take with you

  • Foundry does not replace AI services — Foundry orchestrates them
  • Document Intelligence is a standalone AI service, not a Foundry feature
  • Pure API scenario with OpenAI only → OpenAI Service is enough
  • Structured doc extraction without magic → Document Intelligence solo
  • As soon as multiple services interact, agents, evals or multi-model → Foundry
  • Foundry platform costs nothing extra — you pay only for service calls
  • EU Data Boundary for catalog models (Llama, Mistral) check individually
  • When unsure: start with Foundry Project + OpenAI deployment — maximum optionality
Ferdi Lethen-Oellers
Written by Ferdi Lethen-Oellers Microsoft MVP

Senior Modern Workplace Consultant at amexus · Speaker · Author of “Microsoft 365 Administration for Dummies”.

Question or feedback? Reach out on LinkedIn.

#EspressoM365Fusion