Skip to content

How much VRAM does FLUX.1 [dev] need?

FLUX.1 [dev] needs about 12.5 GB at 8-bit, or 7.7 GB as a 4-bit GGUF, at its default output size.

Type
Image model
Parameters
11.9B
Text encoder
CLIP ViT-L/14 + T5-XXL
Released
Aug 2024
License
FLUX.1 [dev] Non-Commercial License

Memory at each precision

Memory FLUX.1 [dev] needs at each precision
PrecisionWeightsPeak at 1024 × 1024
16-bit BF1622.2 GB23.2 GB
8-bit FP8 · Q8_011.5 GB12.5 GB
6-bit GGUF Q6_K9.1 GB10.2 GB
5-bit GGUF Q5_K_M7.9 GB8.9 GB
4-bit GGUF Q4_K_M · NVFP46.6 GB7.7 GB

The CLIP ViT-L/14 + T5-XXL text encoder (4.5 GB at FP8) runs first and then waits in system RAM.

What runs it

How FLUX.1 [dev] runs on common GPUs, Macs and AI boxes
MachineBest fitPer image
RTX 3060 12 GB6-bit82 s
RTX 4060 Ti 16 GB8-bit41 s
RTX 309016-bit26 s
RTX 409016-bit12 s
RTX 509016-bit9.5 s
RTX PRO 6000 Blackwell16-bit4.6 s
M4 Max 128 GB16-bit2.0 min
M5 Max 128 GB16-bit35 s
Ryzen AI Max+ 395 128 GB16-bit53 s
DGX Spark 128 GB16-bit30 s
M3 Ultra 256 GB16-bit66 s
M5 Ultra 512 GB16-bit21 s
H100 SXM16-bit2.8 s
DGX Station GB30016-bit1.7 s

1024 × 1024, 20 steps. Times are rough, plus or minus 30%.

Where to get it

Questions

How much VRAM does FLUX.1 [dev] need?

FLUX.1 [dev] needs about 12.5 GB at 8-bit, or 7.7 GB as a 4-bit GGUF, at its default output size.

Can FLUX.1 [dev] run on an RTX 4090?

Yes. At 16-bit it takes about 12 s per image.

More models