FLUX API: Black Forest Labs' FLUX.2 and FLUX 3 Models, Every Way to Get Access, and What Each Costs (2026)

Updated · Live figures last changed · 15 min read · The GenMagic team

Black Forest Labs sells FLUX 3 Image Klein for $0.009 a 1K image on its own API, one of the cheapest good image models anywhere, and FLUX 3 Image for $0.048. The older FLUX.2 family is priced per megapixel, from $0.014 (klein 4B) to $0.07 (max) for a 1-megapixel image, and FLUX 3 Video costs $0.15 to $0.41 a second with sound.

This guide covers the FLUX models and what each does, how Black Forest Labs (BFL) prices them, including two pricing details that trip developers, how to get access and what BFL's terms mean for you, which FLUX weights you may run yourself, every platform that resells FLUX, working requests, and which route fits which job.

Not a developer? To make FLUX images in a studio and pay per image, without code or a subscription, see pay-as-you-go AI images.

A note on who wrote this: GenMagic is one of the platforms compared here. Its prices come from its live catalog, and on FLUX it is above BFL's own price, as the tables show. BFL's documentation and other platforms' prices were read on October 31, 2026.

Table of contents

  1. The short answer
  2. The FLUX models
  3. How BFL prices them
  4. Getting access from BFL
  5. Running FLUX weights yourself
  6. Getting FLUX without a BFL account
  7. Calling FLUX through GenMagic
  8. What FLUX is good at, in our tests
  9. Limits and gotchas
  10. Which route to pick
  11. How we checked
  12. Questions

The short answer

  • Images, newest first: FLUX 3 Image ($0.048 at 1K, up to 4K) and FLUX 3 Image Klein ($0.009 at 1K), both launched in October 2026; then FLUX.2 [pro], [max], [flex] and [klein], priced per megapixel ( pricing).
  • Video: FLUX 3 Video, a preview model, 5 to 20 seconds with sound, $0.15 a second at 720p to $0.41 at 4K, and $0.06 a second for a fast draft.
  • Two traps: FLUX.2 rounds every image, references included, up to the next megapixel, so 1920x1080 bills as 2 megapixels; and BFL's own help pages and several resellers still show older, higher video prices.
  • Access is a BFL account and prepaid credits (1 credit = $0.01); failed and moderated requests are not charged. BFL's API terms let it train on your inputs and outputs unless you write to opt out.
  • Without a BFL account, fal and OpenRouter pass most of BFL's image prices through, Replicate lists FLUX 3 Image at half BFL's price, and GenMagic is the dearest, with one balance for every model.

The FLUX models

ModelAPI endpointReleasedReferencesLargest outputWhat it is for
FLUX 3 Imageflux-3-imageOct 1, 20261 to 104K (about 16 MP)Best quality; web search on by default
FLUX 3 Image Kleinflux-3-image-kleinOct 15, 20261 to 104KFast, cheap; has a seed
FLUX.2 [max]flux-2-maxDec 16, 202584 MPFLUX.2's best, with search grounding
FLUX.2 [pro]flux-2-proNov 25, 202584 MPThe production default of FLUX.2
FLUX.2 [flex]flux-2-flexNov 25, 202584 MPTypography and small details; adjustable steps
FLUX.2 [klein] 4Bflux-2-klein-4bJan 15, 202644 MPSub-second, open weights (Apache 2.0)
FLUX 3 Videoflux-3-videoAug 4, 2026 (preview)1 to 10 keyframes4K, 5 to 20 sText, image or video to video, with sound

Sources: BFL's release notes, FLUX.2 overview and API specification, read October 31, 2026. BFL has announced no shutdown date for any of these; it retired FLUX.1 [pro] 1.0 and its whole fine-tuning API in October 2025 with "no migration path".

FLUX 3 Image takes up to 10 reference images, 15 aspect ratios, a resolution from 768sq to 4k or exact sizes up to about 16.8 megapixels, and by default searches the web and images to ground the prompt (grounding: true; BFL does not say whether that costs extra). FLUX 3 Image Klein is a smaller FLUX 3 model with the same resolutions, plus a seed and a choice of JPEG or PNG. Note that it is not the same thing as FLUX.2 [klein]: different family, different licence.

Within FLUX.2, flux-2-pro is "a fixed snapshot" that "will not change", while flux-2-pro-preview is where improvements land first. FLUX 3 Video makes 5 to 20 seconds at 24 fps in 21:9 to 9:21, starts from up to 10 keyframes (one opens the clip, two pin start and end), continues a video you send for 5 to 15 seconds, and makes sound by default; "FLUX 3 is a preview model". BFL also sells FLUX Video Edit (restyle a clip up to 15 seconds, $0.03 a second, output at 720p) and FLUX Video Upscale (1.5 to 3 times, up to 20 seconds).

How BFL prices them

FLUX 3 Image and Klein: one price per image, by resolution.

resolutionSizeFLUX 3 ImageFLUX 3 Image Klein
768sq768 x 768$0.041$0.008
1k (default)About 1 MP$0.048$0.009
1.5kAbout 2 MP$0.070$0.011
2kAbout 4 MP$0.100$0.014
4kAbout 16 MP$0.607$0.036

An exact width and height bills at "the smallest tier with at least as many pixels", and reference images add nothing.

FLUX.2: per megapixel, rounded up. "Resolution is always rounded up to the next megapixel, separately for each reference image and for the generated image", where a megapixel is 1024x1024 pixels.

FLUX.2 modelFirst MP of outputEach further MPEach reference image1024x10241920x1080 (2 MP)
[klein] 4B$0.014$0.001$0.001$0.014$0.015
[pro]$0.03$0.015$0.015$0.030$0.045
[flex]$0.05$0.05$0.05$0.050$0.100
[max]$0.07$0.03$0.03$0.070$0.100

FLUX 3 Video: per second of output, with sound.

Mode720p1080p2K4K
Text or image to video$0.15$0.24$0.28$0.41
Continue a video$0.21$0.27$0.31$0.45
Draft (renders at 720p)$0.06Not offeredNot offeredNot offered

All prices in US dollars, read on BFL's pricing page October 31, 2026, where 1 credit = $0.01. "Drafts generate faster and cost about a third of a full render", and a draft can then be rendered at full quality with mode: "draft_enhance".

Three things shape the bill:

  • BFL's own pages disagree, and the price page wins. BFL cut its video prices after launch: its help center still quotes $0.17 and $0.29 a second at 720p and 1080p, a September release note quotes $0.40 and $0.80 at 2K and 4K, and an August note puts video upscaling at twice today's $0.035 and $0.05 per megapixel-second. The live pricing page is what bills, and every response carries the request's cost in credits.
  • References cost money on FLUX.2. Each reference image is billed as a megapixel at the input rate, so editing with four references on [flex] adds $0.20. On FLUX 3 Image and Klein they are free.
  • Failed and moderated requests are free. "You are not charged for requests that return a moderated status. Only successful generations (status: Ready) consume credits" ( BFL help).

Getting access from BFL

1. An account and credits. Sign up at dashboard.bfl.ai, confirm your email, then add credits by card through Stripe; BFL suggests starting with $10 to $20, offers auto top-up from a $5 threshold, and sets spending limits per project ( credits and billing). BFL states no free credit for new accounts. Its developer terms say prepaid credits "expire twelve (12) months after purchase" and "are non-refundable", although a help article says they never expire; the terms are what bind.

2. A call. Every request is asynchronous: submit, then poll.

curl https://api.bfl.ai/v1/flux-3-image-klein \
  -H "x-key: $BFL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A ceramic coffee cup on a linen napkin, morning window light, the cup printed with the word NORTH",
    "aspect_ratio": "4:3",
    "resolution": "1k"
  }'

The answer carries an id, a polling_url and the cost in credits; poll the polling_url (BFL's examples wait half a second for images and five for video) until the status is Ready, then download result.sample. Use api.eu.bfl.ai or api.us.bfl.ai to keep requests in one region. Webhooks (webhook_url) are in the specification for FLUX.2 and video upscaling, not for FLUX 3.

3. Limits. BFL limits concurrent tasks, not requests a second: 24 at once per account, and 5 for FLUX 3 Video, where going over returns a 429 that is "a signal to wait for a running task, not something to retry in a loop" ( integration guide).

4. Your data and your rights. You own the outputs and may use them commercially, but not "to train, distill or fine tune any other AI models", and you must bind your own users to terms "no less protective" of BFL ( developer terms). BFL's API service terms let it "use Inputs and Outputs to train and improve its artificial intelligence models"; its privacy policy gives an opt-out by email to privacy@blackforestlabs.ai with the subject "Training Opt Out", and the API has no zero-retention switch. The same terms license you to build an application your users interact with, but not to "host ... an API endpoint to any FLUX AI Models that allows third parties to integrate" FLUX into their own products. BFL embeds C2PA Content Credentials in every image and video, which you must not remove.

Running FLUX weights yourself

WeightsLicenceCommercial use of the weights
FLUX.2 [klein] 4B (and Base)Apache 2.0Yes
FLUX.1 [schnell]Apache 2.0Yes
FLUX.2 [klein] 9BFLUX Non-Commercial LicenseNo
FLUX.2 [dev], FLUX.1 [dev], Kontext [dev]FLUX [dev] Non-Commercial LicenseNo (outputs may be used commercially)
FLUX 3 Image Klein (and Base)FLUX Kommunity License"Non-commercial use, plus commercial output generation by Qualifying Users with less than US$5M in gross annualized revenue"

Sources: the licence tags on BFL's Hugging Face models, its non-commercial licence and the FLUX 3 Image Klein model card, read October 31, 2026. The non-commercial licence counts any use "for revenue-generating activity" as commercial, so those weights cannot run a paid product; BFL sells commercial weight licences (Builder, Platform, Professional, Enterprise) on its licensing page without published prices. FLUX 3 Image itself and FLUX 3 Video are API only.

Getting FLUX without a BFL account

Read on each platform's own page on October 31, 2026; GenMagic's prices are live:

PlatformFLUX 3 Image (1K)FLUX 3 Klein (1K)FLUX.2 [pro] (1 MP)FLUX.2 [flex] (1 MP)FLUX 3 Video, 720p / 1080p per second
BFL (direct)$0.048$0.009$0.03$0.05$0.15 / $0.24
Replicate$0.024Not listed$0.03$0.06$0.17 / $0.29
fal$0.048$0.009$0.03$0.05$0.17 / $0.29
OpenRouter$0.048$0.009$0.03$0.06$0.17 / $0.29
Together AINot listedNot listed$0.03$0.03$0.17 (unit not stated)
WaveSpeed$0.05About $0.01$0.03$0.06Not compared
kie.aiNot found$0.008$0.025From $0.07Not found
GenMagic$0.072$0.014$0.045$0.09$0.26 / $0.43

Sources: Replicate, fal, OpenRouter, Together AI, WaveSpeed, kie.ai. OpenRouter adds a fee when you buy credits; kie.ai sells credits that never expire.

What separates them:

  • Replicate lists FLUX 3 Image at exactly half BFL's price at every resolution ($0.024 at 1K, $0.05 at 2K), with no promotion stated on the page. It is the cheapest FLUX 3 Image we found; it does not list FLUX 3 Klein.
  • fal matches BFL on images, FLUX 3 Klein included at every tier ($0.008 to $0.036), and lists FLUX.2 [klein] 4B at $0.005 per megapixel, about a third of BFL's price for a 1-megapixel image. OpenRouter also passes BFL's image prices through, except [flex], where it still bills an older $0.06 per megapixel.
  • Every reseller we read charges more than BFL for FLUX 3 Video: $0.17 and $0.29 a second at 720p and 1080p against BFL's current $0.15 and $0.24, and continuing a video costs about double ($0.41 and $0.53 against $0.21 and $0.27). For video, BFL's own API is the cheapest route.
  • Together AI lists FLUX.2 [flex] at $0.03 an image at its lowest setting, 40% below BFL's 1-megapixel price, and kie.ai lists FLUX.2 [pro] at about $0.025 at 1K with reference images free.
  • For FLUX.2 [klein] 4B, the open model, hosts undercut BFL widely: Cloudflare Workers AI charges by 512x512 tile, about $0.0011 for a 1-megapixel image, and Replicate about $0.001 per megapixel, against BFL's $0.014.
  • GenMagic is the dearest route here; in return FLUX runs beside every other image, video and voice model on one balance, in a studio, n8n, Zapier, ComfyUI and Claude or ChatGPT.

Calling FLUX through GenMagic

GenMagic's API is OpenAI-compatible, so FLUX runs through the same images.generate call as every other image model, with no BFL account and no polling. The model ids are black-forest-labs/flux-3-image ( model page), black-forest-labs/flux-3-image-klein ( model page), black-forest-labs/flux.2-pro, black-forest-labs/flux.2-max, black-forest-labs/flux.2-flex, black-forest-labs/flux.2-klein-4b, and black-forest-labs/flux-3-video for video.

1. Get a key. Create a free account at genmagic.co/get-api-key and verify your email; the account starts with $0.50 of credit, about 37 FLUX 3 Klein images.

2. Generate. With OpenAI's Python SDK:

import os
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key=os.environ ["GENMAGIC_API_KEY"])

result = client.images.generate(
    model="black-forest-labs/flux-3-image-klein",
    prompt="A ceramic coffee cup on a linen napkin, morning window light, the cup printed with the word NORTH",
    size="1536x1024",
)
print(result.data [0].url)

Or a video with curl:

curl https://genmagic.co/api/v1/videos \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "black-forest-labs/flux-3-video",
    "prompt": "Steam curls from a ceramic coffee cup as morning light moves across the table",
    "duration": 5,
    "resolution": "720p",
    "aspect_ratio": "16:9"
  }'

An image answers with a hosted url (or the bytes with "response_format": "b64_json"), and the response headers say what it cost and what is left on the balance; a video answers with an id: poll GET https://genmagic.co/api/v1/videos/{id} until it is completed, and nothing is charged until the clip is delivered. Add "image" to start an image or a video from a picture you send.

What it costs. GenMagic charges each image by its size, from $0.014 for a FLUX 3 Klein image and $0.072 for FLUX 3 Image at 1K. In our own runs in October, a FLUX 3 Klein image was charged $0.0135 at the median and a FLUX 3 Image image $0.072, larger sizes included. A refused or failed request costs nothing.

What FLUX is good at, in our tests

We ran FLUX 3 and FLUX 3 Klein beside other image models on the same briefs in October 2026:

  • FLUX 3 Klein was the cheapest or close to it in every test, and rarely the worst. It made both ads correctly for 1.2 and 1.8 cents, both headshots right "in about 10 seconds for 1.2 cents each", a usable logo mark for 1.2 cents in 6 seconds, and staged both rooms in our virtual staging test for 1.8 cents a photo.
  • Its misses were small but real: a few stray marks along the edge of a sign in our image generator test, a dragon that used only about a third of a coloring page, and almost no color added to an old photo in our restoration test.
  • FLUX 3 kept faces well but misspelled an ad. It was among the models that kept both faces closest in the headshot test, and in the ad test it turned "cruelty" into "crualty" and "GLOW" on the label into "CLOW", at five times Klein's price.
  • FLUX.2 [pro] kept a product label down to the small print in our product photo test, in 13 seconds, with the small print "slightly softer" than the others.

Limits and gotchas

Megapixels round up, per image. On FLUX.2 a 1920x1080 output is 1.98 megapixels and bills as 2, and each reference is billed separately; anything over 4 megapixels is resized to 4.

Result links are short-lived, and differ by model. FLUX.2 links are "only valid for 10 minutes", FLUX 3 Image asks you to download "within 1 hour", and FLUX 3 Video "about 2 hours after the job finishes". BFL's delivery links do not allow browser requests (no CORS), so fetch them on your server.

safety_tolerance has no single range. BFL's pages give maximums from 4 to 7 depending on the model and the page; the API answers 422 with the levels your organization may use.

FLUX 3 Video is a preview. BFL labels it one, and it has "its own limit, starting at 5 concurrent video tasks".

Price lists copied by tools can be empty. The Markdown copy of BFL's pricing page has its prices stripped (they are inserted by the page), so an assistant that read that copy may tell you nothing, or something old. Check bfl.ai/pricing itself.

Which route to pick

  • You want FLUX at BFL's price, and FLUX 3 Video at the lowest price anywhere: BFL's own API, with credits that last 12 months and every setting (4K, keyframes, drafts, regions).
  • You want the cheapest FLUX 3 Image: Replicate, at half BFL's listed price while it lasts.
  • You want FLUX 3 Klein or FLUX.2 [klein] for volume without a BFL account: fal.
  • You run your own GPUs for a commercial product: FLUX.2 [klein] 4B under Apache 2.0, or a commercial licence from BFL for the other weights.
  • You want FLUX beside every other image and video model on one balance, or in n8n, Zapier, ComfyUI or an AI assistant: GenMagic, OpenAI-compatible.

How we checked

BFL's model ids, prices, billing rules, limits, terms, licences and API shapes were read on BFL's own pricing page, documentation, API specification, help center and legal pages on October 31, 2026, linked where each fact is used; where BFL's pages disagreed on a price, we used bfl.ai/pricing, the live price list, and say so above. Other platforms' prices were read on each platform's own page the same day. GenMagic's figures come from its live catalog and from the FLUX images billed on GenMagic in the last 90 days, and the quality results from our published image tests, each linked above.

Questions

Is there a FLUX API? Yes. Black Forest Labs sells API access to FLUX 3 Image, FLUX 3 Image Klein, the FLUX.2 models and FLUX 3 Video at api.bfl.ai, paid with prepaid credits worth $0.01 each.

How much does the FLUX API cost? On BFL's own API, FLUX 3 Image Klein costs $0.009 per 1K image and FLUX 3 Image $0.048; FLUX.2 [pro] costs $0.03 for a 1-megapixel image plus $0.015 for each further megapixel; FLUX 3 Video costs $0.15 a second at 720p to $0.41 at 4K.

Is the FLUX API free? BFL states no free credit for new API accounts. FLUX.2 [klein] 4B and FLUX.1 [schnell] are free to download and run yourself under Apache 2.0, and FLUX 3 Image Klein's weights for businesses under $5 million in revenue ( which FLUX models are free). GenMagic's free account starts with $0.50 of credit, about 37 FLUX 3 Klein images.

Can I use FLUX images commercially? Yes: BFL's API terms let you use outputs "for your or their own personal or commercial purposes", except to train another AI model. The non-commercial licences apply to running the weights yourself, not to images made through the API.

What is the difference between FLUX.2 pro, max, flex and klein? [pro] is the production default; [max] is the highest-quality FLUX.2 model, with search grounding; [flex] is tuned for typography and small details and lets you set steps and guidance; [klein] is a small, sub-second model whose 4B weights are open under Apache 2.0.

Does BFL train on my API requests? Its API service terms allow it to use inputs and outputs to train its models; its privacy policy offers an opt-out by email to privacy@blackforestlabs.ai with the subject "Training Opt Out".