Cost calculator · prices checked November 23, 2026
What does AI image generation cost per image?
Per-image API prices from Google, Black Forest Labs and xAI. Set how many images you need and at what size.
Start from an example
FLUX.2 [klein] 4B
Black Forest LabsCheapest
$7.00 /mo
Grok Imagine Image
xAI
$10.00 /mo
FLUX.2 [pro]
Black Forest Labs
$15.00 /mo
Nano Banana 2.1
Google
$16.80 /mo
Gemini 3.1 Flash-Lite Image
Google
$16.80 /mo
FLUX 3 Image
Black Forest Labs
$24.00 /mo
Grok Imagine Image 2.0 (medium)
xAI
$30.00 /mo
Gemini 3.1 Flash Image
Google
$33.50 /mo
FLUX.2 [max]
Black Forest Labs
$35.00 /mo
Gemini 3 Pro Image
Google
$67.00 /mo
How to read the prices
Prices are for generating one image from a text prompt at the listed size. Editing an existing image, or sending reference images, can add an input charge. Some FLUX models price by megapixel, so we show their price for a 1-megapixel image only.
Not in the comparison
- OpenAI prices its image models (gpt-image-2.5, gpt-image-2.6) per million image tokens rather than per image, and doesn't publish a per-image figure, so they're left out of the calculator. Output image tokens cost $30 per million on gpt-image-2.6 at standard rates. OpenAI shuts down gpt-image-2 on February 10, 2027 and recommends gpt-image-2.6-sunburst or gpt-image-2.6-flare.
- Midjourney has no official public API. Third-party 'Midjourney APIs' automate a personal account, which breaks Midjourney's terms of service.
- Google's Imagen 4 models were shut down on August 17, 2026; Google recommends Nano Banana 2.1 instead.
- xAI retired Grok Imagine Image Quality on November 2, 2026. Requests to it are now served by Grok Imagine Image 2.0 at low quality, billed at that model's rate.