5.2 Azure OpenAI Service

Key Takeaways

  • Azure OpenAI Service provides access to OpenAI models (GPT-4o, GPT-4, GPT-3.5-Turbo) through Azure's enterprise-grade cloud platform with security, compliance, and content filtering.
  • Azure OpenAI combines OpenAI's generative models with Azure's enterprise features: RBAC, managed identities, virtual networks, content filtering, and compliance certifications.
  • You must create a deployment of a specific model before you can use it — the deployment determines which model, version, and capacity you have.
  • Azure OpenAI supports text generation (chat completions), image generation (GPT-Image), embeddings (vector representations), and speech (Whisper for transcription).
  • Access to Azure OpenAI Service requires an approved application — it is not available to all Azure subscribers by default.
Last updated: March 2026

Azure OpenAI Service

Quick Answer: Azure OpenAI Service provides access to OpenAI models (GPT-4o, GPT-4, GPT-3.5-Turbo) through Azure with enterprise-grade security, compliance, and content filtering. You create deployments of specific models and access them via REST API or SDK. Access requires an approved application.

What Is Azure OpenAI Service?

Azure OpenAI Service is a cloud service that provides REST API access to OpenAI's powerful generative AI models. It combines OpenAI's models with Azure's enterprise capabilities:

Azure OpenAI vs. OpenAI Direct

FeatureAzure OpenAIOpenAI Direct
ModelsSame OpenAI models (GPT-4o, GPT-4, etc.)Same models
SecurityAzure RBAC, managed identities, private endpointsAPI key authentication
ComplianceSOC 2, HIPAA, ISO 27001, GDPR certificationsStandard compliance
Content filteringBuilt-in Azure AI Content Safety filtersModeration API
Data privacyYour data is NOT used to train modelsYour data is NOT used to train models
NetworkingVirtual networks, private endpointsPublic internet
SLAEnterprise SLA with guaranteed uptimeBest-effort availability
BillingAzure subscription billingOpenAI billing
AccessRequires approved applicationGenerally available

On the Exam: The key differentiator is ENTERPRISE FEATURES. Azure OpenAI offers the SAME models as OpenAI but adds Azure security, compliance, content filtering, and networking capabilities that enterprises require.

Available Models

Text Generation Models

ModelDescriptionBest For
GPT-4oMultimodal model (text + image input, text output)Most capable; complex reasoning, coding, analysis
GPT-4o miniSmaller, faster, cheaper version of GPT-4oQuick responses, cost-sensitive applications
GPT-4Previous generation flagship modelComplex tasks when GPT-4o is unavailable
GPT-3.5-TurboFast and cost-effective text generationSimple tasks, chatbots, high-volume applications

Image Generation Models

ModelDescriptionStatus
GPT-Image-1Latest image generation modelCurrently available
DALL-E 3Previous image generation modelRetired (March 2026)

Embeddings Models

ModelDescriptionBest For
text-embedding-3-largeHigh-dimensional text embeddingsSemantic search, RAG, similarity matching
text-embedding-3-smallEfficient text embeddingsCost-effective embedding applications
text-embedding-ada-002Previous generation embeddingsLegacy applications

Speech Models

ModelDescriptionBest For
WhisperSpeech-to-text transcriptionAudio transcription

Creating a Deployment

Before using a model, you must create a deployment in your Azure OpenAI resource:

  1. Create an Azure OpenAI resource in the Azure portal
  2. Navigate to Azure AI Foundry (the management portal)
  3. Select a model from the model catalog
  4. Create a deployment — specify model version, capacity (TPM - Tokens Per Minute), and deployment name
  5. Use the deployment via the REST API or SDK with your endpoint and key

Deployment Types

TypeDescriptionWhen to Use
StandardPay-per-token, shared capacityDevelopment, testing, variable workloads
ProvisionedReserved capacity with guaranteed throughputProduction workloads with predictable demand
GlobalAutomatically routes to the best available regionApplications needing high availability

Enterprise Features

Security

  • Azure RBAC — control who can access the resource and deployments
  • Managed identities — authenticate without storing credentials in code
  • Private endpoints — keep traffic on your private network
  • Customer-managed keys — encrypt data with your own keys

Compliance

Azure OpenAI inherits Azure's compliance certifications:

  • SOC 2 Type II
  • ISO 27001
  • HIPAA (with BAA)
  • GDPR
  • FedRAMP (select regions)

Content Filtering

Built-in content filters that scan both prompts and responses:

  • Hate speech detection and blocking
  • Violence detection and blocking
  • Sexual content detection and blocking
  • Self-harm content detection and blocking
  • Jailbreak attempt detection (Prompt Shields)

Data Privacy

  • Your prompts and responses are NOT used to train OpenAI models
  • Data is processed in the Azure region you select
  • Data is not shared with OpenAI for model improvement
  • You can opt into or out of abuse monitoring

On the Exam: The most important point about Azure OpenAI data privacy is that YOUR DATA IS NOT USED TO TRAIN MODELS. This is a common question — enterprises need assurance that their proprietary data remains private.

Test Your Knowledge

What is the primary advantage of Azure OpenAI Service over using OpenAI directly?

A
B
C
D
Test Your Knowledge

In Azure OpenAI Service, what must you create before you can use a model?

A
B
C
D
Test Your Knowledge

Is your prompt and response data used to train OpenAI models when using Azure OpenAI Service?

A
B
C
D
Test Your Knowledge

Which Azure OpenAI model is the most capable multimodal model that accepts both text and image input?

A
B
C
D
Test Your KnowledgeMulti-Select

Which THREE are enterprise features that Azure OpenAI Service provides over OpenAI direct? (Select three)

Select all that apply

Azure RBAC (Role-Based Access Control)
Access to exclusive models not available from OpenAI
Built-in content filtering via Azure AI Content Safety
Free usage with no token charges
Private endpoints for network isolation