Chat
OpenAI: GPT-5.4 Image 2
openai/gpt-5.4-image-2
272KContext Window
4KMax Output
Normal
[GPT-5.4](https://openrouter.ai/openai/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.
Capabilities
Text GenerationImage Generation
Technical Specs
Input Modality
Text
Output Modality
Text
Arch
—
Pricing
Pay per use, no monthly fees| Billing Type | Unit | Price |
|---|---|---|
| Text Input | — | $8.0000/M tokens |
| Text Output | — | $15.0000/M tokens |
| Cache Read | — | $2.0000/M tokens |
| Image Output | — | < $0.001/张 |
| Web Search | — | $0.0100/次 |
Quick Start
from openai import OpenAI
client = OpenAI(
base_url="https://api.uniontoken.ai/v1",
api_key="YOUR_UNIONTOKEN_API_KEY",
)
response = client.chat.completions.create(
model="openai/gpt-5.4-image-2",
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(response.choices[0].message.content)FAQ
OpenAI: GPT-5.4 Image 2
openai/gpt-5.4-image-2
In< ¥0.001/1K
Out< ¥0.001/1K
Context Window272K
Max Output4K
Related Models
View All → →Ready to get started?
Get 1M free tokens on registration, no monthly fees or minimum spend
Register Now →