openai
OpenAI: o3 Mini
OpenAI o3-mini is a cost-efficient language model optimized for STEM reasoning tasks, particularly excelling in science, mathematics, and coding. This model supports the `reasoning_effort` parameter, which can be set to...
Context
200k tokens
Input / 1M tokens
$1.10
Output / 1M tokens
$4.40
Benchmark
—
Pricing
Input tokens$1.10 per 1M tokens
Output tokens$4.40 per 1M tokens
Cache read$0.55 per 1M tokens
Technical details
Model IDopenai/o3-mini
Context window200k tokens
Input modalitiestext, file, pdf
Output modalitiestext
TokenizerGPT
Max output tokens100,000
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'openai/o3-mini',
messages: [{ role: 'user', content: 'Hello!' }],
})