openaiVision
OpenAI: GPT-5 Chat
GPT-5 Chat is designed for advanced, natural, multimodal, and context-aware conversations for enterprise applications.
Context
128k tokens
Input / 1M tokens
$1.25
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$1.25 per 1M tokens
Output tokens$10 per 1M tokens
Cache read$0.13 per 1M tokens
Technical details
Model IDopenai/gpt-5-chat
Context window128k tokens
Input modalitiesfile, image, text, pdf
Output modalitiestext
TokenizerGPT
Max output tokens16,384
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-chat',
messages: [{ role: 'user', content: 'Hello!' }],
})