openaiVision

OpenAI: GPT-5.4 Pro ($$$$)

GPT-5.4 Pro is OpenAI's most advanced model, building on GPT-5.4's unified architecture with enhanced reasoning capabilities for complex, high-stakes tasks. It features a 1M+ token context window (922K input, 128K...

Context
1M tokens
Input / 1M tokens
$30
Output / 1M tokens
$180
Benchmark

Pricing

Input tokens$30 per 1M tokens
Output tokens$180 per 1M tokens

Technical details

Model IDopenai/gpt-5.4-pro
Context window1M tokens
Input modalitiestext, image, file, 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-pro',
  messages: [{ role: 'user', content: 'Hello!' }],
})

Ready to use OpenAI: GPT-5.4 Pro ($$$$)?

Get an API key and start making requests in minutes.

Get an API key