Simple per-image pricing
Pay only for images that are delivered. No subscription, no minimum spend, and failed generations are refunded automatically.
gpt-image-2
Price per generated image by resolution tier. How the tier is chosen.
| Spec | YexAPI price | Official price | You save |
|---|---|---|---|
| 1K | $0.025 / image | ≈ $0.22 | 89% |
| 2K | $0.035 / image | ≈ $0.50 | 93% |
| 4K | $0.045 / image | ≈ $1.30 | 97% |
Official prices are approximate list prices for comparable output, shown for reference only, as of December 1, 2026. They may differ by quality setting and change over time. Prices are in US dollars.
Available models
The models you can call with a YexAPI key today.
| Model | Type | Endpoints | From | |
|---|---|---|---|---|
| gpt-image-2 Available | Text to image, reference images | /v1/images/generations/v1/images/generations/async/v1/images/edits |
$0.025 / image | Details |
How you are billed
The image price is reserved when your request is accepted and becomes final when the image is delivered. Every charge appears in your usage logs.
Automatic refunds
If a generation fails, the reserved amount returns to your balance automatically. Invalid requests are rejected before any charge.
Trial and credit
New accounts receive $0.10 of trial credit. Online top-up is coming soon; until then, contact support@yexapi.com to add credit.