openaiVision
OpenAI: GPT-5 Image ($$$$)
[GPT-5](https://openrouter.ai/openai/gpt-5) Image combines OpenAI's GPT-5 model with state-of-the-art image generation capabilities. It offers major improvements in reasoning, code quality, and user experience while incorporating GPT Image 1's superior instruction following,...
Context
400k tokens
Input / 1M tokens
$10
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$10 per 1M tokens
Output tokens$10 per 1M tokens
Cache read$1.25 per 1M tokens
Technical details
Model IDopenai/gpt-5-image
Context window400k tokens
Input modalitiesimage, text, file, 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',
messages: [{ role: 'user', content: 'Hello!' }],
})Ready to use OpenAI: GPT-5 Image ($$$$)?
Get an API key and start making requests in minutes.
Get an API key