openai logo
openai

OpenAI: GPT-5.4 Image 2

Source description (English)

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

Overview

Model specifications

Context
272,000 tokens
Maximum output
128,000 tokens
Architecture
text+image+file->text+image
Tokenizer
GPT
Knowledge cutoff
Not provided
Moderated
Yes
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$8
per 1M tokens
Output
$15
per 1M tokens
Cache read
$2
per 1M tokens
Image output
$30
per 1M tokens
Web search
$10
per 1,000 calls
API

Model configuration

Reasoning

Reasoning required
No
Default parameters
medium
Capabilities
xhigh, high, medium, low, none
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/images \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-5.4-image-2","prompt":"A sunlit mountain landscape"}'
Capabilities

InputOutput

Input
imagetextfile
Output
imagetext
Reasoning

No · xhigh · high · medium · low · none

API

Supported API parameters

frequency_penaltyinclude_reasoninglogit_biaslogprobsmax_tokenspresence_penaltyreasoningreasoning_effortresponse_formatseedstopstructured_outputstop_logprobs
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

OpenAI

Not provided
Context
272K
Maximum output
128K
openai

4 models

All models
openai logoopenai

OpenAI: GPT-6 Luna Pro

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $0.1Output: $0.5per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna Pro (batch)

GPT-6 Luna Pro is the same underlying model as GPT-6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Context
1.1M
Input
file · image · text
Output
text
Input: $0.05Output: $0.25per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

Context
1.1M
Input
file · image · text
Output
text
Input: $0.1Output: $0.5per 1M tokens
View model details
openai logoopenai

OpenAI: GPT-6 Luna (batch)

GPT-6 Luna is the fast, cost-efficient model in OpenAI's GPT-6 series, positioned below GPT-6 Sol. It is suited for high-volume and latency-sensitive workloads such as chat, classification, and lightweight agentic...

Context
1.1M
Input
file · image · text
Output
text
Input: $0.05Output: $0.25per 1M tokens
View model details