openaiVision

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

GPT-5 Pro is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and...

Context
400k tokens
Input / 1M tokens
$15
Output / 1M tokens
$120
Benchmark

Pricing

Input tokens$15 per 1M tokens
Output tokens$120 per 1M tokens

Technical details

Model IDopenai/gpt-5-pro
Context window400k tokens
Input modalitiesimage, text, 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-pro',
  messages: [{ role: 'user', content: 'Hello!' }],
})

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

Get an API key and start making requests in minutes.

Get an API key