Pricing

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.

SpecYexAPI priceOfficial priceYou save
1K$0.025 / image≈ $0.2289%
2K$0.035 / image≈ $0.5093%
4K$0.045 / image≈ $1.3097%

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.

Models

Available models

The models you can call with a YexAPI key today.

ModelTypeEndpointsFrom
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.

Ready to try it?

Your trial credit covers four 1K images.