FLUX.2 [dev]
Hugging Face (open weights) Open weights
The catch: Non-commercial weights (production use needs a paid BFL licence), gated download, and 32B parameters needs a large GPU.
| Access | Open weights |
|---|---|
| Free limits | Free to download and self-host; you pay only for your own compute. 32B rectified-flow transformer for generating, editing and combining images from text. Gated download; non-commercial licence. |
| Modality | image |
| Credit card | Not required |
| Commercial use | Not allowed |
| Trains on your data | – |
| Licence or terms | FLUX Non-Commercial License v2.1 |
| Context window | – |
| Model id | black-forest-labs/FLUX.2-dev |
| Base URL | – |
| Last checked | 8 Oct 2026 |
How to use FLUX.2 [dev]
Download the weights and serve them yourself; the quickstart below shows one way. Licence: FLUX Non-Commercial License v2.1.
Quickstart
pip install -U diffusers && python -c "import torch; from diffusers import Flux2Pipeline; Flux2Pipeline.from_pretrained('black-forest-labs/FLUX.2-dev', torch_dtype=torch.bfloat16).to('cuda')(prompt='a red fox', num_inference_steps=50, guidance_scale=4).images[0].save('out.png')"Paste into Claude Code
I want to run the open-weight model "FLUX.2 [dev]" (black-forest-labs/FLUX.2-dev) 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
- Non-commercial weights (production use needs a paid BFL licence), gated download, and 32B parameters needs a large GPU.
- FLUX Non-Commercial License v2.1 (LICENSE.md, click-through on the HF repo): weights are for non-commercial and non-production use only; commercial use needs a separate licence from Black Forest Labs. Outputs may be…
- Free to run means you pay for the GPUs, the serving stack and the on-call.
Questions
Is FLUX.2 [dev] 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 [dev] 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 [dev]?
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-dev, checked 8 Oct 2026.