openaiVision
OpenAI: GPT-5 Nano
GPT-5-Nano is the smallest and fastest variant in the GPT-5 system, optimized for developer tools, rapid interactions, and ultra-low latency environments. While limited in reasoning depth compared to its larger...
Context
400k tokens
Input / 1M tokens
$0.05
Output / 1M tokens
$0.40
Benchmark
—
Pricing
Input tokens$0.05 per 1M tokens
Output tokens$0.40 per 1M tokens
Cache read$0.01 per 1M tokens
Technical details
Model IDopenai/gpt-5-nano
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-nano',
messages: [{ role: 'user', content: 'Hello!' }],
})