Image generation API pricing compared, per image

Per-image prices for Google, OpenAI, Black Forest Labs, ByteDance, Alibaba and xAI models at each resolution and quality tier, beside the developer's list.

Checked 2026-11-22

·All posts·Models

Image APIs bill per image, and the price moves with resolution and quality, so one table does the work: the main image models among the 75 on this catalog, the per-image price at each tier, and the developer's own list price next to it wherever one is published. Every figure below is read from GET https://api.uplinkswitch.com/v1/catalog/media on the date above; the catalog is public, needs no key, and is the same list the prices on /models/media come from.

How an image price is built

Each image model carries a unit of image and a pricing list. A model with one entry has one price whatever you ask for. A model with several entries prices on the settings in its when object: usually resolution (1K, 2K, 4K), sometimes quality (low, medium, high and up), and on a few OpenAI ids both at once. The list_usd field holds the developer's published price for the same tier when the catalog has one on record; where it is null the developer does not publish a comparable per-image figure, and the column shows a dash rather than a guess.

Two things keep the comparison honest. The price is quoted from the request before anything runs and charged when the model accepts the task, so what the table shows is what the receipt shows. And a generation that fails is refunded in full, automatically, so the per-image figure is a price per delivered image.

One 1K image, developer by developer

The 1K tier is the one most models share, so it is the fairest single row. Where a model prices by quality as well, the table gives the lowest quality at 1K; the next section has the full grid for those.

DeveloperModel idTierOurs, per imageDeveloper list
Googlenano-banana-21K$0.0402$0.067
OpenAIgpt-image-2low, 1K$0.024—
OpenAIgpt-image-2.5-flarelow, 1K$0.0262—
Black Forest Labsflux-2-pro1K$0.0563—
Black Forest Labsflux-3-klein1K$0.036—
Alibabaqwen-image-3-pro1K$0.0358$0.04
xAIgrok-imagine-image-2.0low, 1K$0.05—

Two well-known ids are missing from that row on purpose. seedream-5.0-pro only renders at 2K, so its one price, $0.09 against a list of $0.09, belongs in the 2K comparison below. And the flat-priced models have no tier at all: nano-banana at $0.0313, gpt-image-2.6 at $0.0176, flux-kontext-pro at $0.128, seedream-5.0-lite at $0.0313 and qwen-image at $0.025 cost the same at any size they accept.

The same models at 2K and 4K

Resolution is where the spread opens. A 2K image is not twice a 1K one on every developer's list, and some models stop at 2K.

Model id1K2K4K
nano-banana-2$0.0402$0.056$0.072
gpt-image-2 (low)$0.024$0.036$0.066
flux-2-pro$0.0563$0.0563not offered
flux-3-klein$0.036$0.056$0.144
seedream-5.0-pronot offered$0.09not offered
qwen-image-3-pro$0.0358$0.0714not offered
grok-imagine-image-2.0 (low)$0.05$0.075not offered

The developer list for each of these cells is left out of this table for width; it is on each model's page under /models/media.

Why some models have two or three prices, and one has fifteen

Three pricing shapes appear in the catalog:

  1. By resolution only. Google's Nano Banana line, the FLUX 2 and FLUX 3 ids, Qwen Image 3 Pro and Kling's image ids price on resolution and nothing else. Aspect ratio (size) is free to choose and does not change the price.
  2. By quality only. No current id does this alone, but OpenAI's quality setting is what the OpenAI image API's quality field maps onto, so it appears combined with resolution below.
  3. By quality and resolution together. gpt-image-2 and gpt-image-2-edit price every combination of low, medium and high quality with 1K, 2K and 4K. gpt-image-2.5-flare adds xhigh and max qualities on top, which is why its grid is the largest in the catalog. grok-imagine-image-2.0 uses low and medium quality at 1K and 2K.

The OpenAI quality ladder on gpt-image-2 at 1K reads $0.024 (low), $0.053 (medium) and $0.211 (high); at 4K high it is $0.401. The single-model detail, including which quality the OpenAI SDK's quality values land on, is on GPT Image 2 API pricing and is not repeated here.

A fourth shape is worth knowing: Alibaba's qwen-image-3-pro lists each resolution twice. One row covers the common aspect ratios and a request with no size, the other catches the remaining ratio, and the first row that matches the request is the one billed. The figures above are the common-ratio rows; the quote route described below shows which row a request lands on.

Edit variants: the same model, reading an image

43 of the 75 image ids accept POST /v1/images/edits. Many developers ship the edit model as a twin with an -edit suffix, and the catalog treats the twin as its own id with its own price list, so the honest answer to "does editing cost the same" is: look it up per pair.

GenerateEdit twinTierGenerate priceEdit price
nano-banana-2nano-banana-2-edit1K$0.0402$0.0402
gpt-image-2gpt-image-2-editlow, 1K$0.024$0.024
flux-kontext-proflux-kontext-pro-editflat$0.128$0.128
seedream-5.0-proseedream-5.0-pro-edit2K$0.09$0.09

When you call /v1/images/edits with the generate id, the gateway routes to the twin (an edit on gpt-image-2 runs on gpt-image-2-edit) and bills the twin's price. Some ids, among them nano-banana-2 and seedream-5.0-lite, list the edit route themselves and need no twin. The image-editing task page at /models/media/tasks/image-editing groups them.

Where the price is decided in the request

Image models answer POST /v1/images/generations in OpenAI's shape: size is mapped onto the model's aspect ratio, quality onto its quality setting, and model-specific settings such as resolution go in input (extra_body in the OpenAI SDK). The call waits for the image, usually 10 to 40 seconds, and after about 100 seconds answers with a generation id to poll instead. The same models also take POST /v1/generations, which answers 202 at once with the price fixed, for you to poll.

To see the price before spending anything, send the same body to POST /v1/generations/quote. It answers with the settings after defaults, the units billed and the charge, beside the developer's price where one is on record; nothing is held or logged.

bash
curl https://api.uplinkswitch.com/v1/generations/quote \
  -H "Authorization: Bearer $UPLINKSWITCH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nano-banana-2", "input": {"prompt": "a lighthouse at dusk", "resolution": "2K"}}'

A setting that decides the price and has no default must be sent, and an unknown setting is refused before anything runs, so a quote that succeeds is the price you will be charged. Finished files are served from /v1/files for 30 days; download what you want to keep.

Where to go deeper

This page is the cross-developer table. The single-model pages carry the settings, the SDK mappings and the examples: FLUX API pricing, GPT Image 2 API pricing, the Nano Banana Pro guide, the Seedream guide and the head-to-head at /compare/gpt-image-2-vs-nano-banana-2. The request shapes for every media kind are on the media guide, and the token-priced chat models are indexed at /pricing-index. Video models bill per second or per clip rather than per image; their prices are on /models/media.

Questions and answers

On this catalog a 1K image is $0.0402 on nano-banana-2, $0.024 on gpt-image-2 at low quality and $0.0563 on flux-2-pro, each read from the public media catalog on the date above, with the developer's list price alongside where published.

Because the developer prices the output, not the call. Most tiered models charge by resolution (1K, 2K, 4K); OpenAI's ids also charge by quality, so every quality and resolution pair is its own row. A model with a single price, such as nano-banana, costs the same at any aspect ratio or size it accepts.

Google, OpenAI, Black Forest Labs, ByteDance and Kling ship edit twins with an -edit suffix (nano-banana-2-edit, gpt-image-2-edit, flux-kontext-pro-edit, seedream-5.0-pro-edit, kling-o3-image-edit). Each twin has its own price list in the catalog, so compare the pair at the same tier; the table above does that, and an edit on the base id is billed at the twin's rate.
Join on Telegram
Help