Quick Answer
As of November 2026, Black Forest Labs’ FLUX.2-klein-4B is the top pick for local use based on its smaller published weight footprint: 23.7 GB in BF16 versus 30.9 GB in F32 for Stability AI’s stable-diffusion-xl-refiner-1.0 [1][3]. The ranking is FLUX.2-klein-4B (Black Forest Labs), and stable-diffusion-xl-refiner-1.0 (Stability AI) [1][3].
Key Takeaways
- Choose Black Forest Labs’ black-forest-labs/FLUX.2-klein-4B for its smaller listed weight size: 23.7 GB in BF16 [3], versus 30.9 GB in F32 for Stability AI’s stabilityai/stable-diffusion-xl-refiner-1.0 [1]. Different storage formats limit what this comparison says about runtime memory.
- stabilityai/stable-diffusion-xl-refiner-1.0 retains the lower parameter count: 2.3B [1] versus 3.9B [3], giving it a lower estimated weight-storage requirement at equal precision.
- For stabilityai/stable-diffusion-xl-refiner-1.0, estimated 4-bit weight storage is 1.15 GB (2.3B parameters × 0.5 bytes) [1]. A weight-only estimate does not establish the GPU VRAM or system RAM required.
- For black-forest-labs/FLUX.2-klein-4B, estimated 4-bit weight storage is 1.95 GB (3.9B parameters × 0.5 bytes) [3]. A weight-only estimate does not establish the GPU VRAM or system RAM required.
- Licence choice differs: stabilityai/stable-diffusion-xl-refiner-1.0 lists openrail++ [1]; black-forest-labs/FLUX.2-klein-4B lists Apache-2.0 [3]. Review the applicable terms before deployment.
How do stable-diffusion-xl-refiner-1.0 and FLUX.2-klein-4B compare?
| Model | Organization | Parameters | VRAM at 4-bit (estimated) | Context | License | Benchmark (date) |
|---|---|---|---|---|---|---|
| black-forest-labs/FLUX.2-klein-4B [3] | Black Forest Labs [3] | 3.9B [3] | 1.95 GB estimated (params × 0.5 bytes; weights only, not total VRAM) [3] | — | Apache-2.0 [3] | — |
| stabilityai/stable-diffusion-xl-refiner-1.0 [1] | Stability AI [1] | 2.3B [1] | 1.15 GB estimated (params × 0.5 bytes; weights only, not total VRAM) [1] | — | openrail++ [1] | — |
Which model should you run locally?
1. FLUX.2-klein-4B
FLUX.2-klein-4B from Black Forest Labs was first published on Hugging Face on 2026-01-14.[3] Its listed specifications are 3.9B parameters, BF16 weights totaling 23.7 GB, and an Apache-2.0 licence.[3] The exact repository identifier is black-forest-labs/FLUX.2-klein-4B.[3] For a local deployment chosen on the listed weight footprint, FLUX.2-klein-4B is the better pick: its published weights occupy less space than the 30.9 GB F32 weights listed for Stability AI’s stable-diffusion-xl-refiner-1.0.[1][3]
The storage comparison needs a precision caveat. Black Forest Labs lists BF16 weights at 23.7 GB,[3] while Stability AI lists F32 weights at 30.9 GB.[1] Those figures describe packages at different precisions. They support choosing the smaller listed download, but they do not establish a like-for-like runtime memory advantage. Treat the published weight size as a storage planning figure, rather than a measurement of GPU memory consumption during image generation.
For quantized planning, FLUX.2-klein-4B has an estimated 4-bit parameter-weight payload of 1.95 GB, calculated as 3.9 billion parameters × 0.5 bytes per parameter.[3] That is an estimate, not a supplied checkpoint size or measured VRAM requirement. The calculation covers parameter storage only; it does not establish the memory needed to execute the model. Do not use that estimate alone to promise compatibility with a particular GPU.
Parameter count also needs careful interpretation. FLUX.2-klein-4B has 3.9B parameters,[3] compared with 2.3B for stable-diffusion-xl-refiner-1.0.[1] The smaller parameter count belongs to the refiner, while the smaller published weight package belongs to FLUX.2-klein-4B.[1][3] Neither comparison supplies an image-quality result or a generation-speed measurement. A context-length comparison would require additional specifications, so context does not provide a basis for choosing either model here.
For installation planning, record the repository identifier, weight size, precision and licence together. Keep the listed weight package separate from any estimate of the complete installation footprint: a package size alone does not establish that total. Another gotcha is treating an estimated quantized payload as an available download. The calculation does not identify a quantized checkpoint, installation flag or expected message from a successful first run. A practical deployment checklist needs those details verified separately.
Choose FLUX.2-klein-4B when the deciding requirement is the smaller listed weight package: 23.7 GB in BF16 versus 30.9 GB in F32.[1][3] Its publication date is also later: 2026-01-14 versus 2023-07-26.[1][3] The licences are Apache-2.0 and openrail++, respectively.[1][3] Those names identify the terms to review; they do not establish a permissions advantage here. The local recommendation rests on the published storage figures, with runtime memory and output quality still requiring separate validation.
2. stable-diffusion-xl-refiner-1.0
stable-diffusion-xl-refiner-1.0 from Stability AI is an image-synthesis model first published on Hugging Face on 2023-07-26 [1][2]. Its repository identifier is stabilityai/stable-diffusion-xl-refiner-1.0 [1]. The accompanying paper, “SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis,” was published on 2023-07-04 [2]. Those dates distinguish the paper’s publication from the repository’s arrival.
The model has 2.3 billion parameters, lists 30.9 GB of F32 weights, and carries the openrail++ licence [1]. Context length provides no deciding figure in this comparison: no context-window specification is established here. Assigning a value would add an unsupported specification rather than help an engineer choose a local model.
Parameter count gives the refiner a narrower, quantifiable advantage. Its 4-bit weight payload is approximately 1.15 GB, estimated as 2.3 billion parameters × 0.5 bytes [1]. Black Forest Labs’ FLUX.2-klein-4B has 3.9 billion parameters, giving approximately 1.95 GB under the same 4-bit estimate: parameters × 0.5 bytes [3]. Both calculations describe estimated parameter storage, not measured runtime VRAM.
The listed weight files point in the opposite direction. The refiner’s 30.9 GB of F32 weights [1] exceed the competitor’s 23.7 GB of BF16 weights [3]. For a recommendation based specifically on the listed weight-file footprint, the figures favour black-forest-labs/FLUX.2-klein-4B [1][3]. Different storage precisions prevent treating those sizes as a comparison at equal precision, and neither file size establishes whether a complete workload fits a particular GPU.
Licence choice also needs a precise boundary. The refiner uses openrail++ [1], while the competitor uses Apache-2.0 [3]. Those names identify the licences; they do not establish a relative advantage in commercial permissions, redistribution rights or permitted uses within this comparison. A licence-based preference requires assessing the applicable terms against the intended deployment.
The refiner remains a candidate when lower parameter count and lower estimated quantized parameter storage drive the decision [1][3]. Those advantages justify considering it, but do not establish lower total runtime memory. A task-fit or image-quality advantage is not established here, so the recommendation remains conditional: consider the refiner for its parameter-storage estimate; favour the competitor when choosing by the listed weight-file footprint [1][3].
What hardware do you need for either model?
Stability AI’s stabilityai/stable-diffusion-xl-refiner-1.0 has 2.3 billion parameters [1]. Its estimated weight memory is 1.15 GB at 4-bit, calculated as parameters × 0.5 bytes [1], or 2.3 GB at 8-bit, calculated as parameters × 1 byte [1]. Those are weight-only estimates, not measured GPU VRAM requirements. Use them to compare weight storage; do not treat them as minimum GPU capacities for running the model.
Black Forest Labs’ black-forest-labs/FLUX.2-klein-4B has 3.9 billion parameters [3]. Its estimated weight memory is 1.95 GB at 4-bit, calculated as parameters × 0.5 bytes [3], or 3.9 GB at 8-bit, calculated as parameters × 1 byte [3]. The same limitation applies: parameter-based arithmetic does not establish total runtime memory or demonstrate that a particular GPU can complete image generation.
For disk storage, the listed F32 weights for the Stability AI model occupy 30.9 GB [1], while the listed BF16 weights for the Black Forest Labs model occupy 23.7 GB [3]. Those file sizes use different precisions and should not be substituted for GPU memory requirements. The Stability AI model has lower estimated weight memory at either quantization level [1][3], making it the candidate to evaluate for smaller GPUs. Actual fit requires runtime memory measurements; the supplied figures establish no minimum GPU capacity.
Frequently Asked Questions
Which model is better for running locally?
For a choice based on listed weight-file size, choose Black Forest Labs’ black-forest-labs/FLUX.2-klein-4B: 23.7 GB in BF16 [3], versus 30.9 GB in F32 for Stability AI’s stabilityai/stable-diffusion-xl-refiner-1.0 [1]. Different precisions limit that comparison: the figures describe the listed weights, not equivalent configurations or total runtime memory. The weight-file advantage supports that specific choice, but does not establish a winner for image quality, generation speed or GPU fit.
How much VRAM do I need?
A measured VRAM requirement is not established for either model. The 2.3B parameters of stabilityai/stable-diffusion-xl-refiner-1.0 [1] imply estimated 4-bit weights of 1.15 GB (params × 0.5 bytes) [1]. The 3.9B parameters of black-forest-labs/FLUX.2-klein-4B [3] imply estimated 4-bit weights of 1.95 GB (params × 0.5 bytes) [3]. Those are weight-only arithmetic estimates, not total VRAM requirements, tested configurations or confirmation that either repository supplies quantized weights. Neither estimate establishes GPU fit.
What are the licences, and can I use either model commercially?
stabilityai/stable-diffusion-xl-refiner-1.0 lists openrail++ [1], while black-forest-labs/FLUX.2-klein-4B lists Apache-2.0 [3]. Commercial-use permission for your intended deployment is not established by those labels alone. Review the applicable licence text against your intended use, modification and distribution plans before deploying. A comparison of the licence names does not establish that either model clears your commercial requirements or that either licence imposes fewer conditions.
Can either model run on a CPU?
CPU execution support and practical performance remain unestablished for both models. stabilityai/stable-diffusion-xl-refiner-1.0 has 2.3B parameters [1], while black-forest-labs/FLUX.2-klein-4B has 3.9B [3]; parameter counts alone do not establish CPU compatibility, memory requirements or generation time. Before choosing for a CPU deployment, verify support in your intended runtime and obtain measurements on the target hardware. Neither model has a justified CPU recommendation on these figures.
Which model costs less to run locally?
A cost winner is not established. stabilityai/stable-diffusion-xl-refiner-1.0 lists 30.9 GB of F32 weights [1], compared with 23.7 GB of BF16 weights for black-forest-labs/FLUX.2-klein-4B [3]. Those figures support a comparison of listed weight-file sizes, not purchase prices or operating costs. Budget decisions still need verified acquisition terms, suitable hardware and measured resource use for your workload. Neither a free-download claim nor an electricity-cost estimate follows from the listed figures.
Can I switch models later without rebuilding my setup?
A later switch needs compatibility and hardware checks; a drop-in migration is not established. Moving from stabilityai/stable-diffusion-xl-refiner-1.0 to black-forest-labs/FLUX.2-klein-4B changes the listed weights from 30.9 GB in F32 [1] to 23.7 GB in BF16 [3], and the licence from openrail++ [1] to Apache-2.0 [3]. Those differences do not establish shared runtime support or interchangeable workflows. Verify the destination model’s requirements before committing your existing setup to the switch.
Sources
- stabilityai/stable-diffusion-xl-refiner-1.0 model card (Hugging Face) — 2026-11-11 · stable-diffusion-xl-refiner-1.0 on Q4KM
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis — 2023-07-04
- black-forest-labs/FLUX.2-klein-4B model card (Hugging Face) — 2026-11-12 · FLUX.2-klein-4B on Q4KM