OpenAI

GPT-5 Image

[GPT-5](https://openrouter.ai/openai/gpt-5) Image combines OpenAI's GPT-5 model with state-of-the-art image generation capabilities.

Specifications

Context Window400K
Modalitiesimage, text
Price…
Model IDopenai/gpt-5-image
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-image',
  messages: [{ role: 'user', content: 'Hello!' }]
})

console.log(response.choices[0].message.content)
…

Use GPT-5 Image via Hanzo AI

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

Build what’s next.