All models
OpenAI

GPT Image 2

−30% vs OpenAI
✓ Official API· served byMicrosoft Azure OpenAIAzureOpenAI APIOpenAI
Try in Playground

GPT Image 2 is OpenAI's state-of-the-art image generation model for fast, high-quality image generation and editing. It supports flexible image sizes and high-fidelity image inputs, taking text and image input and returning images. It is the current image model, replacing GPT Image 1 and GPT Image 1.5.

The real OpenAI model

Same weights, same API, same answers. We change only how you pay for it: one key for every maker, one bill, no separate account to open. Every figure on this page comes from OpenAI’s own page — check it.

Maker's own page

Price

input / output · per 1M tokens

The same model and the same answers through both. We choose the service for each request automatically.

Microsoft Azure OpenAIAzure

−30%Only on FlintBeam

−30% on every request

Direct on Azure: $8.00 / $30.00

Daily discount. Today's price can change.

$8.00 / $30.00$5.60 / $21.00

OpenAI APIOpenAI

−30%Only on FlintBeam

−30% on every request

Direct on OpenAI: $8.00 / $30.00

Daily discount. Today's price can change.

$8.00 / $30.00$5.60 / $21.00

One image: $0.08 to $0.14

Context

32,000

Modalities

The prices above are per 1M tokens, the unit every model is billed in. A picture is billed as the tokens it weighs, so a larger one costs more.

What it would cost you

1000 tokens is roughly 750 English words.

Estimated total$21.70

How it is served

Standard

Requests are retried automatically if a provider is unavailable.

Similar models

Models built for the same kind of work, at a similar price.

Eligible models may have a daily discount below the maker's price. Daily discounts apply to eligible models and can change from day to day.

Use it from your code

Model:openai/gpt-image-2
main.py
OpenAI Specification v1.0
from openai import OpenAI

# Works with the official openai package (pip install openai)
client = OpenAI(
    base_url="https://api.flintbeam.com/v1",
    api_key="sk-live-your-api-key"
)

response = client.chat.completions.create(
    model="openai/gpt-image-2",
    messages=[
        {"role": "system", "content": "You are an experienced software engineer."},
        {"role": "user", "content": "Describe the architecture of a distributed cache."}
    ],
    temperature=0.7,
    max_tokens=1500
)

print(response.choices[0].message.content)