TokenRoute
Get started
Back to models

OpenAI: GPT-5 Image

Moderated

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. It offers major improvements in reasoning, code quality, and user experience while incorporating GPT Image 1's superior instruction following,...

Pricing

Input$7.00 /M
Output$7.00 /M
Cache read$0.8750 /M
Web search$0.0070 /req

Specs

Context length400K 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-image",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

Supported parameters

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