openaiVision
OpenAI: o3
o3 is a well-rounded and powerful model across domains. It sets a new standard for math, science, coding, and visual reasoning tasks. It also excels at technical writing and instruction-following....
Context
200k tokens
Input / 1M tokens
$2
Output / 1M tokens
$8
Benchmark
—
Pricing
Input tokens$2 per 1M tokens
Output tokens$8 per 1M tokens
Cache read$0.50 per 1M tokens
Technical details
Model IDopenai/o3
Context window200k tokens
Input modalitiesimage, text, 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',
messages: [{ role: 'user', content: 'Hello!' }],
})