GPT-5.4 Image 2

GPT-5.4 Image 2 combines OpenAI's GPT-5.4 model with state-of-the-art image generation capabilities from GPT Image 2. It enables rich multimodal workflows, allowing users to seamlessly move between reasoning, coding, and visual generation within the same interaction.

ChatOpenAI272k tokens$8.7205 / $16.3509 · 1M

openai/gpt-5.4-image-2

Context
272k tokens
Completion cap
128,000
Tools
No
JSON
Yes
Released
2026-04-21

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-image-2",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is GPT-5.4 Image 2?
GPT-5.4 Image 2 combines OpenAI's GPT-5.4 model with state-of-the-art image generation capabilities from GPT Image 2. It enables rich multimodal workflows, allowing users to seamlessly move between reasoning, coding, and visual generation within the same interaction. GPT-5.4 Image 2 runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-5.4-image-2.
Is GPT-5.4 Image 2 free?
No. Input is $8.7205 per 1M tokens and output is $16.3509 per 1M tokens on Geek Hub (markup included).
What is the context length of GPT-5.4 Image 2?
GPT-5.4 Image 2 has a 272k tokens context window. It supports up to 128,000 completion tokens.
Does GPT-5.4 Image 2 support tool calling and structured outputs?
GPT-5.4 Image 2 does not advertise tool calling on this endpoint. It also supports structured outputs via a JSON schema in response_format.
When was GPT-5.4 Image 2 released?
GPT-5.4 Image 2 was released on 2026-04-21.

More models from OpenAI