Go to: https://portal.azure.com
Log in with your Microsoft account.
In the top search bar, type: Azure OpenAI
Click on Azure OpenAI from the results.
Click the + Create button.
Fill in the following details:
Subscription: Choose your Azure subscription.
Resource Group: Create a new one or choose an existing one.
Region: Choose a supported region (e.g., East US, France Central).
Name: Choose a unique name for your service.
Pricing Tier: Keep the default (Standard S0
) unless you have a specific plan.
Click Review + Create and then Create.
⏳ Wait for the deployment to finish (takes 1–2 minutes).
After deployment, click Go to resource.
In the left-hand menu, click "Model deployments".
Click + Create or + Deploy a model.
Fill in the following:
Model: Select gpt-4o-mini
Deployment name: e.g., gpt-4o-mini
Temperature, Max Tokens: You can leave these as default.
📌 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.
Click Create.
On the left sidebar, click Keys and Endpoint.
You’ll need:
Endpoint URL
API Key 1 or API Key 2
You can test it using:
Azure OpenAI Studio (https://oai.azure.com)
Or via code (Python, JavaScript, etc.)