Cloud service · Azure · Updated

Azure OpenAI in Foundry Models - Azure OpenAI in Foundry Models provides managed access to OpenAI models through Azure APIs, with Azure identity, networking, deployment, and governance controls.

In short

The service lets engineers add language generation, reasoning, coding, embeddings, image, and audio capabilities to applications without operating model-serving infrastructure. Models are deployed and managed through Azure and Foundry tooling, with capabilities, quotas, API support, and availability determined by the selected model, version, region, and deployment type.

Cloud Services Hub →

9 key features of Azure OpenAI in Foundry Models

01
Managed model deployments

Deploy supported OpenAI model versions without managing inference servers. Select the deployment type and capacity appropriate to the workload, and check regional availability and quota before provisioning.

02
Language, coding, and reasoning models

Use models for summarization, extraction, code generation, and multi-step problem solving. Benchmark candidate models against your own test cases because latency, quality, parameters, and token accounting differ.

03
Multimodal processing

Supported models accept images, process audio, synthesize speech, or generate images. Verify the exact model and API combination rather than assuming a text deployment also supports audio or image generation.

04
Text embeddings

Convert text into vectors for similarity search, clustering, and retrieval. Use a compatible embedding model and vector dimension configuration for both indexed content and incoming queries.

05
Tool calling and structured outputs

Supported models can propose function calls or produce output constrained by a supported JSON schema. The application remains responsible for validating arguments, authorizing operations, executing tools, and returning results to the model.

06
Azure identity and private networking

Authenticate through Microsoft Entra ID, assign least-privilege Azure roles, and use managed identities for application access. Private endpoints can provide private connectivity when paired with appropriate DNS and public-access settings.

07
Content filtering and safety controls

The service evaluates supported inputs and outputs using built-in safety systems. Handle blocked requests and filtered responses in application logic, and add workload-specific safeguards for sensitive data and consequential actions.

08
Fine-tuning for supported models

Adapt eligible models using curated training examples when prompting alone does not meet a repeatable behavior or formatting requirement. Model eligibility, training availability, deployment options, and charges vary; evaluate the resulting model against a held-out dataset.

09
Streaming responses

Supported generation APIs can return output incrementally to reduce perceived waiting time. Clients must handle partial output, interrupted streams, and final usage or completion metadata correctly.

Where Azure OpenAI in Foundry Models is used

  1. 01
    Internal knowledge assistants

    Combine document retrieval with language generation to answer questions about policies, engineering documentation, or support procedures. Apply access controls before including retrieved passages and return references alongside answers.

  2. 02
    Document extraction and classification

    Extract fields, assign categories, and summarize document content using supported text or vision models. Validate output against business rules and route ambiguous or high-impact results for review.

  3. 03
    Developer assistance

    Generate tests, explain code, draft changes, and investigate errors using coding-capable models. Run generated changes through normal code review, security analysis, and automated tests before merging.

  4. 04
    Customer service assistance

    Summarize customer conversations, draft responses, and retrieve relevant support guidance. Keep customer authorization and account-changing actions in trusted application services rather than allowing unrestricted model execution.

  5. 05
    Voice-enabled applications

    Use supported transcription, speech generation, or real-time audio models for conversational interfaces. Plan for session handling, interruption behavior, latency, consent, and retention of audio or transcripts.

  6. 06
    Semantic search and content matching

    Generate embeddings to match queries with relevant documents, identify related tickets, or group similar content. Store vectors in a search index or database and evaluate retrieval quality separately from answer generation.

How Azure OpenAI in Foundry Models is priced

Standard pay-as-you-go inference

Usage-based deployments charge according to the selected model and metering rules, commonly with separate input and output token rates. Eligible cached input can have a different rate, reasoning tokens can contribute to billed output, and image or audio workloads use model-specific meters.

Provisioned throughput

Eligible models support capacity purchased as provisioned throughput units rather than ordinary per-token standard inference. Size capacity using realistic prompt lengths, output lengths, concurrency, and latency targets; charges apply to deployed capacity even when it is underused, and reservation options may reduce eligible costs.

Batch inference

Supported models offer asynchronous batch processing with separate pricing and quota from interactive inference. This option suits offline classification, extraction, or evaluation jobs that do not require immediate responses; check current completion-window and regional requirements.

Fine-tuning and customized model hosting

Fine-tuning can incur training charges and additional hosting or inference charges depending on the model and deployment option. Include training iterations, evaluation calls, and the lifetime of deployed customized models when estimating cost.

Services Azure OpenAI in Foundry Models works with

A common architecture separates ingestion, retrieval, inference, and action execution. Documents land in Azure Blob Storage, and an ingestion worker extracts text, creates chunks, and requests embeddings from an Azure OpenAI deployment. Azure AI Search stores searchable text, vectors, metadata, and the fields needed to enforce document access. At query time, the application retrieves authorized passages and includes them in the generation request, then returns an answer with source references.

Azure Functions can run background ingestion and implement narrowly scoped tools, such as reading a support ticket or submitting an approved workflow request. The model proposes tool calls; trusted application code validates arguments, checks authorization, and performs the operation. Microsoft Entra ID and managed identities provide service-to-service authentication, while private connectivity can restrict backend exposure.

Azure API Management provides a shared entry point when multiple applications consume model-backed APIs. Apply consumer limits and routing policies without treating the gateway as a substitute for backend quota planning. Azure Monitor and Application Insights capture operational signals across retrieval, generation, and tool execution. Track token usage, throttling, failures, and latency while minimizing sensitive prompt and response logging.

Azure Blob Storage

Store source documents, ingestion artifacts, and permitted generated outputs in Blob Storage. For example, an ingestion pipeline can read uploaded manuals, split their extracted text into chunks, request embeddings, and write searchable records to a separate index. Blob storage does not automatically make those documents available to the model.

Azure Functions

Use Azure Functions for event-driven preprocessing and controlled tool execution. For example, a queue-triggered function can summarize a completed support case and store the result in the case system. Bound concurrency to model quota, and make retried operations idempotent to avoid duplicate writes.

API Management

Place API Management in front of application-facing model APIs to centralize authentication, request policies, and consumer-level usage controls. For example, a shared platform can expose separate products for engineering and support applications with distinct rate limits. Gateway routing and retries must account for backend quotas, streaming behavior, and approved processing geographies.

Azure Monitor

Combine service metrics and supported diagnostic logs with application telemetry to investigate latency, throttling, failures, and usage. For example, correlate a slow assistant request with retrieval duration, model time to first output, and retry counts. Avoid recording raw prompts or responses unless explicitly required and protected by suitable access and retention controls.

App Service

Azure OpenAI is a supported Service Connector target for App Service. Service Connector configures the app with the model endpoint and its authentication settings, so the app can use a managed identity instead of storing an API key.

Azure AI Video Indexer

Azure AI Video Indexer uses Azure OpenAI models in its built-in video summarization feature. The service turns insights extracted from an indexed video into a text summary.

Azure Cache for Redis

Azure OpenAI traffic routed through API Management can use Azure Cache for Redis Enterprise as a semantic cache. The gateway can return a cached completion for a sufficiently similar prompt without sending another completion request to the model.

Azure Content Understanding in Foundry Tools

Content Understanding analyzers can use configured Azure OpenAI deployments for generation and embeddings. For example, an analyzer can use GPT-4.1 to extract structured fields from a document and an embedding model to represent its contents for retrieval.

Azure Data Explorer

Azure Data Explorer can use an Azure OpenAI embedding deployment from a Kusto query. For example, it can turn incident descriptions into vectors for similarity searches.

Azure Database for PostgreSQL

The Azure AI extension for Azure Database for PostgreSQL can call an Azure OpenAI embedding deployment from SQL. A query can embed product descriptions and store the resulting vectors in a pgvector column for similarity search.

Alternatives to Azure OpenAI in Foundry Models in other clouds

AWS

Amazon Bedrock

Amazon Bedrock and Azure OpenAI in Foundry Models both provide managed API access to foundation models without requiring teams to run inference servers. Bedrock offers models from Amazon and other providers and includes Knowledge Bases for retrieval, while Azure OpenAI provides OpenAI models and uses a separately managed document index for retrieval.

Compare fact by fact
Azure OpenAI in Foundry ModelsAmazon Bedrock
Model providersOpenAIAmazon and other providers
Model invocationCalls to a named model deploymentModel calls via Bedrock runtime APIs
Document retrievalApplication-managed retrievalBedrock Knowledge Bases
Compared Nov 2026

What is Azure OpenAI in Foundry Models

2 min read

Azure OpenAI in Foundry Models is the Azure-managed service for consuming OpenAI models within the broader Foundry model catalog. It supports application tasks such as generating and summarizing text, understanding images, producing code, creating embeddings, and processing audio. These capabilities are provided by different model families; a single deployment does not necessarily support every modality or API operation.

To get started, create an Azure OpenAI resource in an Azure subscription, select an available model and version, and create a deployment. Applications call that deployment through a supported REST API or SDK. Keep the resource endpoint, deployment name, authentication configuration, and any required API version in application configuration. For Azure OpenAI deployment-based endpoints, the deployment name identifies the target deployment and can differ from the underlying model identifier.

Choose models using representative workload evaluations rather than model size alone. Compare answer quality, latency, context limits, tool-calling support, structured output support, and cost. Reasoning models can be useful for complex coding or analytical tasks, while smaller models may be sufficient for classification and routine extraction. Input, output, and reasoning tokens must fit the model's applicable context budget; a maximum output setting does not guarantee that much output will fit.

For applications that answer questions about private or frequently changing information, implement retrieval-augmented generation. Store and index source documents separately, retrieve relevant passages at request time, and include those passages in the model input. Embedding models produce vectors for similarity search, but they do not provide a persistent document database. Enforce document permissions during retrieval and retain source identifiers so the application can display references.

Use Microsoft Entra ID and managed identities where supported to avoid embedding long-lived credentials in application code. Private endpoints and virtual network controls can restrict network access. Review the processing geography of the deployment type: regional, data zone, and global options have different processing boundaries. Do not assume that a resource's location alone defines where every inference request is processed.

Production clients should handle throttling, transient failures, timeouts, and content-filter responses explicitly. Apply bounded retries with exponential backoff and jitter, respect retry guidance, and cap concurrency against available quota. Monitor request latency, token consumption, errors, and application-level answer quality. Treat model responses and tool arguments as untrusted input, validate structured results, and require authorization before executing external actions.

Model availability and lifecycle are operational dependencies. Track version retirement and upgrade settings, test replacement versions before rollout, and avoid relying on preview behavior for critical production paths. Content filtering helps reduce harmful outputs but does not establish factual correctness or replace application-specific safety controls, evaluation, and human review.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.