black-forest-labs · image

FLUX.1-Fill-dev

black-forest-labs/FLUX.1-Fill-dev

FLUX.1-Fill-dev at Q2_K is exactly 4,155,810,976 bytes (3.87 GiB / 4.16 GB) — an effective 2.793 bits per weight, not the nominal 2.

From the file· summed from 1 file(s)
Parameters
11.9B
Architecture
flux
Context
native (config.json)
License
other

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K3.87 GiB4,155,810,9762.793gaianet
Q2_K3.87 GiB4,155,810,9762.793second-state
Q3_K_S4.88 GiB5,238,187,2963.521YarvixPA
Q3_K4.99 GiB5,357,724,8323.601second-state
Q3_K4.99 GiB5,357,724,8323.601gaianet
Q4_K_S6.34 GiB6,809,920,8004.577YarvixPA
Q4_06.34 GiB6,809,920,8004.577780YarvixPA
Q4_06.45 GiB6,929,458,3364.657second-state
Q4_06.45 GiB6,929,458,3364.657780gaianet
Q4_K6.45 GiB6,929,458,3364.657gaianet
Q4_K6.45 GiB6,929,458,3364.657second-state
Q4_17.03 GiB7,549,560,0965.074YarvixPA
Q4_17.14 GiB7,669,097,6325.155gaianet
Q4_17.14 GiB7,669,097,6325.155second-state
Q5_K_S7.72 GiB8,289,199,3925.572YarvixPA
Q5_07.72 GiB8,289,199,3925.572YarvixPA
Q5_07.83 GiB8,408,736,9285.652second-state
Q5_07.83 GiB8,408,736,9285.652gaianet
Q5_18.41 GiB9,028,838,6886.069YarvixPA
Q5_18.52 GiB9,148,376,2246.149second-state
Q5_18.52 GiB9,148,376,2246.149gaianet
Q6_K9.18 GiB9,860,932,8966.628780YarvixPA
Q8_011.85 GiB12,727,035,1688.554780YarvixPA
Q8_011.96 GiB12,846,572,7048.635780second-state
Q8_02 shards12.28 GiB13,181,810,9128.860gaianet

Pipeline components

a diffusion model is a graph of parts, not one file
ComponentSizeShareCan live on the CPU?
text encoder 28.87 GiB28%yes — the usual first VRAM saving
vae0.31 GiB1%no, must be resident
text encoder0.23 GiB1%yes — the usual first VRAM saving
denoiser22.48 GiB70%no, must be resident
Full pipeline31.89 GiBresident if nothing is offloaded

The parameter count published for a diffusion model describes the denoiser alone. Running it also requires its text encoder and VAE, and the text encoder is often nearly as large as the denoiser — which is why offloading it is the standard first move when you run out of memory. This repository also ships a single-file copy of the denoiser at its root; we count it once, not twice.

We publish component sizes here, not throughput. Community-submitted image-generation rates do exist for many GPUs and we show them on the hardware pages, but they aggregate runs at different resolutions, step counts and settings, so they cannot be attributed to one model. Peak memory during sampling is unmeasured by any public source, and we do not estimate it.

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q2_K at roughly 6.24 GiB. The real file is 3.87 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

Architecture unavailable — this repository is gated and no ungated mirror was found. Exact file sizes above are still authoritative; only the KV math needs the config.

Questions people ask

How much VRAM does FLUX.1-Fill-dev need?
Q2_K is exactly 4,155,810,976 bytes (3.87 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Which quantization of FLUX.1-Fill-dev should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.