OpenAI ↗

GPT-5.4 Image 2

openai/gpt-5.4-image-2
Get an API key ↗
Input $10.8000000000
USD / million tokens
Output $20.2500000000
USD / million tokens
Context window272000tokens
Released2026-04-21

Overview GPT-5.4 Image 2

GPT-5.4 Image 2 by OpenAI is available through the Chabokan API. Reported inputs: Image، Text، File. Outputs: Image، Text. The reported context window is 272,000 tokens. Reported features include Reasoning.

Description supplied in the catalogue
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...

Input & output

Input
imagetextfile
Output
imagetext
Maximum output
128000 tokens

Supported parameters

include_reasoninglogprobsmax_tokensreasoningreasoning_effortresponse_formatseedstructured_outputstop_logprobsverbosity

Reported additional charges

web_search
$0.0135 / request
BUILD WITH OPENAI

API usage GPT-5.4 Image 2

Keep real keys out of public code. Examples read CHABOKAN_API_KEY from the environment.

API guide ←
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://ai.chabokan.net/v1",
    api_key=os.environ["CHABOKAN_API_KEY"],
)

response = client.chat.completions.create(
    model="openai/gpt-5.4-image-2",
    messages=[{"role": "user", "content": "Draw a small orange cloud"}],
    modalities=["image", "text"],
)
print(response.choices[0].message)
ai.chabokan.net/v1OpenAI SDK

Pricing and cost estimates GPT-5.4 Image 2

Input and output tokens are priced separately. Use the calculator below to estimate costs for your model and request volume. Final rates depend on your account level and actual usage; review any reported additional charges separately.

More from this developer ↗
Pay as you go

Estimate AI model API costs

Estimate token costs by choosing a model, request count, and input and output volumes. Rates come from the same catalogue as the model pricing.

Price level

Prices default to level 3. Level 1 is the standard price; check your console for account eligibility and model access.

Estimated cost—USD
Input —Output —

Token estimate only; image, request, web search, and other charges are excluded. The minimum request fee applies. Your final bill depends on actual usage and account level.

More from this developer

View all models ←