Skip to content

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.

Per 1M tokens
$8.40 · $31.50
Context
272Ktokens
Supports
  • Reads images
  • Thinks before it answers
  • Makes images
Terminal
curl https://deference.si/v1/chat/completions \
  -H "Authorization: Bearer $DEFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-image-2",
    "modalities": ["image", "text"],
    "messages": [{ "role": "user", "content": "Say hello in one sentence." }]
  }'
Needs an API keyGet one

Pricing and limits

  • Cache read$2.10per 1M tokens
  • Image output$31.50per 1M image tokens
  • Max output128,000tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.