openaiVision

OpenAI: GPT-5.4 Nano

GPT-5.4 nano is the most lightweight and cost-efficient variant of the GPT-5.4 family, optimized for speed-critical and high-volume tasks. It supports text and image inputs and is designed for low-latency...

Context
400k tokens
Input / 1M tokens
$0.20
Output / 1M tokens
$1.25
Benchmark

Pricing

Input tokens$0.20 per 1M tokens
Output tokens$1.25 per 1M tokens
Cache read$0.02 per 1M tokens

Technical details

Model IDopenai/gpt-5.4-nano
Context window400k tokens
Input modalitiesfile, image, text, pdf
Output modalitiestext
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.4-nano',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use OpenAI: GPT-5.4 Nano?

Get an API key and start making requests in minutes.

Get an API key