Skip to main content
Use OpenAI models through Azure’s infrastructure. Learn more here. Azure OpenAI provides access to OpenAI’s models like GPT-4o, gpt-5-mini, and more.

Authentication

Navigate to Azure OpenAI on the Azure Portal and create a service. Then, using the Azure AI Studio portal, create a deployment and set your environment variables:

Example

Use AzureOpenAI with your Agent:

Prompt caching

Prompt caching will happen automatically using our AzureOpenAI model. You can read more about how OpenAI handle caching in their docs.

Advanced Examples

View more examples here.

Parameters

AzureOpenAI also supports the parameters of OpenAI.