Skip to content

FLUX.2 [klein] 9B

Hugging Face (open weights) Open weights

The catch: Unlike the Apache-licensed 4B version, the 9B weights are non-commercial only, and the download is gated.

AccessOpen weights
Free limitsFree to download and self-host; you pay only for your own compute. 9B distilled model for text-to-image and multi-reference editing in about 4 steps (sub-second on fast GPUs). Gated download; non-commercial. The 4B version (already listed) is Apache 2.0.
Modalityimage
Credit cardNot required
Commercial useNot allowed
Trains on your data–
Licence or termsFLUX Non-Commercial License v2.1
Context window–
Model idblack-forest-labs/FLUX.2-klein-9B
Base URL–
Last checked8 Oct 2026

How to use FLUX.2 [klein] 9B

Download the weights and serve them yourself; the quickstart below shows one way. Licence: FLUX Non-Commercial License v2.1.

Quickstart
pip install git+https://github.com/huggingface/diffusers.git && python -c "import torch; from diffusers import Flux2KleinPipeline; Flux2KleinPipeline.from_pretrained('black-forest-labs/FLUX.2-klein-9B', torch_dtype=torch.bfloat16).to('cuda')(prompt='a red fox', height=1024, width=1024, guidance_scale=1.0, num_inference_steps=4).images[0].save('out.png')"
Paste into Claude Code
I want to run the open-weight model "FLUX.2 [klein] 9B" (black-forest-labs/FLUX.2-klein-9B) for my project.
Please:
1. Check the model card and tell me the hardware it needs and the simplest way to serve it (vLLM, SGLang, Ollama or a hosted endpoint).
2. Give me a minimal working setup and a test request.
3. Tell me the licence terms for commercial use.
4. If a cheaper or smaller variant would do the job, mention it.

Before you ship on it

  • Unlike the Apache-licensed 4B version, the 9B weights are non-commercial only, and the download is gated.
  • FLUX Non-Commercial License v2.1 (LICENSE.md on the HF repo): non-commercial and non-production use only; outputs may be used commercially but not to train a competing model. The card lists it as available for…
  • Free to run means you pay for the GPUs, the serving stack and the on-call.

Questions

Is FLUX.2 [klein] 9B free?

Yes. Open weights offers it as open weights, with these limits: Self-host free · non-commercial licence. No credit card is needed.

Can I use FLUX.2 [klein] 9B commercially?

No: the free access is for testing or non-commercial use. A paid plan is needed for production.

How do I start with FLUX.2 [klein] 9B?

Download the weights and serve them yourself; the quickstart below shows one way. Licence: FLUX Non-Commercial License v2.1.

Source: huggingface.co/black-forest-labs/FLUX.2-klein-9B, checked 8 Oct 2026.