Models / Media / GPT Image

gpt-image-1 API: what to call instead

OpenAI shut gpt-image-1 down on 2026-10-23. The gpt-image-1 API calls you have keep working here with one string changed: 5 GPT Image models on one key, priced per image and read live. Paid by card or in USDT, USDC, BTC, ETH, SOL, no KYC, nothing added on the top-up.

5GPT Image models3 with an edit twin
$0.0125Lowest per imageGPT Image 1.5
$0.0262OpenAI's recommended successor, fromGPT Image 2.5 Sunburst
2026-10-23gpt-image-1 shut downOpenAI's model page
Live prices

GPT Image models, per image

USD per image, read from the catalog at render. Up to three tiers per model; the media models page has every quality and resolution. OpenAI's list where the catalog has it.

ModelSettingPer imageOpenAI's list
GPT Image 2.5 Sunburstgpt-image-2.5-sunburstquality low, resolution 1K$0.0262—
quality low, resolution 2K$0.053—
quality low, resolution 4K$0.0398—
GPT Image 2.5 Flaregpt-image-2.5-flarequality low, resolution 1K$0.0262—
quality low, resolution 2K$0.053—
quality low, resolution 4K$0.0398—
GPT Image 2gpt-image-2quality low, resolution 1K$0.024—
quality low, resolution 2K$0.036—
quality low, resolution 4K$0.066—
GPT Image 1.5gpt-image-1.5any settings$0.0125—
GPT-4o Imagegpt-4o-imageany settings$0.06$0.10 (40% under)

The charge is fixed when the request is accepted and refunded in full if the generation fails. Each -edit twin bills the same tiers.

Drop-in

The same images call, one id changed

The endpoint is OpenAI's images API. Set the base URL, swap gpt-image-1 for an id in the table, keep the rest.

Python, OpenAI SDK

python
1from openai import OpenAI
2
3client = OpenAI(base_url="https://api.relayswitch.io/v1", api_key="YOUR_RELAYSWITCH_KEY")
4result = client.images.generate(
5 model="gpt-image-2", # was: gpt-image-1
6 prompt="A ceramic mug on a walnut desk, soft window light, product shot",
7 size="1024x1024",
8 quality="medium",
9)
10print(result.data[0].url)

curl

bash
1curl https://api.relayswitch.io/v1/images/generations \
2 -H "Authorization: Bearer YOUR_RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "gpt-image-2", "prompt": "A ceramic mug on a walnut desk", "size": "1024x1024", "quality": "medium"}'

size maps to the model's aspect ratio and resolution; quality picks the tier. The answer carries the file URL, served for 30 days.

Edits: the -edit twin on the generations endpoint

bash
1curl https://api.relayswitch.io/v1/generations \
2 -H "Authorization: Bearer YOUR_RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -d '{"model": "gpt-image-2-edit", "input": {"prompt": "Replace the mug with a glass of water",
5 "image_urls": ["https://example.com/mug.png"], "quality": "medium"}}'
Which id

Picking a replacement for gpt-image-1

Least code change: GPT Image 1.5. One price per image, the same size strings (1024x1024, 1024x1536, 1536x1024), an -edit twin with mask_url. Change the model id and nothing else.

Same quality knob: GPT Image 2. quality low, medium or high, plus resolution 1K, 2K or 4K, each combination priced in the table. Your existing quality values still work; add resolution when you want more than 1K.

What OpenAI recommends: GPT Image 2.5 Sunburst, named on the gpt-image-1 model page as the current generation and editing model (read 2026-10-27), with Flare as the lighter build. Both add background and output_format and a quality range up to max.

OpenAI's image generation guide documents the request fields; the catalog at GET https://api.relayswitch.io/v1/catalog/media lists the values each id accepts here and the price of each.

What is stored: the email address, the top-ups, the keys, and one generation record per request with its file for 30 days. Not stored: a name, an ID, a phone number, a card for crypto top-ups. Details on the privacy page.

FAQs

gpt-image-1 and its successors: questions

Availability, pricing and the swap.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

GPT Image on a prepaid key

From $10 by card or in USDT, USDC, BTC, ETH, SOL. No OpenAI account, no KYC.