An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
An Azure OpenAI resource is only the service endpoint. It does not automatically select a model for requests.
To use a model such as GPT-4o or GPT-4o-mini, a model deployment must be created after the resource exists.
Supported programmatic model names include:
-
gpt-4oversion2024-11-20 -
gpt-4oversion2024-08-06 -
gpt-4oversion2024-05-13 -
gpt-4o-miniversion2024-07-18
A working flow is:
- Create the Azure OpenAI resource in a supported standard or global-standard region.
- Deploy the model to that resource.
- Call the API against the deployment name created for that model.
In the portal flow shown in the documentation:
- Open Azure AI Foundry and sign in with the credentials associated with the Azure OpenAI resource.
- Select the correct directory, subscription, and Azure OpenAI resource.
- Go to Models + endpoints.
- Select + Deploy model.
- Choose gpt-4o or gpt-4o-mini.
- Enter a deployment name and deploy it.
- Use that deployment in the playground or API calls.
Important detail: the endpoint and key belong to the Azure OpenAI resource, but the model used by an API call is determined by the deployment name, not just by the resource endpoint. If multiple models are deployed under one resource, the request must specify the intended deployment.
If deployment is being done programmatically instead of through the portal, the documented model names above are the names to use when creating the deployment.
- Azure OpenAI in Azure AI Foundry Models
- What is Azure OpenAI in Azure AI Foundry Models?
- Quickstart: Use images in your AI chats (ai-foundry-portal)
- I have two models deployed on Azure Open AI under same resource, but I have one key and endpoint. I am calling this endpoint, its giving me success response but not sure which model it has pointed to? - Microsoft Q&A