LLM Reference
Azure OpenAI

o3 Mini on Azure OpenAI

o3 · OpenAI

Serverless

Last refreshed 2026-06-04. Next refresh: weekly.

Why use o3 Mini on Azure OpenAI?

Azure OpenAI offers o3 Mini with competitive pricing. Azure OpenAI Service hosts OpenAI's GPT-4o, GPT-4, GPT-3.5, and embedding models on Microsoft Azure with enterprise SLAs.

Compare o3 Mini across 4 providers to find the best fit for your use case
Input / 1M
-
Output / 1M
-
Cache
Not sourced
Batch
in $0.15 / out $0.60

Setup recipe

Python + curl
Install
pip install openai
Auth
export AZURE_OPENAI_API_KEY=...
Call
import os
from openai import AzureOpenAI
client = AzureOpenAI(
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],  # e.g. https://{resource}.openai.azure.com
Model ID
o3-mini

Request example

import os
from openai import AzureOpenAI

client = AzureOpenAI(
    azure_endpoint=os.environ["AZURE_OPENAI_ENDPOINT"],  # e.g. https://{resource}.openai.azure.com
    api_key=os.environ["AZURE_OPENAI_API_KEY"],
    api_version="2024-02-01"
)
response = client.chat.completions.create(
    model="o3-mini",  # your deployment name
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • o3-mini is your Azure deployment name, not the underlying model name. Deployment names are set when you deploy a model in Azure AI Foundry / Azure OpenAI Studio.
  • The examples expect AZURE_OPENAI_API_KEY; rename it only if your application config maps the new variable.

Compare o3 Mini Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$1.10$4.40
Azure OpenAI
OpenAI API
Vercel AI Gateway$1.10$4.40

Capabilities

ReasoningJSON / Tool useStructured OutputsCode ExecutionPrompt Caching

About o3 Mini

OpenAI o3-mini - cost-optimized reasoning model. Compact variant of reasoning model family.

Get Started

Model Specs

Released2025-01-31
Context200k
ArchitectureDecoder Only
Knowledge cutoff2025-04