Cheaper Gen.
Black Forest LabsimageFastOperational

FLUX.2 [klein] 4B API

The fastest FLUX.2 — open weights, sub-second, a fraction of a cent

FromUp to −95%
$0.0007/imgOfficial price $0.014

per image · 1K

Try FLUX.2 [klein] 4B

Runs on your balance at the price shown on the button. Results are saved to your account.

Open full-screen Studio
0/5000

Output image shape.

1K ≈ 1 MP; 2K ≈ 4 MP (long side up to 2048 px).

Estimated cost…

Create a free account with Google or email — pay only for what you generate.

Your image will appear here

Write a prompt, pick your settings and hit Run. You only pay for successful generations.

What is FLUX.2 [klein] 4B?

FLUX.2 [klein] 4B is Black Forest Labs' small, open (Apache-2.0) FLUX.2 model: sub-second text-to-image and editing with up to 4 reference images, at a fraction of a cent per image.

Sub-second
4-step distilled
Fraction of a cent
Per 1 MP image
4 references
Image editing
Open weights
Apache-2.0

Real-time FLUX

klein 4B distills FLUX.2 into 4 steps, so images come back in well under a second — for live previews, batch jobs and interactive apps.

Edits too

Give it up to 4 reference images and describe the change; the output follows the input image.

FLUX.2 [klein] 4B pricing

Pay per image. No subscription. Failed generations are refunded automatically.

TierOfficial priceCheaper Gen.
1K
≈1 MP
$0.014/img$0.0007/img
2K
≈4 MP
$0.017/img$0.0027/img
  • Official price: BFL API list price for FLUX.2 [klein] 4B ($0.014 for the first output megapixel, $0.001 per additional MP; input images at $0.001 / MP). Prices verified 2026-10-16.

Specifications

Resolutions
1K (≈1 MP) · 2K (≈4 MP)
Aspect ratios
1:1 · 4:3 · 3:4 · 16:9 · 9:16 · 3:2 · 2:3
Edit inputs
Up to 4 images
Weights
Open (Apache-2.0)
Released
Jan 15, 2026

Use FLUX.2 [klein] 4B via API

One request to start a job, one to fetch the result. Same shape for every model.

Full API reference
import os, time, requests

API = "https://cheapergen.com/api/v1"
headers = {"Authorization": f"Bearer {os.environ['CHEAPERGEN_API_KEY']}"}

# 1. Submit the job
job = requests.post(f"{API}/run/bfl/flux-2-klein-4b/text-to-image", headers=headers, json={
    "prompt": "A cozy coffee shop interior with vintage furniture, morning light, photo",
    "aspect_ratio": "1:1",
    "resolution": "1K"
}).json()

# 2. Poll until it finishes (or pass "webhook_url" and skip polling)
while job["status"] in ("queued", "running"):
    time.sleep(3)
    job = requests.get(f"{API}/generations/{job['id']}", headers=headers).json()

print(job["status"], job["output"]["images"][0]["url"] if job["status"] == "succeeded" else job["error"])

Example prompts

Hit “Try it” to load a prompt into the playground above.

  • Flat-lay of breakfast on a marble table, top-down, bright daylight

    Try it
  • Image Edit

    Make the jacket in image 1 bright yellow, keep everything else

    Try it

FLUX.2 [klein] 4B FAQ

Per image by output size (megapixels) — a fraction of a cent at 1K. Failed generations are not charged.

Yes. FLUX.2 [klein] 4B is BFL's open-weights (Apache-2.0) model, served on an optimized inference engine for open-source models.

Yes — the 4B weights are Apache-2.0 — subject to our Terms of Service.

FLUX.2 [klein] 4B is developed by Black Forest Labs. Cheaper Gen. provides API access through official upstream endpoints and does not own the model. Trademarks belong to their respective owners. · Markdown · OpenAPI