GPT Image 2
Vendor keyGPT 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 pagePrice
per 1M tokens
Input
Output
$8.00
$30.00
One image: $0.12 to $0.19
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.
Where this model runs
Similar models
Models built for the same kind of work, at a similar price.
We do not mark up the price of tokens. It is the same price the provider charges. We earn on the top-up fee.
Use it from your code
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)