Skip to contentOceanToken

OpenAI / Image generation

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.

Enterprise rate

Up to 30% off

By quote

Our price $30.00 / 1M image tokens

See the API request in docs
Outputimage + text
Inputimage + text + file
Image by GPT-5.4 Image 2: A white lighthouse on a rocky coastline at golden hour, waves breaking on the rocks, a few seagulls in the sky, cinematic wide shot, photorealistic
AI-generated by GPT-5.4 Image 2
Price by tier

Per 1M image tokens

  • You pay today$30.00
  • Enterprise rateBy quoteUp to 30% off
How tiers work

Try it in the console

Opens the console’s image mode with GPT-5.4 Image 2 picked. Write your prompt there and press Generate.

See the price below

Sign in to generate · $1 freeOpen in the console

Failed runs are not charged

Sign in to run · $1 free credit · No card

Charged to your balance.

Tier 1 price, the price a new account pays.

01 · Learn

What is GPT-5.4 Image 2?

GPT-5.4 Image 2 is an image generation model from OpenAI on the OceanToken API, with reasoning and structured outputs.

  • $30.00Per 1M image tokens
  • image + text + fileInputOutput: image + text
  • Up to 30% offEnterprise rate vs officialUp to, by quote

What GPT-5.4 Image 2 can do.

  • Image generation
  • Guided by text promptsinput: text
  • Works from reference imagesinput: image

02 · Compare

Is GPT-5.4 Image 2 cheaper than similar models?

The official price, then our price, for GPT-5.4 Image 2 and the models most like it.

OfficialOur price

Per 1M image tokens. Prices as of November 28, 2026. Enterprise rate: quote by email, we activate it for you.

GPT-5.4 Image 2 specs.

Input
image, text, file
Output
image, text
Released
April 21, 2026

Model ID and endpoint

OceanToken model ID
openai/gpt-5.4-image-2
OpenAI-compatible base URL
https://api.oceantoken.ai/v1
Endpoint
POST /v1/images/generations

03 · Buy and build

How much does the GPT-5.4 Image 2 API cost?

RatePer 1M image tokens
Tier 1 to 3Self-serve$30.00
Enterprise rateBy quoteUp to 30% off

Up to 60% off. Quote by email.

Monthly spend optional

We reply by email with your rate.

  1. Tell usYour model and monthly spend.
  2. We email your rateUp to 60% off. Price lock available.
  3. We activate itOn your account, same key.

The console always shows the current price.

How tiers work

  1. Self-serveTier 1From sign-up
  2. Self-serveTier 2$1,000 total
  3. Self-serveTier 3$10,000 total
  4. By quoteEnterprise rateUp to 60% off, by quote

You pay per use from a prepaid balance, with no subscription. Official price: the model maker’s list price. Tier 1 to 3 are standing rates by total top-up.

How to use GPT-5.4 Image 2 on OceanToken.

Three steps from no account to a working request. The same key and balance work for every model in the catalog.

  1. Create an account and get an API key

    One key works for every model your account can use.

    Get API Key
  2. Add credits

    OceanToken is prepaid: add credits, and each request is billed from that balance.

    Add credits
  3. Call GPT-5.4 Image 2 from your code

    Send a request to POST /v1/images/generations with the model ID openai/gpt-5.4-image-2.

    See the API request in docs
client.pyPython
from openai import OpenAI
# Your API Key from the OceanToken console
client = OpenAI(base_url="https://api.oceantoken.ai/v1",
                api_key="YOUR_API_KEY")
result = client.images.generate(
    model="openai/gpt-5.4-image-2",
    prompt="A lighthouse on a cliff at dawn")
print(result.data[0].url or "image returned as base64")

GPT-5.4 Image 2 API: frequently asked questions.

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

How much does GPT-5.4 Image 2 cost?

GPT-5.4 Image 2 costs $8.00 per 1M input tokens and $30.00 per 1M image output tokens. Cached input costs $2.00 per 1M tokens. Web search costs $0.01 per search. These are OceanToken starting prices as of November 28, 2026, charged per use to your prepaid balance. The console always shows the current price.

What inputs and outputs does GPT-5.4 Image 2 support?

GPT-5.4 Image 2 takes image, text and file as input and produces images and text.

How do I call GPT-5.4 Image 2 through the API?

Send requests to https://api.oceantoken.ai/v1/images/generations with the model ID openai/gpt-5.4-image-2 and your OceanToken API key. The API is OpenAI-compatible, so an OpenAI SDK needs only the base URL https://api.oceantoken.ai/v1 and your key. The same OceanToken API key works for every model your account can use. Full reference: docs.oceantoken.ai.

How do I top up?

OceanToken is prepaid. Open Credits in the console, choose an amount and pay by card on Stripe's hosted checkout page (Link works too). Your balance updates a few seconds after payment. Have a trial code? Redeem it on the same page.

Do credits expire, and can I get a refund?

Purchased credits are valid for 12 months from the date of purchase. Credits from trial codes, promotions or gifts may have a shorter validity. All purchases are final and non-refundable, except where the law requires a refund. Section 6 of the Terms of Service has the details.

Am I charged for failed requests?

No. If a request fails, you are not charged: that covers a request refused for an insufficient balance or by a safety check, one whose provider fails before returning any output, and a video job that fails or is refused by a safety check, whose held amount goes back to your balance. The one exception: if a request breaks off after the model has started producing output, for example a stream cut off part-way, you pay for the tokens that were processed and generated for it.

Related articles

Why by quote?

Self-serve tiers cover the models most teams call. Most of the catalog is priced by quote: the rate depends on which model you run and how much you run each month, so we set it account by account.

  • GPT-5.4 Image 2
  • Kimi K3
  • MiniMax M3
  • Grok 4.7
  • Seedream 5.0 Pro
  • and most of the catalog

More from OpenAI

Similar image generation models

Same prompt, 8 models

One prompt, sent to each model through the OceanToken API on November 1, 2026. Every image is that model’s own output, only resized.

Prompt: “A white lighthouse on a rocky coastline at golden hour, waves breaking on the rocks, a few seagulls in the sky, cinematic wide shot, photorealistic”

Keep exploring

Sources

Whatever you want.

OceanToken is All You Need.