Part 1: Create an Azure OpenAI Resource

1. Sign in to the Azure Portal

2. Search for "Azure OpenAI"

3. Create a New Resource

Wait for the deployment to finish (takes 1–2 minutes).

Part 2: Deploy GPT-4o-Mini Model

1. Go to the Created Azure OpenAI Resource

2. Open the "Model Deployments" Section

3. Create New Deployment

📌 Make sure your selected region supports GPT-4o-Mini. If it doesn’t show up, you may need to change region or wait for access.

Part 3: Get Your Endpoint and API Key

1. Go to "Keys and Endpoint"

2. Copy the Values

Part 4: Test the Deployment

You can test it using: