openaiVision
OpenAI: GPT-5 Mini
GPT-5 Mini is a compact version of GPT-5, designed to handle lighter-weight reasoning tasks. It provides the same instruction-following and safety-tuning benefits as GPT-5, but with reduced latency and cost....
Context
400k tokens
Input / 1M tokens
$0.25
Output / 1M tokens
$2
Benchmark
—
Pricing
Input tokens$0.25 per 1M tokens
Output tokens$2 per 1M tokens
Cache read$0.03 per 1M tokens
Technical details
Model IDopenai/gpt-5-mini
Context window400k tokens
Input modalitiestext, image, file, pdf
Output modalitiestext
TokenizerGPT
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/gpt-5-mini',
messages: [{ role: 'user', content: 'Hello!' }],
})