OpenAI · Image
GPT Image 2 API pricing
openai/gpt-image-2
OpenAI shuts GPT Image 2 down on 10 Feb 2027. From 00:00 UTC that day INFRO refuses requests for it before any provider call, naming the replacement; it never switches your requests to another model. OpenAI’s deprecation notice. Model shutdown dates
Image generation & editing. GPT Image 2 by OpenAI, routed through INFRO on a OpenAI account you connect — alongside every other provider you run. OpenAI bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay OpenAI.
Pricing
OpenAI rate
$0.053
per image, billed to you by OpenAI
INFRO adds
$0
0% markup on model spend
Calling GPT Image 2
POST /v1/images/generationsimport os
from infro import Infro
client = Infro(api_key=os.environ["INFRO_API_KEY"])
image = client.images.generate(
model="openai/gpt-image-2",
prompt="studio product shot, soft rim light",
n=1,
)What this modality supports
- Text to image
- Editing & inpainting
- Upscale & restore
- Batch requests
Text-to-image, editing, upscaling, and background removal across the leading image models. One request shape, consistent sizes and seeds, billed per image with no minimums.
Providers that serve GPT Image 2
You request "openai/gpt-image-2" from INFRO; it sends each provider the id that provider expects. Connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
| Provider | Model id sent |
|---|---|
| OpenAI | gpt-image-2 |
| Azure OpenAI | gpt-image-2 |
| Together AI | openai/gpt-image-2 |
| OpenRouter | openai/gpt-image-2 |
| KIE | gpt-image-2-text-to-image |
| LaoZhang API | gpt-image-2 |
| fal.ai | gpt-image-2 |
| Replicate | openai/gpt-image-2 |
Alternatives for image generation & editing
Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.
More OpenAI models
All OpenAI modelsGPT Image 2: questions
- How much does the GPT Image 2 API cost?
- OpenAI's published list rate for GPT Image 2 is $0.053 per image (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.
- Which providers serve GPT Image 2?
- In INFRO's provider registry, GPT Image 2 can be served by OpenAI, Azure OpenAI, Together AI, OpenRouter, KIE, LaoZhang API and 2 more. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
- What is the GPT Image 2 model ID?
- Request it from INFRO as "openai/gpt-image-2". INFRO sends each provider its own id: OpenAI "gpt-image-2", Azure OpenAI "gpt-image-2", Together AI "openai/gpt-image-2", OpenRouter "openai/gpt-image-2", KIE "gpt-image-2-text-to-image", and so on.
- How do I call GPT Image 2 through an OpenAI-compatible API?
- Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "openai/gpt-image-2" to POST /v1/images/generations. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.
- Is GPT Image 2 being retired?
- OpenAI shuts GPT Image 2 down on 10 Feb 2027.
- Does INFRO mark up GPT Image 2 usage?
- No. OpenAI or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.
Work out what GPT Image 2 would cost you
Put your monthly usage of this model into the calculator to see the provider cost on your own account and the INFRO subscription side by side, never summed.