Search/
Skip to content
/
OpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Apps
  • Models
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Announcements
  • CareersHiring
  • Privacy
  • Terms of Service
  • Support
  • State of AI
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • SDK
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube

OpenAI: GPT-5.4 Image 2

openai/gpt-5.4-image-2

Released Apr 21, 2026272,000 context$8/M input tokens$15/M output tokens

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 visual generation within the same interaction.

Providers for GPT-5.4 Image 2

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Performance for GPT-5.4 Image 2

Compare different providers across OpenRouter

Effective Pricing for GPT-5.4 Image 2

Actual cost per million tokens across providers over the past hour

Apps using GPT-5.4 Image 2

Top public apps this month

Recent activity on GPT-5.4 Image 2

Total usage per day on OpenRouter

Image Inputs
858
Image Outputs
590

Image inputs count visual attachments processed in prompts. Image outputs count generated images. Some requests may process or generate multiple images.

Uptime stats for GPT-5.4 Image 2

Uptime stats for GPT-5.4 Image 2 across all providers

Sample code and API for GPT-5.4 Image 2

OpenRouter normalizes requests and responses across providers for you.

OpenRouter supports image generation models that can output both text and images. These models can create images from text prompts when you specify modalities: ["image", "text"] in your request. The generated images are returned as base64-encoded data URLs in the assistant message. Learn more about image generation.

In the examples below, the OpenRouter-specific headers are optional. Setting them allows your app to appear on the OpenRouter leaderboards.

Using third-party SDKs

For information about using third-party SDKs and frameworks with OpenRouter, please see our frameworks documentation.

See the Request docs for all possible fields, and Parameters for explanations of specific sampling parameters.