MODEL REFERENCE / BLACK FOREST LABS

FLUX.2 Klein 9B
Pricing, API, ComfyUI & GPU requirements.

FLUX.2 Klein 9B image generation and editing: pricing per megapixel, BFL API, ComfyUI setup, GPU memory and commercial license explained.

$0.015first output MP · BFL API
19.6 GBBFL reference VRAM · plan ~24 GB
2026-10-12last verified

SOURCE-VERIFIED EDITORIAL UPDATE · 2026-11-26

Klein 9B: fine-tuned endpoint beta and weight-license distinction

BFL still lists $0.015 for the first output megapixel, plus $0.002 per additional output MP and reference MP. Its pricing documentation now lists the public-beta flux-2-klein-9b-kv-finetuned endpoint at the equivalent base-model rate for the same resolution. The 9B local weights use the FLUX Non-Commercial License; the separate 4B model is Apache 2.0. Klein supports up to four references. FLUX 3 Image Klein is a different model and billing schedule. Do not equate beta pricing with a permanent rate or hosted API access with commercial local-weight rights.

Primary sources: BFL price card · Fine-tuned endpoint pricing · Official inference and licensing repository · BFL model capabilities

PRIMARY-SOURCE VERIFIED

FLUX.2 Klein 9B at a glance.

Black Forest Labs does not publish a token context window for this service. Input modalities: text + image. Output: image. Pricing status: Official paid API.

MODEL IDflux-2-klein-9b
MODEL SIZE9Bdistilled, four inference steps
BFL REFERENCE VRAM19.6 GBactual requirements depend on setup
WEIGHT LICENSENon-commercial9B local weights; API rights separate
STANDARD RATE$0.015per first output MP (additional/reference MP extra)
ADDITIONAL OUTPUT MP+$0.002reference MP +$0.002

CAPABILITY CONTRACT

Published model behavior.

GENERATION

Four steps

The distilled 9B checkpoint is designed for fast visual generation and editing; 9B Base is undistilled and targets customization.

INPUT

text + image

Input modalities come from the cited official model documentation.

OUTPUT

image

Output modality and output-limit claims remain separate so an undocumented token cap is not guessed.

PRICING STATUS

Official paid API.

$0.015 per first output MP (additional/reference MP extra).

This image-model service is billed per rounded image megapixel, not text tokens. The SXF pricing breakdown below shows separately billed output and reference-image inputs.

FLUX.2 KLEIN 9B / DIRECT ANSWER

What is FLUX.2 Klein 9B?

FLUX.2 [klein] 9B is Black Forest Labs' nine-billion-parameter, step-distilled image model for text-to-image generation, image editing and multi-reference composition. The distilled version uses four inference steps; the undistilled 9B Base is a different checkpoint intended for customization and fine-tuning. It is not a text chatbot and has no meaningful publicly specified token context window.

For developers, the important choices are hosted API versus local weights, distilled versus Base, and whether a roughly 20–24 GB GPU budget is available. The hosted BFL API starts at $0.015 for the first billed output megapixel; local 9B weights carry a FLUX Non-Commercial License. BFL lists 19.6 GB VRAM for its distilled 9B reference configuration, but advises planning around 24 GB for local use. These are different claims, not a universal minimum.

OFFICIAL MODEL FACTS

FLUX.2 Klein 9B specs: steps, image editing and VRAM.

MODEL / WEIGHTS

9B distilled

Four-step distilled checkpoint. Separate 9B Base weights are undistilled and intended for tuning.

INPUT → OUTPUT

Text + images → image

Generate images from prompts or edit with one or multiple visual references. BFL's Klein API guide describes up to four references.

BFL REFERENCE VRAM

19.6 GB

Provider's published table for distilled 9B; its 9B Base table lists 21.7 GB. Actual peak memory varies with encoders, offloading, precision and resolution.

REFERENCE LATENCY

~0.5s / ~2s

BFL reports roughly 0.5 seconds on GB200 and 2 seconds on RTX 5090 for distilled 9B. These are vendor configurations, not SXF-measured results.

LOCAL LICENSE

Non-commercial

Downloadable does not mean Apache 2.0 for 9B. Commercial use of self-hosted weights requires appropriate BFL rights.

HOSTED API

flux-2-klein-9b

Official request route: POST /v1/flux-2-klein-9b. Billed by image megapixels, not language-model input/output tokens.

SXF ORIGINAL COST ANALYSIS

FLUX.2 Klein 9B API pricing: cost per image and 1,000-image scenarios.

Black Forest Labs publishes three separate components for the hosted Klein 9B image API: $0.015 for the first billed output megapixel, $0.002 for each additional billed output megapixel, and $0.002 per billed reference-image input megapixel. A starting rate is not a flat price for every resolution or editing request. Verify the current rate on BFL's pricing page.

SXF cost model

Estimated API charge = $0.015 + ($0.002 × additional billed output MP) + ($0.002 × billed reference input MP), for an output containing at least one billed MP.

Arithmetic derived by SXF from BFL's published rate components. Billed MP values—not raw pixel counts—are used below. Excludes retries, taxes, storage, engineering and third-party platform fees.
SXF illustrative FLUX.2 Klein 9B hosted API cost scenarios, USD
ScenarioBilled output MPReference input MPPer image1,000 images
Small text-to-image10$0.015$15
Larger text-to-image20$0.017$17
Four-MP output40$0.021$21
2-MP edited output, two 1-MP references22$0.021$21

Practical conclusion: the difference between a $0.015 and $0.021 request is modest per image but becomes meaningful at scale. Measure cost per approved image, not simply cost per generation: if a workflow needs two attempts on average, its generation-only expense doubles. Reference images may be resized or billed differently depending on API rules; confirm the actual billed dimensions instead of assuming that a nominal 1024 × 1024 image is exactly one billable MP.

For the broader picture, compare SXF's model pricing directory, the FLUX.2 Pro model page and the FLUX.2 Max premium image model. Do not use the site's token-cost calculator for these per-image rates.

DEVELOPER QUICKSTART

How to use the FLUX.2 Klein 9B API.

Create a Black Forest Labs API key, send a text prompt to the flux-2-klein-9b endpoint, then follow the asynchronous result flow described in the official API documentation. A basic request has the following shape:

curl -X POST "https://api.bfl.ai/v1/flux-2-klein-9b" \
  -H "x-key: $BFL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"Studio product photograph of a ceramic mug on a neutral backdrop, soft side lighting","width":1024,"height":1024}'

The API key must stay on the server; never expose it in client-side JavaScript or a public repository. Confirm accepted dimensions, reference-image fields, status polling and delivery URLs in the live BFL API reference. An image-editing workflow adds an input image and an explicit instruction to retain or change named details; source-image size can affect cost.

Example editing prompt: “Replace the background with a bright kitchen, retain the mug's exact handle shape, logo and ceramic texture, and preserve its original viewing angle.” Evaluate logo accuracy and object preservation before accepting the result; prompt text cannot guarantee pixel-perfect consistency.

LOCAL INSTALLATION

FLUX.2 Klein 9B in ComfyUI: weights, files and setup.

For local ComfyUI use, update ComfyUI, obtain the licensed 9B checkpoint from BFL's Hugging Face model repository, accept the repository's access terms and follow ComfyUI's FLUX.2 Klein workflow tutorial. Choose the 9B workflow rather than accidentally mixing 4B text encoders and diffusion files.

Files identified in ComfyUI's official 9B workflow documentation
ComfyUI folderExample 9B fileRole
models/diffusion_models/flux-2-klein-9b-fp8.safetensorsFast distilled checkpoint
models/text_encoders/qwen_3_8b_fp8mixed.safetensors9B workflow text encoder
models/vae/flux2-vae.safetensorsImage encoder/decoder
  1. Start with the official FLUX.2 Klein 9B text-to-image workflow, and verify the file names against your ComfyUI version.
  2. Place model, encoder and VAE files in their documented folders; load the matching workflow and resolve any missing nodes.
  3. Generate a fixed prompt at one resolution with the distilled four-step configuration. Record peak VRAM and wall-clock latency on your own GPU.
  4. Load the 9B image-editing workflow separately and compare source preservation; do not treat the Base checkpoint as the same performance profile.

Can 9B run on 8 GB VRAM? Not as a documented standard full-GPU configuration. The manufacturer's reference table lists 19.6 GB for distilled 9B; support guidance suggests a ~24 GB GPU budget. Quantization, CPU offload and third-party workflows can change feasibility and speed, but should be treated as separate configurations, not guaranteed 8 GB support. If hardware is tight, investigate the 4B Apache-licensed variant or the newer FLUX 3 Image Klein local setup guide rather than conflating generations.

LEGAL / DEPLOYMENT CHOICE

Is FLUX.2 Klein 9B free for commercial use?

No—not merely because its weights are downloadable. Black Forest Labs makes the FLUX.2 Klein 9B local weights available under the FLUX Non-Commercial License. For commercial use of self-hosted 9B weights, obtain the proper BFL license. BFL says commercial rights are included when using its paid hosted API, subject to the applicable terms. By contrast, the Klein 4B weights use Apache 2.0. Read BFL's licensing explainer.

Before deploying, document whether you are calling the API or shipping weights, whether outputs enter client work or model training, and which license applies. Training on generated outputs may require separate synthetic-data rights. See the site's AI model licensing due-diligence guide for a broader verification checklist. This is an operational summary, not legal advice.

MODEL SELECTION

FLUX.2 Klein 9B vs 4B vs Pro vs Max: which should you choose?

Officially documented positioning and starting direct BFL API rates
ModelBest starting use caseFirst output MPLocal weights
FLUX.2 Klein 9BQuality-focused fast iteration; local experimentation with enough VRAM$0.015Yes; non-commercial license
FLUX.2 Klein 4BLower VRAM and latency; flexible self-hosting$0.014Yes; Apache 2.0
FLUX.2 ProHosted production image workflows$0.03Not a published Klein-weight release
FLUX.2 MaxPremium visual fidelity and complex compositions$0.07Hosted API

These are product-positioning and price comparisons, not an independent quality leaderboard. A fair comparison must fix prompts, output size, reference inputs and acceptance criteria. Read the focused FLUX.2 Pro vs Klein 9B comparison or the broader AI image-generator guide before selecting by headline price alone.

SXF REPRODUCIBLE EVALUATION METHOD

How SXF recommends testing Klein 9B quality, cost and latency.

We do not publish a fabricated SXF speed test, fidelity score or benchmark winner. Instead, this is an original six-task evaluation protocol a team can replay against Klein 9B, 4B and Pro to decide whether a lower per-image fee produces cheaper usable output:

  1. Prompt fidelity: produce a three-object studio scene with specified materials, positions and background; check every named constraint.
  2. Typography: render a short, fixed five-word sign; record exact spelling, punctuation and placement.
  3. Product consistency: edit a supplied product photo; score logo, geometry, color and texture preservation.
  4. Two-reference compositing: combine a product reference and a background reference without unintended identity changes.
  5. Latency: repeat each task at fixed output dimensions and capture end-to-end p50/p95 time, including any polling and downloads.
  6. Economics: retain failed generations and retries; compute total generation spend / accepted outputs instead of per-attempt price.

Record model/checkpoint version, seed where supported, hardware, precision, inference steps, input images, dimensions, prompt, acceptance rubric and all failures. Keep model-generated outputs and external reviewer judgments separate. Results from BFL's own hardware are vendor-reported reference measurements until independently reproduced. This protocol is guidance, not a claim that SXF has already executed the benchmark.

COMMON QUESTIONS

FLUX.2 Klein 9B FAQ: API, ComfyUI, GPU and license.

How much does FLUX.2 Klein 9B cost per image?

Direct BFL API billing starts at $0.015 for the first billed output megapixel; further output MP and reference-image input MP cost $0.002 each at the published rate. The full price varies by billed image dimensions.

What is the FLUX.2 Klein 9B API endpoint?

Use POST https://api.bfl.ai/v1/flux-2-klein-9b and authenticate with an x-key API key header. Consult the official API documentation for request parameters and asynchronous result handling.

Does FLUX.2 Klein 9B work in ComfyUI?

Yes. ComfyUI publishes dedicated FLUX.2 Klein 9B text-to-image and image-editing workflows and lists the matching diffusion, Qwen3 8B text-encoder and VAE files.

How much VRAM does Klein 9B need?

BFL's distilled model table lists 19.6 GB in its reference configuration and its local-use support guidance suggests around 24 GB. CPU offloading, quantization and workload configuration can alter requirements.

Is the 9B model open source and free for commercial use?

Its weights can be downloaded, but their license is FLUX Non-Commercial, not Apache 2.0. Commercial local deployment requires appropriate rights; BFL's hosted API includes commercial usage rights under its terms.

What is the difference between Klein 9B and Klein 9B Base?

9B is the four-step distilled model for fast inference. 9B Base is the undistilled checkpoint designed for fine-tuning and greater control, with different speed and memory characteristics.

EVIDENCE AND LIMITS

Primary sources and verification boundaries.

This SXF editorial explanation uses published BFL pricing, licensing, model and weights documentation, plus ComfyUI's own workflow instructions. Price examples are SXF calculations, not invoices or measured workloads. No synthetic image-quality ranking is presented. The catalog's October 12, 2026 baseline remains separate from this editorial update (November 7, 2026).

CAVEATS

What the source record does not assume.

01

Official BFL API endpoint is POST /v1/flux-2-klein-9b. The model's weights are available with license terms; open weights do NOT imply unrestricted commercial usage.

02

BFL API published price: $0.015 for the first OUTPUT megapixel, +$0.002 for each additional output MP, +$0.002 per reference-image input MP. Displayed $0.015 is a STARTING first-MP rate.

03

Image pixels are rounded to billed megapixels; reference images and resolution can increase per-result charges. 4K and multi-image workflows require checking configuration caps.

04

Useful for low-latency imagery and on-premise experimentation; quality comparisons must use real prompts.

EXPLORE

Keep the model in context.

OFFICIAL SOURCES

Verification links.

WHAT CHANGED

FLUX.2 Klein 9B: what changed.

No post-baseline factual changes recorded for FLUX.2 Klein 9B since 2026-10-12.

HISTORICAL BASELINE2026-10-12Original ledger snapshot, not the latest source check. See Last verified above.

VERIFIED CHANGE HISTORY

FLUX.2 Klein 9B verified history.

Open ledger JSON ↗
BASELINE

FLUX.2 Klein 9B

Baseline verified: context not published · Not published max output · $0.015 per first output MP (additional/reference MP extra)

Official evidence ↗

Append-only SXF ledger · 1 verified event · chain head 744b2a3d12d1…

COMPARE FLUX.2 KLEIN 9B

Put this model in context.

Open Compare Engine ↗