op
OpenAI: GPT-5 Image
openai/gpt-5-image
AvailableOpenAIimage intext infile inimage outtext out
[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,...
Context
400K
tokens in
Max output
128K
tokens out
Price
$10.00 / $10.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-image",
"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-image",
messages=[{"role": "user", "content": "hello"}],
)Supported parameters
include_reasoninglogprobsmax_tokensreasoningresponse_formatseedstructured_outputstemperaturetop_logprobstop_pverbosity