What GPU do I need to run black-forest-labs/FLUX.1-dev?
A 12B-parameter rectified-flow transformer for text-to-image generation. 11.9B parameters, published in BF16. View on Hugging FaceGated
FLUX.1-dev is published by black-forest-labs on Hugging Face, with 740,220 downloads and 14,360 likes to date. It's a unlisted-architecture model built for text-to-image, published natively in BF16, and gated: you'll need to accept the model's terms on Hugging Face before downloading weights.
What FLUX.1 [dev] is
FLUX.1 [dev] is Black Forest Labs' 12-billion-parameter rectified-flow transformer for generating images from text prompts. Its card describes it as their highest-quality openly downloadable model, one step below their closed FLUX.1 [pro], with prompt-following the developers say matches closed alternatives.
License note: the weights carry non-commercial terms; the card states generated outputs may be used personally, scientifically or commercially under that license, but the repo is gated on Hugging Face and the license itself is worth reading before commercial use. Facts in this section are sourced from FLUX.1 [dev]'s Hugging Face model card, not benchmarked by Aquanode.
What it's used for
- Text-to-image generation
- Prompt-following / creative asset generation
- ComfyUI workflows
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision, plus a fixed overhead for activation memory and allocator fragmentation. Diffusion and video models carry no KV-cache. The real driver of extra memory is output resolution and frame count, which this flat overhead does not model. Full formula and assumptions: methodology.
| Precision | Weight size | Required VRAM | Cheapest live fit | GPUs needed | Est. $/hr (full fit) |
|---|---|---|---|---|---|
| BF16 | 22.2 GB | 26.6 GB | RTX 4080 Super | 1 | $0.338/hr |
| cheaper alt. | RTX 5060 Ti | 2 | $0.220/hr | ||
| FP8 (quantized) | 11.1 GB | 13.3 GB | RTX 5060 Ti | 1 | $0.110/hr |
| INT4 (quantized) | 5.5 GB | 6.7 GB | RTX 5060 Ti | 1 | $0.110/hr |
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run FLUX.1-dev at its published (BF16) precision: 1× RTX 4080 Super, at $0.338/hr per GPU ($0.338/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
FLUX.1-dev: common questions
Does FLUX.1-dev fit on a 32 GB GPU?
Yes. At BF16 it needs 26.6 GB of VRAM, so a 32 GB card holds it with 5.4 GB to spare. A 24 GB card is not enough for it at BF16.
Do I need approval to download FLUX.1-dev?
Yes. black-forest-labs gates this repository on Hugging Face, so you have to accept its terms with a signed-in account before the weights will download. It does not change the 26.6 GB the model needs once you have them.
What is the least VRAM FLUX.1-dev can run in?
6.7 GB, at INT4 (quantized), which fits an 8 GB card, against 26.6 GB at BF16. That row assumes an INT4 checkpoint has actually been published for this model, so check its Hugging Face page before planning around it.
Does quantizing FLUX.1-dev lower the GPU bill?
Yes. At BF16 the cheapest live fit is one RTX 4080 Super at $0.338/hr. At FP8 (quantized) it drops to one RTX 5060 Ti at $0.110/hr, provided a quantized checkpoint exists for it.
How to run FLUX.1 [dev]
Run FLUX.1 [dev] with Diffusers (Python)
Generic example using Hugging Face's diffusers library, not from the model's own docs.
from diffusers import DiffusionPipeline
import torch
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.to("cuda")
image = pipe("a description of the scene").images[0]
image.save("output.png")Run FLUX.1 [dev] with ComfyUI
Aquanode's ComfyUI template comes with ComfyUI preinstalled. Download black-forest-labs/FLUX.1-dev's checkpoint into the models folder and load it in a workflow; this is a real Aquanode template, but loading this specific checkpoint is a manual step, not a one-click deploy.
Deploy FLUX.1 [dev] on Aquanode
Aquanode has no one-click deploy template for FLUX.1 [dev]; it comes with ComfyUI preinstalled, so you only need to load the checkpoint, not install anything. Aquanode sells GPU pods billed per second, not a hosted inference API.
- Launch the ComfyUI template sized to the requirement above (1× RTX 4080 Super or larger).
- Open a terminal on the pod, or save one of the commands above as a startup script so it runs automatically the first time the pod boots.
- Run the command and connect to the resulting endpoint.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More FLUX.1 models
- FLUX.1-Kontext-dev (11.9B, BF16)
- FLUX.1-Krea-dev (11.9B, BF16)
- FLUX.1-schnell (11.9B, BF16)
- FLUX.1-Turbo-Alpha (347M, BF16)
Related reading: H100 pricing and specs, The best GPUs for AI, ranked, and Best GPU for LLM inference.