Black Forest Labs · Image
FLUX.2 [klein] 4B API pricing
bfl/flux-2-klein-4b
Fastest, lowest-cost FLUX.2 text-to-image. FLUX.2 [klein] 4B by Black Forest Labs, routed through INFRO on a Black Forest Labs account you connect — alongside every other provider you run. Black Forest Labs bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay Black Forest Labs.
Pricing
Black Forest Labs rate
$0.014
per image, billed to you by Black Forest Labs
INFRO adds
$0
0% markup on model spend
Calling FLUX.2 [klein] 4B
POST /v1/images/generationsimport os
from infro import Infro
client = Infro(api_key=os.environ["INFRO_API_KEY"])
image = client.images.generate(
model="bfl/flux-2-klein-4b",
prompt="studio product shot, soft rim light",
n=1,
)What this modality supports
- Text to image
- Editing & inpainting
- Upscale & restore
- Batch requests
Text-to-image, editing, upscaling, and background removal across the leading image models. One request shape, consistent sizes and seeds, billed per image with no minimums.
Alternatives for fastest, lowest-cost flux.2 text-to-image
Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.
Work out what FLUX.2 [klein] 4B would cost you
Put your current spend on this model into the calculator and see the same workload priced here — or have us read your real usage.