What an AI image costs in credits: the price per image, the reserve and the refund

All in One AI·· 44 views· 3 min read

In short: every image model has a price in credits per image, which you see before you generate. When you generate, the expected cost is reserved. At the end you pay the real cost and the difference goes back to your balance. A generation that fails costs nothing. More about the product on the AI images page.

Where you see the price

On the «Models» tab of All in One AI, choose «Image». Each row shows the model name, its id and the credits per image. In the Playground, the price shows below the model and the expected cost shows before you click «Generate image».

Through the API, GET /v1/models?type=image returns the same: in pricing, the unit (unit, here image) and the credits for each image (credits).

Reserve, real cost and refund

When What happens to your balance
You click «Generate image» or send the request through the API The expected cost is reserved. Through the API, it comes in credits_reserved.
The image is ready You pay the real cost (credits_charged). If the reserve was bigger, the rest goes back to your balance.
The generation fails Nothing is charged and the whole reserve comes back.
You use «Sandbox (free)» mode You get a sample image and spend nothing.

The price in the table is the base price. The real cost can change with the options you choose, such as size or quality. That is why the request reserves first and settles at the end.

Buying credits

Credits are bought on the «Buy credits» tab of All in One AI. The minimum order is 1,000 credits, and each credit gets cheaper with quantity: 10% less from 10,001 credits and 25% less from 100,001. The price in your currency shows when you buy, and the credits arrive when the invoice is paid. The steps are in AI credits: how to buy them.

The same credits work for every model, text, image, video and audio, in the Playground and through the API.

Doing the sums before a batch

1 Multiply the price per image by the number of images you want.
2 Create one test image with the options you will use. If you like it, make the rest with the same options.
3 Through the API, check your balance with GET /v1/ai/balance before you start.
Without credits, the request does not go ahead. In the Playground you see «You do not have enough credits for this request. Buy credits and try again.» Through the API, the answer is 402 insufficient_credits, with details.required (how much you need) and details.balance (how much you have). Nothing is charged.
To write your program without spending, use a sandbox_ key: the generation completes straight away, with a sample link and 0 credits. See how to test in the Sandbox at no cost.

Want to compare image models and prices? See the AI images page.

See AI images

SEE ALSO

Choosing an image model in All in One AI: the Models tab, the price and the options

Creating your first AI image in the All in One AI Playground, step by step

Creating AI images through the API: the request, the status and saving the file

Testing All in One AI in the Sandbox at no cost: what each answer looks like

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.