gpt-4o, gpt-5-mini, and more.
Installation
Authentication
Navigate to Azure OpenAI on the Azure Portal and create a service. Then, using the Azure AI Foundry portal, create a deployment and set your environment variables:Example
UseAzureOpenAI with your Agent:
Prompt caching
Prompt caching happens automatically with theAzureOpenAI model. Read more about how OpenAI handles caching in their docs.
Advanced Examples
View more examples here.Parameters
AzureOpenAI also supports the parameters of OpenAI.