Image route guide · checked Nov 13, 2026

FLUX image API pricing per image and per megapixel

FLUX is sold at nearly identical rates per megapixel and per image, which sounds equivalent until resolution changes. A 2048x2048 output (4.19 MP, billed as five) can cost five times a one-megapixel one on the megapixel route.

Short answer: Replicate lists FLUX.1 pro at $0.04 per output image, and APIDir's accepted observation for FLUX on Replicate is $0.04 per one-megapixel image checked August 22, 2026. fal meters FLUX at $0.04 per megapixel with rounding, and lists FLUX.1 schnell at $0.003 per megapixel and newer FLUX variants from $0.008 to $0.07 per image. Convert to cost per accepted image at your output resolution before comparing.

FLUX route rates retrieved November 13, 2026, plus the APIDir accepted observation.
RouteRateUnitNote
black-forest-labs/flux-1.1-pro on replicateoutput image$0.04per imageReplicate pricing page, retrieved 2026-11-13.
flux-image on replicate1 megapixel$0.04per imageAPIDir accepted observation, 2026-08-27.
FLUX on falmegapixel$0.04per MPAPIDir accepted observation; billed per megapixel rounded up.
FLUX.1 [schnell] on falmegapixel$0.003per MPfal pricing page, retrieved 2026-11-13.
Flux 2 Flex on falimage$0.07per imagefal pricing page, retrieved 2026-11-13.
Flux 3 Klein on falimage$0.008per imagefal pricing page, retrieved 2026-11-13.

The unit switches the answer at higher resolution

At one megapixel, $0.04 per image and $0.04 per megapixel describe the same cost. At 2048x2048 the output is 4.19 megapixels. A per-image quote stays at $0.04; a per-megapixel quote billed with round-up becomes five megapixels at $0.04, or $0.20. The same nominal rate produces a fivefold difference purely because of the unit and the resolution.

Image products often generate at several sizes for a single request: a hero image, a thumbnail set, or an edit chain. Each output is billable. Count outputs per request, not requests per month, and multiply by the resolution-dependent rate. If your product offers a 4K option, price it as a separate tier rather than assuming it rides the same rate.

Model versions are separate products

The FLUX family spans a $0.003 per megapixel fast route and a $0.07 per image model, a 23x spread. Prompt adherence, text rendering, detail, and style control differ across those versions, so the cheap route is not a drop-in replacement. Run the same prompt set through the candidates and score them on the criteria your product actually needs.

Edits and variations add another dimension. An inpainting or edit route may be billed per image regardless of output size, while a text-to-image route on the same provider bills per megapixel. Keep the mode in the price record; a rate without the mode is not comparable.

Round-up and minimum charges

Megapixel billing usually rounds up. A 1024x1536 output is 1.57 megapixels, which becomes two billable megapixels on a round-up meter. Generating at a size just below a megapixel boundary can save a full unit, and generating at a size just above it costs one. Map your supported output sizes to billable units before setting retail prices.

Some providers also impose a minimum per request or a per-second compute charge for custom deployments. Those are not visible in a per-image headline. Ask for the full meter table when a quote looks unusually low, especially for high-resolution or batch workloads.

  • List every output size your product generates and its billable unit on the chosen route.
  • Price the largest option separately; it is usually the tier that erodes margin.
  • Remember that an edit chain can multiply outputs per request on per-image routes.
  • Keep thumbnail and hero models separate rather than averaging them into one unit cost.

Worked estimate: 5,000 images

Five thousand accepted images per month at a 90% acceptance rate requires about 5,556 billable attempts. At Replicate's $0.04 per image that is $222.24. At fal's $0.04 per megapixel with round-up, a 2048x2048 output bills five megapixels at $0.20, so the same 5,556 attempts cost $1,111.20 — five times more for the same count of images at a higher resolution. At fal's schnell rate of $0.003 per megapixel, a one-megapixel output costs $16.67 plus retries.

The lesson is not that one route is better. It is that resolution belongs in the budget line. A product that ships one-megapixel thumbnails and a product that ships four-megapixel heroes cannot share a per-image assumption, even when both call the same model family.

Build a size ladder before choosing a model. List each output size the product needs, compute its billable units on the candidate route, and multiply by the monthly accepted count for that size. The ladder usually shows one size dominating spend, and that is the size to validate with a small batch first. Optimising the thumbnail tier while the hero tier consumes most of the budget is a common and expensive misallocation of effort.

Quality gates before price cuts

The cheapest FLUX route will not help if the output fails review. Define the acceptance criteria first: text legibility, composition, artifacts at the target resolution, and brand consistency. Then measure acceptance on the candidate routes. A route that costs half as much but needs twice the attempts is a net loss.

Record the resolved model version, the output dimensions, the mode, and the check date with every rate. FLUX versions and provider defaults change, and a per-megapixel rate without the resolution context is not evidence. Recheck before a batch, and reconcile the first invoice against the attempts you counted.

Estimate a FLUX image batch

Enter the per-attempt price at your output resolution, your measured acceptance rate, and any fixed monthly cost.

Estimate a FLUX image batch

Enter the per-attempt price at your output resolution, your measured acceptance rate, and any fixed monthly cost.

Images that pass review and ship.
One image at your output resolution and mode.
Accepted images divided by all billable attempts.
Storage, CDN, or post-processing.
Reset example

Planning result

Review the example inputs, replace each rate with the exact current value from the linked source, then calculate. APIDir does not send these values to a provider.

Questions developers ask

Is FLUX priced per image or per megapixel?

Both, depending on the provider and model. Replicate lists FLUX.1 pro at $0.04 per output image, while fal meters some FLUX models per megapixel with round-up. The unit changes the cost at higher resolutions.

Why does a four-megapixel image cost more?

On a per-megapixel route it is billed as four or five units instead of one. On a per-image route the price stays flat. Check which meter your provider uses before offering high-resolution tiers.

Which FLUX model is cheapest?

The fal page lists FLUX.1 schnell at $0.003 per megapixel and Flux 3 Klein at $0.008 per image, while Flux 2 Flex is $0.07 per image. Cheapest is only meaningful after a quality gate on your own prompts.

Do failed FLUX generations cost money?

Assume they may until the provider's terms say otherwise, and confirm with an invoice that includes a failure.

Sources and check dates

Every rate in this guide was retrieved from the linked page on Nov 13, 2026. Prices can change; recheck the source before purchasing.