Skip to content
Language: English (United States)

GPT-4o

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs.

Context Window
128K
In
$2.78per million tokens
Out
$11.13per million tokens

OpenAI

Model IDopenai/gpt-4o

Specifications

Context Window
128K
Modalities
text
Price
$2.78 in · $11.13 out, per million tokens
Model ID
openai/gpt-4o

Quick start

openai/gpt-4o

$2.78 in · $11.13 out, per million tokens

TypeScript
import OpenAI from 'openai'
 
const client = new OpenAI({
  apiKey: process.env.HANZO_API_KEY,
  baseURL: 'https://api.hanzo.ai/v1'
})
 
const response = await client.chat.completions.create({
  model: 'openai/gpt-4o',
  messages: [{ role: 'user', content: 'Hello!' }]
})
 
console.log(response.choices[0].message.content)
Get an API key →
10K100K1M$0.100$1.00$10.00$100.00

$50.06Bill a month

GPT-4o costs 1.4× more for this mix.

GPT-4o$50.06128K
GPT-5$36.16400K

Use GPT-4o via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.