o3-mini

OpenAI
Released on Jan 31 12:00 AMKnowledge Cutoff May 1, 2024 12:00 AMSupportedTool InvocationSupportedReasoning

A cost-efficient reasoning model that excels at STEM tasks, particularly science, math, and coding.

Specifications

Context200,000
Maximum Output100,000
Inputtext
Outputtext

Performance (7-day Average)

Uptime
TPS
RURT

Pricing

Input$1.21/MTokens
Output$4.84/MTokens
Cached Input$0.61/MTokens
Batch Input$0.61/MTokens
Batch Output$2.42/MTokens

Usage Statistics

No usage data available for this model during the selected period
View your usage statistics for this model

Similar Models

$1.38/$11.00/M
ctx400Kmax128Kavailtps
InOutCap

GPT-5 Chat points to the GPT-5 snapshot currently used in ChatGPT. GPT-5 is our next-generation, high-intelligence flagship model. It accepts both text and image inputs, and produces text outputs.

$1.38/$11.00/M
ctx400Kmax128Kavailtps

GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments. It's available in the Responses API only and the underlying model snapshot will be regularly updated. If you want to learn more about prompting GPT-5-Codex, refer to our dedicated guide

$0.25/$2.00/M
ctx400Kmax128Kavailtps

GPT-5.1-Codex-Max is a version of GPT-5.1-Codex with enhanced capabilities for agentic coding tasks.

Code Examples

Use the OpenAI Python SDK to call this model. Replace your-api-key with your API key.

python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ohmygpt.com/v1",
    api_key="your-api-key",  # Replace with your API key
)

response = client.chat.completions.create(
    model="o3-mini",
    messages=[
        {"role": "user", "content": "Hello!"}
    ],
)

print(response.choices[0].message.content)