Skip to content
Try Hanzo
Language: English (United States)

GPT-5.4

GPT-5.4 is OpenAI’s latest frontier model, unifying the Codex and GPT lines into a single system.

Context Window
1M
In
$2.78per million tokens
Out
$16.70per million tokens

OpenAI

Model IDopenai/gpt-5.4

Specifications

Context Window
1M
Modalities
text
Price
$2.78 in · $16.70 out, per million tokens
Model ID
openai/gpt-5.4

Quick start

openai/gpt-5.4

$2.78 in · $16.70 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-5.4',
  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

$61.20Bill a month

GPT-5.4 Image 2 costs 2.0× more for this mix.

GPT-5.4$61.201M
GPT-5.4 Image 2$122272K

Use GPT-5.4 via Hanzo AI

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