openaiVision
OpenAI: GPT-5 Image Mini
GPT-5 Image Mini combines OpenAI's advanced language capabilities, powered by [GPT-5 Mini](https://openrouter.ai/openai/gpt-5-mini), with GPT Image 1 Mini for efficient image generation. This natively multimodal model features superior instruction following, text...
Context
400k tokens
Input / 1M tokens
$2.50
Output / 1M tokens
$2
Benchmark
—
Pricing
Input tokens$2.50 per 1M tokens
Output tokens$2 per 1M tokens
Cache read$0.25 per 1M tokens
Technical details
Model IDopenai/gpt-5-image-mini
Context window400k tokens
Input modalitiesfile, image, text, pdf
Output modalitiesimage, text
TokenizerGPT
Max output tokens128,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/gpt-5-image-mini',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use OpenAI: GPT-5 Image Mini?
Get an API key and start making requests in minutes.
Get an API key