CheaperGen

Text → Image

Text to image API

Generate images from a prompt with 17 official text-to-image models and 5 open-weights models, up to 4K. From $0.001 per image, up to 93% below the official list price.

Models
22
8 developers
From
$0.001/image
FLUX.2 [klein] 4B
Below official
up to 93%
FLUX.2 [klein] 4B
Failed runs
$0
refunded automatically

Live prices

Every text-to-image model, compared

Starting price per image at each model's lowest tier, next to the official list price. Select a column to sort.

Text to image API: models, specs and prices. Select a column header to sort.
4K
8
1:1 · 4:3 · 3:4 · 16:9
—
$0.0309/image
2K
$0.04/image
up to 23%
2K
8
1:1 · 4:3 · 3:4 · 16:9
—
$0.0341/image
1K
$0.045/image
up to 26%
2K
8
1:1 · 4:3 · 3:4 · 16:9
—
$0.0317/image
1K
$0.035/image
up to 9%
2K
8
1:1 · 4:3 · 3:4 · 16:9
—
$0.0154/image
1K
$0.018/image
up to 14%
4K
10
1:1 · 2:3 · 3:2 · 3:4
—
$0.1197/image
1K
$0.138/image
up to 18%
4K
14
1:1 · 2:3 · 3:2 · 3:4
—
$0.032/image
1K
$0.0416/image
up to 25%
4K
11
1:1 · 3:2 · 2:3 · 4:3
low · medium · high · xhigh · max
$0.0061/image
1K · low
$0.0064/image
up to 8%
4K
11
1:1 · 3:2 · 2:3 · 4:3
low · medium · high · xhigh · max
$0.0061/image
1K · low
$0.0064/image
up to 8%
4K
15
1:1 · 4:5 · 3:4 · 2:3
—
$0.0404/image
1K
$0.048/image
up to 16%
4K
16
1:1 · 4:5 · 3:4 · 2:3
—
$0.0011/image
768
$0.008/image
up to 87%
2K
7
1:1 · 4:3 · 3:4 · 16:9
—
$0.001/image
1K
$0.014/image
up to 93%
4 MP
10
1:1 · 4:3 · 3:4 · 16:9
—
$0.0276/image
1 MP
$0.03/image
up to 23%
4 MP
9
1:1 · 4:3 · 3:4 · 16:9
—
$0.0644/image
1 MP
$0.07/image
up to 21%
4 MP
9
1:1 · 4:3 · 3:4 · 16:9
—
$0.046/image
1 MP
$0.05/image
up to 32%
1K
9
1:1 · 4:3 · 3:4 · 16:9
—
$0.0348/image
Image
$0.04/image
up to 13%
1K
9
1:1 · 4:3 · 3:4 · 16:9
—
$0.0695/image
Image
$0.08/image
up to 13%
2K
13
1:1 · 3:4 · 4:3 · 9:16
low · medium
$0.0329/image
1K · low
$0.04/image
up to 29%
2K
7
1:1 · 4:3 · 3:4 · 16:9
—
$0.0357/image
1K
$0.04/image
up to 11%
2K
7
1:1 · 4:3 · 3:4 · 16:9
—
$0.0228/image
1K
$0.03/image
up to 24%
2K
7
1:1 · 4:3 · 3:4 · 16:9
—
$0.0048/image
1K
$0.015/image
up to 69%
1k 16:9
8
1:1 · 4:5 · 3:4 · 2:3
—
$0.0076/image
1K square
$0.015/image
up to 49%
2K
15
1:1 · 4:5 · 5:4 · 3:4
—
$0.0384/image
1K
$0.05/image
vs. fal API
up to 27%

Prices are live from our catalog. Official list prices are the developers' own published API prices. Every tier: full price list.

How to choose

Picking a model

Lowest price
FLUX.2 [klein] 4B from $0.001/image (1K).
Largest output
Seedream 4.5, Nano Banana Pro, Nano Banana 2.1, GPT Image 2.5 and 3 more — up to 4K.
Most aspect ratios
FLUX 3 Image Klein — 16 aspect ratios.
Biggest discount
FLUX.2 [klein] 4B: up to 93% below Black Forest Labs's official price.

How it works

About the Text to Image API

How text-to-image works

Send a prompt with an aspect ratio and size; you get image URLs back. Ask for several images in one request where the model supports it.

What drives the price

Output size and, for some models, a quality level. Larger images and higher quality cost more per image.

Head to head

Popular comparisons

All comparisons

FAQ

Text to Image API questions

A text-to-image API turns a written prompt into an image inside your own app or pipeline, billed per generated image.

Seedream 4.5, Nano Banana Pro, Nano Banana 2.1, GPT Image 2.5, GPT Image 2.5 Flare, FLUX 3 and 1 more generate 4K images.

FLUX.2 [klein] 4B at $0.001 per image (1K) — 1,000 images for $0.95.

No subscription is needed: credits are prepaid and work across every model in the API and the Studio (optional monthly plans add credits every month, and Pro and Max lower prices). Failed generations are refunded automatically, and the quote endpoint prices any request for free before you run it.

No. One CheaperGen API key and balance covers ByteDance, Google, OpenAI, Black Forest Labs, xAI, Alibaba, Krea and OpenMOSS. Every model uses the same request shape: POST /v1/run/{endpoint}, then poll or receive a webhook.