TokenRoute
Get started
Back to models

OpenAI: GPT-5.4 Image 2

Moderated

openai/gpt-5.4-image-2

[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...

Pricing

Input$5.60 /M
Output$10.50 /M
Cache read$1.40 /M
Web search$0.0070 /req

Specs

Context length272K tokens
Max output128K tokens
Inputimage, text, file
Outputimage, text

Quickstart

Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.

bash
curl https://tokenroute.app/api/v1/chat/completions \
  -H "Authorization: Bearer $TOKENROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-image-2",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
presence_penalty
reasoning
reasoning_effort
response_format
seed
stop
structured_outputs
top_logprobs