OpenAISees images
GPT-4o (2024-05-13)
openai/gpt-4o-2024-05-13GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs. It maintains the intelligence level of [GPT-4 Turbo](/models/openai/gpt-4-turbo) while being twice as...
Context
128K tokens
Input, 1M tokens
$5.75
Output, 1M tokens
$17
Benchmark
—
Uptime and speed
Loading…
Pricing
Charged from your prepaid balance for the tokens actually used.
Input tokens$5.75 per 1M tokens
Output tokens$17 per 1M tokens
Apps and activity
Loading…
Technical details
Model IDopenai/gpt-4o-2024-05-13
Context window128K tokens
AcceptsText, Images, Files, pdf
ProducesText
TokenizerGPT
Max output tokens4,096
How to connect
The API is OpenAI-compatible: the official SDKs, LangChain and any client with a "base URL" field work.
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-4o-2024-05-13',
messages: [{ role: 'user', content: 'Hello!' }],
})Start using GPT-4o (2024-05-13)
Create a free account, get a key in your dashboard and send your first request. Top up your balance when you need it.