FLUX API pricing: FLUX.2, Kontext and FLUX 1.1 per image

FLUX API pricing per image for FLUX.2 pro and flex, Kontext pro and max and FLUX 1.1, next to Black Forest Labs' per-megapixel list, and what edits cost.

·UplinkSwitch·All posts

FLUX API pricing at Black Forest Labs (BFL) is per megapixel for FLUX.2 and per image for Kontext and FLUX 1.1. On BFL's list (read 2026-10-23), FLUX.2 pro costs $0.03 for a 1 MP image and $0.075 for 4 MP. Here each FLUX model has a flat price per image, from $0.0175 to $0.256; FLUX.2 pro is $0.0563 at 1K or 2K.

The same key and prepaid balance call the other image models and the video models too, such as the Veo 3.1 API. Every price of ours below is read from the live catalog.

FLUX API pricing per image

Each FLUX model below has a flat price per image, fixed when the request is accepted and charged from prepaid credit. FLUX.2 pro and flex have a 1K and a 2K tier; Kontext, FLUX 1.1 and FLUX.1 dev have one price at any setting.

ModelSettingHere, per imageBFL, read 2026-10-23
FLUX.2 Pro1K$0.0563$0.03 for 1 MP
FLUX.2 Pro2K$0.0563$0.075 for 4 MP
FLUX.2 Pro Edit1K$0.0563$0.045, 1 MP + 1 reference
FLUX.2 Pro Edit2K$0.0563$0.09, 4 MP + 1 reference
FLUX.2 Flex1K$0.1688$0.05 for 1 MP
FLUX.2 Flex2K$0.1688$0.20 for 4 MP
FLUX.2 Flex Edit1K$0.1688$0.10, 1 MP + 1 reference
FLUX.2 Flex Edit2K$0.1688$0.25, 4 MP + 1 reference
FLUX.1 Kontext Proany$0.128$0.04
FLUX.1 Kontext Pro Editany$0.128$0.04
FLUX.1 Kontext Maxany$0.256$0.08
FLUX.1 Kontext Max Editany$0.256$0.08
FLUX 1.1 Proany$0.05$0.04
FLUX 1.1 Pro Ultraany$0.075$0.06
FLUX.1 Devany$0.0175$0.025

USD per image. Ours from the live catalog; BFL's list read 2026-10-23. BFL's FLUX.2 figures are computed from its per-megapixel rates, with each reference image counted as 1 MP.

On BFL's side a FLUX.2 figure grows with the pixels out and with each reference image in. Here the price is set by the tier alone, and each model page, such as FLUX.2 Pro, lists the same tiers.

How Black Forest Labs prices FLUX.2

BFL bills FLUX.2 by the megapixel, for the image it generates and for every reference image an edit sends. Its pricing page gives the rule for pro in two sentences: “The first generated megapixel is charged $0.03. Each subsequent megapixel is charged $0.015.”

ModelFirst output MPEach further MPEach reference MP
FLUX.2 [pro]$0.03$0.015$0.015
FLUX.2 [flex]$0.05$0.05$0.05

BFL's FLUX.2 rates, USD, from bfl.ai/pricing, read 2026-10-23.

BFL counts one megapixel as 1024 × 1024 pixels and rounds each image up to the next whole megapixel. The output and each reference are rounded separately, and an image over 4 MP is resized to 4 MP.

That gives the two figures this post compares against. A 1 MP image, 1024 × 1024, is $0.03 on pro and $0.05 on flex. A 4 MP image, 2048 × 2048, is $0.075 on pro and $0.20 on flex.

An edit adds its reference images on top of the output. Each reference of up to 1 MP adds $0.015 on pro and $0.05 on flex, so the price of a BFL edit grows with every image you send.

Editpro, 1 MP outpro, 4 MP outflex, 1 MP outflex, 4 MP out
BFL, 1 reference$0.045$0.09$0.10$0.25
BFL, 2 references$0.06$0.105$0.15$0.30
BFL, 3 references$0.075$0.12$0.20$0.35
BFL, 4 references$0.09$0.135$0.25$0.40
Here, edit tier at 1K and 2K$0.0563$0.0563$0.1688$0.1688

BFL's price per FLUX.2 edit, USD, computed from its rates read 2026-10-23, each reference image up to 1 MP. The last row is the edit tier here, from the live catalog.

Here FLUX.2 Pro Edit and FLUX.2 Flex Edit have the same 1K and 2K tiers as generation, at the same price. The catalog prices an edit by its tier alone and lists no charge per reference image.

FLUX.2 at 2K, and every FLUX model per 1,000 images

At 2K, FLUX.2 pro is $0.0563 here against BFL's $0.075 for a 4 MP image, 24% under. FLUX.2 flex at 2K is $0.1688 against BFL's $0.20, 15% under.

The table scales every FLUX generation model to 1,000 images, ours from the live catalog and BFL's from its list. FLUX.2 on BFL's side is priced at 1 MP for 1K and 4 MP for 2K.

ModelSetting1,000 here1,000 on BFL
FLUX.2 Pro1K$56.30$30.00
FLUX.2 Pro2K$56.30$75.00
FLUX.2 Flex1K$168.80$50.00
FLUX.2 Flex2K$168.80$200.00
FLUX.1 Kontext Proany$128.00$40.00
FLUX.1 Kontext Maxany$256.00$80.00
FLUX 1.1 Proany$50.00$40.00
FLUX 1.1 Pro Ultraany$75.00$60.00
FLUX.1 Devany$17.50$25.00

USD per 1,000 images. Ours from the live catalog; BFL's list read 2026-10-23.

FLUX.2 costs the same at 1K and 2K here, so send 2K whenever the larger image is useful. The edit models price the same way.

Which FLUX model to use

Start with FLUX.2 pro, the newest FLUX generation in the catalog. It takes 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3 or auto as the size, at 1K or 2K. Its edit twin, flux-2-pro-edit, takes reference images in image_urls.

FLUX.2 flex has the same settings and tiers at about 3 times the price of pro here. Send a batch to flex when your own tests on the same prompts favor its output.

FLUX.1 Kontext is BFL's model for creating and editing images from text and images, in pro and max. BFL lists max as the maximum-quality version. FLUX Kontext API pricing on BFL's list is $0.04 for pro and $0.08 for max per image, with an edit at the same price (read 2026-10-23). Here Kontext pro is $0.128 and Kontext max is $0.256, with the edit ids at the same price. Both take 7 aspect ratios, 1:1, 4:3, 3:4, 16:9, 9:16, 21:9 or 9:21, and return PNG or JPG.

FLUX 1.1 pro takes fixed pixel sizes, 7 of them: 1024 × 768, 768 × 1024, 1024 × 1024, 1216 × 832, 832 × 1216, 1344 × 768 or 768 × 1344. It adds prompt upsampling, a safety tolerance and a seed. FLUX 1.1 pro Ultra takes an aspect ratio instead, 21:9 to 9:21, and has a raw mode. BFL lists them at $0.04 and $0.06 per image (read 2026-10-23); here they are $0.05 and $0.075.

FLUX.1 dev is $0.0175 per image here, with a step count, prompt enhancement and a seed. It takes 1024 × 1024, 960 × 1280, 768 × 1024, 720 × 1440 or 720 × 1280. BFL's FLUX.1 tab lists it at $0.025 per image (read 2026-10-23).

To weigh FLUX.2 pro against other image models, see FLUX.2 Pro vs Nano Banana Pro and Qwen Image 3 vs FLUX.2 Pro. The GPT Image 2 API pricing post runs the same per-image math for OpenAI's model, and Nano Banana pricing covers Google's. Every image and video model is on the media models page.

A month of FLUX images, worked

Take a shop that makes 600 FLUX.2 pro images, 200 FLUX.2 pro edits with 2 reference images each, and 100 FLUX.2 flex images a month, all at 2K. The volumes are assumptions.

ImagesCountEach, hereTotal, hereTotal, BFL's rates
FLUX.2 pro, 2K600$0.0563$33.78$45.00
FLUX.2 pro edits, 2K, 2 references each200$0.0563$11.26$21.00
FLUX.2 flex, 2K100$0.1688$16.88$20.00

USD. Ours from the live catalog; BFL's from its rates read 2026-10-23, at 4 MP per image and 1 MP per reference. Failed generations are refunded, so they are not counted.

The month comes to $61.92 here. On BFL's rates the same images come to $86.00, with each 2K image at 4 MP and each reference image at 1 MP.

How to call the FLUX API

The OpenAI SDK's image call works as it is: point it at the base URL and keep model, prompt and size. The size maps to the model's aspect ratio and resolution, so 2048x2048 runs FLUX.2 at 1:1 and 2K.

python
from openai import OpenAI

client = OpenAI(base_url="https://api.uplinkswitch.com/v1", api_key="sk-uplink-live-...")
result = client.images.generate(
    model="flux-2-pro",
    prompt="A linen tote bag on a concrete step, morning light, product shot",
    size="2048x2048",  # 1:1 at the 2K tier
)
print(result.data[0].url)

To set the tier directly, send POST /v1/generations with resolution and size in input, as the catalog names them. It answers 202 at once with the price set.

shell
curl https://api.uplinkswitch.com/v1/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-pro",
    "input": {
      "prompt": "A linen tote bag on a concrete step, morning light, product shot",
      "resolution": "2K",
      "size": "16:9"
    }
  }'

Then poll GET /v1/generations/{id} with the id it returned until the image is ready.

shell
curl https://api.uplinkswitch.com/v1/generations/gen_... \
  -H "Authorization: Bearer $UPLINK_API_KEY"

# Repeat until "status" is "succeeded".

An edit is its own model id. Send the source images in image_urls with a prompt that says what to change.

shell
curl https://api.uplinkswitch.com/v1/generations \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "flux-2-pro-edit",
    "input": {
      "prompt": "Place the tote from the first image on the bench in the second",
      "image_urls": [
        "https://example.com/tote.jpg",
        "https://example.com/bench.jpg"
      ],
      "resolution": "2K",
      "size": "auto"
    }
  }'

Settings the OpenAI call has no field for, such as Kontext's output_format, go in input, or extra_body in the SDK. A generation that fails is refunded in full, automatically. Finished files are served from api.uplinkswitch.com/v1/files for 30 days. The media guide has the polling loop and every setting.

Questions

On Black Forest Labs' list (read 2026-10-23), FLUX.2 pro starts at $0.03 for the first megapixel and flex at $0.05. Kontext pro is $0.04, Kontext max $0.08, FLUX 1.1 pro $0.04 and Ultra $0.06 per image. Here each FLUX model has a flat price per image, from $0.0175 for FLUX.1 Dev to $0.256 for FLUX.1 Kontext Max.

BFL's flat-priced FLUX models run from $0.025 per image for FLUX.1 [dev] to $0.08 for Kontext max (read 2026-10-23). FLUX.2 scales with size: a 4 MP image is $0.075 on pro and $0.20 on flex. Here FLUX.2 pro is $0.0563 at 1K or 2K, and flex is $0.1688 at 1K or 2K.

On BFL's list FLUX.2 pro is $0.03 for the first output megapixel, $0.015 for each further one and $0.015 per reference megapixel. Flex is $0.05 for each (read 2026-10-23). Here FLUX.2 pro is $0.0563 at 1K or 2K per image, and flex is $0.1688 at 1K or 2K.

For FLUX you pay per image, not for the API itself. BFL sells credits at $0.01 each and charges per image or per megapixel (read 2026-10-23). Here a key needs prepaid credit from $10, no subscription, and each image is charged its catalog price when the request is accepted.

On BFL each reference image adds $0.015 per megapixel on pro and $0.05 on flex, so a 1 MP pro edit with one reference is $0.045 (read 2026-10-23). Here the edit models are priced by tier: a pro edit is $0.0563 at 1K or 2K, and a flex edit is $0.1688 at 1K or 2K.

BFL lists Kontext pro at $0.04 and Kontext max at $0.08 per image, and editing uses the same endpoint and price (read 2026-10-23). Here Kontext pro is $0.128 and Kontext max is $0.256 per image, and each edit id has the same price.

BFL's FLUX.1 pricing tab lists FLUX.1 [dev] at $0.025 per image (read 2026-10-23). Here it is $0.0175 per image at any of its sizes.

The charge is refunded in full, automatically. The price is fixed when the request is accepted, and a finished image is served from our files endpoint for 30 days, so download the ones you keep.

Where the prices come from

BFL's figures on this page are dated: bfl.ai/pricing for FLUX.1 and FLUX.2, and its docs pricing table, both read on 2026-10-23. The FLUX.2 figures per image are computed from BFL's per-megapixel rates, as set out above.

Every price of ours is read from the live media catalog each time the page rebuilds, at most five minutes apart, so the tables show today's rates. Each paid top-up locks those rates for 30 days.

Get a key: prepaid from $10, no subscription, 30-day price lock. Open the console.

Join on Telegram
Help