Model reference · open weights
FLUX.1-dev is an open-weight image model from Black Forest Labs. FLUX.1-dev-GGUF (GGUF) weighs 6.9 GB; the smallest configuration that runs it is RTX 4060 Ti 16 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
AxForge offerings: FLUX.1 [dev]
Summary of the black-forest-labs/FLUX.1-dev model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | Black Forest Labs |
|---|---|
| Released | 2024-07-31 |
| Parameters | 11.9B |
| VRAM | 6.9 GB for the weights |
What it runs on
| Card | One image | Memory |
|---|---|---|
| RTX 3060 12 GB | does not fit | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| FLUX.1-dev ↗ | 11.9B | BF16 | 33.7 GB | RTX 5090 32 GB |
| FLUX.1-dev-FP8 ↗ the transformer alone, to use with the text encoders and VAE |
FP8 | 12.3 GB | RTX 4090 24 GB | |
| FLUX.1-dev-NVFP4 ↗ the transformer alone, to use with the text encoders and VAE |
NVFP4 | 9.2 GB | RTX 4060 Ti 16 GB | |
| FLUX.1-dev-GGUF (above) ↗ packaged by unsloth 15 builds: Q2_K 4.0 GB … F16 23.8 GB the transformer alone, to use with the text encoders and VAE |
GGUF | 6.9 GB | RTX 4060 Ti 16 GB | |
| FLUX.1-dev ↗ packaged by unsloth |
11.9B | BF16 | 33.7 GB | RTX 5090 32 GB |
From the model card
FLUX.1 [dev] is a 12 billion parameter rectified flow transformer capable of generating images from text descriptions.
For more information, please read our blog post.
FLUX.1 [pro].FLUX.1 [dev] more efficient.FLUX.1 [dev] Non-Commercial License.We provide a reference implementation of FLUX.1 [dev], as well as sampling code, in a dedicated github repository.
Developers and creatives looking to build on top of FLUX.1 [dev] are encouraged to use this as a starting point.
The FLUX.1 models are also available via API from the following sources
FLUX.1 [pro])FLUX.1 [dev] is also available in Comfy UI for local inference with a node-based workflow.
To use FLUX.1 [dev] with the 🧨 diffusers python library, first install or upgrade diffusers
pip install -U diffusers
Then you can use FluxPipeline to run the model
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.enable_model_cpu_offload() #save some VRAM by offloading the model to CPU. Remove this if you have enough GPU power
prompt = "A cat holding a sign that says hello world"
image = pipe(
prompt,
height=1024,
width=1024,
guidance_scale=3.5,
num_inference_steps=50,
max_sequence_length=512,
generator=torch.Generator("cpu").manual_seed(0)
).images[0]
image.save("flux-dev.png")
To learn more check out the diffusers documentation
The model and its derivatives may not be used
This model falls under the FLUX.1 [dev] Non-Commercial License.
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Running it yourself
Rent a machine by the hour. ComfyUI is installed on it. Open ComfyUI through the tunnel, then Templates → Flux.1 Dev: Text to Image: it loads ComfyUI's own build of this model, the files above.
# on your rented machine (the ssh line is on its page in the console)
# get REPO FILE FOLDER: one file into /workspace/models/FOLDER, where ComfyUI loads it from
get() { hf download "$1" "$2" --local-dir /workspace/hf-files && mkdir -p "/workspace/models/$3" && mv "/workspace/hf-files/$2" "/workspace/models/$3/$4"; }
# the files of the template “Flux.1 Dev: Text to Image” (31.8 GB)
get Comfy-Org/Lumina_Image_2.0_Repackaged split_files/vae/ae.safetensors vae
get Comfy-Org/flux1-dev flux1-dev.safetensors diffusion_models
get comfyanonymous/flux_text_encoders clip_l.safetensors text_encoders
get comfyanonymous/flux_text_encoders t5xxl_fp16.safetensors text_encoders
start-comfyui
# on your computer, in a second terminal: ComfyUI in your browser at http://localhost:8188
# HOST, PORT and BOOKING are your machine's, from its page in the console
ssh -o HostKeyAlias=axforge-BOOKING -o StrictHostKeyChecking=accept-new -L 8188:localhost:8188 dev@HOST -p PORT