---
title: "gpt-image-1 API: what to call now, priced per image"
canonical: https://relayswitch.io/gpt-image-1-api
generated: 2026-10-27T10:19:34.932Z
source: https://api.relayswitch.io/v1/catalog
base_url: https://api.relayswitch.io/v1
---

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.

[Top up with crypto](https://app.relayswitch.io/console/billing)[Open an account](https://app.relayswitch.io/console/login)

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.

| Model | Setting | Per image | OpenAI's list |
| --- | --- | --- | --- |
| GPT Image 2.5 Sunburstgpt-image-2.5-sunburst | quality 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-flare | quality low, resolution 1K | $0.0262 | — |
|  | quality low, resolution 2K | $0.053 | — |
|  | quality low, resolution 4K | $0.0398 | — |
| GPT Image 2gpt-image-2 | quality low, resolution 1K | $0.024 | — |
|  | quality low, resolution 2K | $0.036 | — |
|  | quality low, resolution 4K | $0.066 | — |
| GPT Image 1.5gpt-image-1.5 | any settings | $0.0125 | — |
| GPT-4o Imagegpt-4o-image | any 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

1`from openai import OpenAI`

2

3`client = OpenAI(base_url="https://api.relayswitch.io/v1", api_key="YOUR_RELAYSWITCH_KEY")`

4`result = 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`)`

10`print(result.data[0].url)`

### curl

bash

1`curl 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

1`curl 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](https://developers.openai.com/api/docs/models/gpt-image-1) 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](https://platform.openai.com/docs/guides/image-generation) 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](https://relayswitch.io/privacy).

Related

-   [GPT Image 2 API pricing, every tier](https://relayswitch.io/blog/gpt-image-2-api-pricing)
-   [Every image and video model](https://relayswitch.io/models/media)
-   [AI video generation API](https://relayswitch.io/ai-video-api)
-   [Media API guide](https://relayswitch.io/guides/media)
-   [GPT-5.2 API on the same key](https://relayswitch.io/gpt-5-2-api)
-   [Pay with crypto](https://relayswitch.io/crypto)
-   [No-KYC AI API](https://relayswitch.io/no-kyc)

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](https://app.relayswitch.io/console/login)

Or email [hello@relayswitch.io](mailto: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.

[Every image model](https://relayswitch.io/models/media)[Top up with crypto](https://app.relayswitch.io/console/billing)

