Skip to content
ModelsRankingsChatDocsPricing
op

OpenAI: GPT-5.4 Image 2

openai/gpt-5.4-image-2

AvailableOpenAIimage intext infile inimage outtext out

[GPT-5.4](https://openrouter.ai/openai/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...

Context

272K

tokens in

Max output

128K

tokens out

Price

$8.00 / $15.00

per 1M in / out

Quick start

curl https://api.token265.com/v1/chat/completions \
  -H "Authorization: Bearer ${OPENROUTER_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-image-2",
    "messages": [{"role": "user", "content": "hello"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://api.token265.com/v1", api_key="sk-...")
client.chat.completions.create(
    model="openai/gpt-5.4-image-2",
    messages=[{"role": "user", "content": "hello"}],
)

Supported parameters

include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstop_logprobsverbosity

More from OpenAI