SAVRN
Search Contact SAVRN

Open-weight model · Image to image

FLUX.2-small-decoder

by Black Forest Labs black-forest-labs/FLUX.2-small-decoder

FLUX.2 Small Decoder is a distilled VAE decoder that serves as a drop-in replacement for the standard FLUX.2 decoder. It delivers faster decoding and lower VRAM usage with minimal to zero quality loss. The encoder remains unchanged. 1.

Parameters62M
Context
Weights610.8 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads218.2k

Runs On

What it takes to serve FLUX.2-small-decoder (62M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Black Forest Labs, published under apache-2.0, revision a3efc24f613e.

FLUX.2 Small Decoder is a distilled VAE decoder that serves as a drop-in replacement for the standard FLUX.2 decoder. It delivers faster decoding and lower VRAM usage with minimal to zero quality loss. The encoder remains unchanged. 1. ~1.4x faster decoding compared to the full decoder. 2. ~1.4x less VRAM at decode time, enabling higher resolutions without running out of memory. 3. ~28M decoder parameters (vs ~50M in the full decoder) thanks to narrower channel widths ([96, 192, 384, 384] vs [128, 256, 512, 512]). 4. Minimal quality loss — images are almost identical. 5. Available under the Apache 2.0 license. Compatible with all open FLUX.2 models: - This model is not intended or able to…

Read Black Forest Labs's full model card

FLUX.2 Small Decoder is a distilled VAE decoder that serves as a drop-in replacement for the standard FLUX.2 decoder. It delivers faster decoding and lower VRAM usage with minimal to zero quality loss. The encoder remains unchanged.

Key Features

  1. ~1.4x faster decoding compared to the full decoder.
  2. ~1.4x less VRAM at decode time, enabling higher resolutions without running out of memory.
  3. ~28M decoder parameters (vs ~50M in the full decoder) thanks to narrower channel widths ([96, 192, 384, 384] vs [128, 256, 512, 512]).
  4. Minimal quality loss — images are almost identical.
  5. Available under the Apache 2.0 license.

Compatible with all open FLUX.2 models: - FLUX.2-klein-4B - FLUX.2-klein-9B - FLUX.2-klein-9b-kv - FLUX.2-dev

Comparison

Full Decoder Small Decoder

Usage

pip install git+https://github.com/huggingface/diffusers.git
import torch
from diffusers import Flux2KleinPipeline, AutoencoderKLFlux2

device = "cuda"
dtype = torch.bfloat16

vae = AutoencoderKLFlux2.from_pretrained("black-forest-labs/FLUX.2-small-decoder", torch_dtype=dtype)
pipe = Flux2KleinPipeline.from_pretrained("black-forest-labs/FLUX.2-klein-4B", vae=vae, torch_dtype=dtype)
pipe.enable_model_cpu_offload()

prompt = "A black cat holding a sign that says 'hello world' in typewriter font"
image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    guidance_scale=1.0,
    num_inference_steps=4,
    generator=torch.Generator(device=device).manual_seed(0)
).images[0]
image.save("flux-klein-small-decoder.png")

Limitations

  • This model is not intended or able to provide factual information.
  • While the model can output text, text rendered may be inaccurate or subject to distortion.
  • As a statistical model, this checkpoint may represent or amplify biases observed in the training data.
  • The model may fail to generate output that matches the prompts.
  • Prompt following is heavily influenced by the prompting style.

Out-of-Scope Use

This model and its derivatives may not be used outside the scope of the license, including for unlawful, fraudulent, defamatory, abusive, or otherwise violative purposes as further explained in our Usage Policies.


Responsible AI Development

Black Forest Labs is committed to responsible model development and deployment. Prior to releasing FLUX.2 [klein] 9B-KV, we evaluated and mitigated a number of risks, including child sexual abuse material (CSAM) and nonconsensual intimate imagery (NCII). For detailed information about our mitigations, evaluation processes, content provenance features, and policies, please see our post: Capable, Open, and Safe: Combating AI Misuse.

To report safety concerns, contact [email protected].


License

This model is licensed under the https://www.apache.org/licenses/LICENSE-2.0.

Trademarks & IP

This project may contain trademarks or logos for projects, products, or services. Use of Black Forest Labs and FLUX trademarks or logos in modified versions of this project must not cause confusion or imply sponsorship or endorsement. Any use of third-party trademarks, intellectual property or logos are subject to those third-party's policies.

Identity and Version

Repository
black-forest-labs/FLUX.2-small-decoder
Publisher
Black Forest Labs
Task
Image to image
Modality
Image
Library
diffusers
Parameters
62M parameters
Languages
en
Revision
a3efc24f613ef42d9428af62fdbd6f5fd8856c4a
First published
2026-04-06
Last updated
2026-04-07

Files and Weights

10 files, 619.4 MB in total. The weights are 3 files totalling 610.8 MB in safetensors.

Weights3 files · 610.8 MB
Configuration1 file · 842 B
Documentation1 file · 3.9 KB
Other4 files · 8.5 MB
Repository1 file · 1.7 KB
Every file
FileTypeSizeSHA-256
diffusion_pytorch_model.safetensorsWeights249.5 MB d8d52ba03647
full_encoder_small_decoder.safetensorsWeights249.5 MB ea4273f02d1f
small_decoder.safetensorsWeights111.8 MB ad7833477475
config.jsonConfiguration842 B
README.mdDocumentation3.9 KB
compare_full_decoder.pngOther1.2 MB 188624cc1d06
compare_small_decoder.pngOther1.3 MB 3ceccc1bea55
comparison_panel.jpegOther3.5 MB ea01b25d80d3
editing.jpgOther2.5 MB 2912ca5a7cb9
.gitattributesRepository1.7 KB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
610.8 MB
Download from Black Forest Labs

Released by Black Forest Labs through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published610.8 MB
16-bit0.1 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About FLUX.2-small-decoder

How much GPU memory does FLUX.2-small-decoder need?

About 0.1 GB at 16-bit and 0 GB at 4-bit: the weights (62M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run FLUX.2-small-decoder on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use FLUX.2-small-decoder commercially?

Yes. FLUX.2-small-decoder is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Image to image

FLUX.2-klein-4B-GGUF

Unsloth AI

This is a GGUF quantized version of FLUX.2-klein-4B. unsloth/FLUX.2-klein-4B-GGUF uses Unsloth Dynamic 2.0 methodology for SOTA performance. - Important layers are upcasted to higher precision. - Uses tooling from ComfyUI-GGUF by city96. The FLUX.2 [klein] model family are our fastest image models to date. FLUX.2 [klein] unifies generation and editing in a single compact architecture, delivering state-of-the-art quality with end-to-end inference in as low as under a second. Built for applications that require real-time image generation without sacrificing quality, and runs on consumer hardware, with as little as 13GB VRAM. FLUX.2 [klein] 4B is a 4 billion parameter rectified flow…

Open weights apache-2.0 ggml

Model · Image to image

FLUX.2-klein-4b-fp8

Black Forest Labs

FLUX.2 [klein] 4B is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. For more information, please read our blog post. This repository holds an FP8 version of FLUX.2 [klein] 4B. The main repository of this model (full BF16 weights) can be found here. Limitations - This model is not intended or able to provide factual information. - While the model can output text, text rendered may be inaccurate or subject to distortion. - As a statistical model, this checkpoint may represent or amplify biases observed in the training data. - The model may fail to generate output that matches the prompts.…

Open weights apache-2.0 diffusion-single-file

A LoRA adapter for the Qwen-Image-Edit-2511 diffusion pipeline, enabling NSFW content generation and editing capabilities. The easiest way to use this LoRA is through the ScottzillaSystems Image Editor — select " MCNL-NSFW-v1" from the adapter dropdown. Use these concepts in your prompts to activate specific capabilities: nsfw nipples vagina penis missionary cowgirlout reversecowgirlpov blowjob cumonface creamp1e l1ck

Open weights openrail++ diffusers

FLUX.2 [klein] 4B Base is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. For more information, please read our blog post. This repository holds an FP8 version of FLUX.2 [klein] 4B Base. The main repository of this model (full BF16 weights) can be found here. Limitations - This model is not intended or able to provide factual information. - While the model can output text, text rendered may be inaccurate or subject to distortion. - As a statistical model, this checkpoint may represent or amplify biases observed in the training data. - The model may fail to generate output that matches the…

Open weights apache-2.0 diffusion-single-file

Model · Image to image

FLUX.2-klein-4B

Black Forest Labs

The FLUX.2 [klein] model family are our fastest image models to date. FLUX.2 [klein] unifies generation and editing in a single compact architecture, delivering state-of-the-art quality with end-to-end inference in as low as under a second. Built for applications that require real-time image generation without sacrificing quality, and runs on consumer hardware, with as little as 13GB VRAM. FLUX.2 [klein] 4B is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. Fully open under Apache 2.0. Our most accessible model runs on consumer GPUs like the RTX 3090/4070. Compact but capable: supports…

Open weights apache-2.0 3.9B parameters diffusers

Model · Image to image

FLUX.2-klein-base-4B

Black Forest Labs

The FLUX.2 [klein] model family are our fastest image models to date. FLUX.2 [klein] unifies generation and editing in a single compact architecture, delivering state-of-the-art quality with end-to-end inference in as low as under a second. Built for applications that require real-time image generation without sacrificing quality, and runs on consumer hardware, with as little as 13GB VRAM. FLUX.2 [klein] 4B Base is a 4 billion parameter rectified flow transformer capable of generating images from text descriptions and supports multi-reference editing capabilities. It's a full-capacity foundation model. Undistilled, preserving complete training signal for maximum flexibility. Ideal for…

Open weights apache-2.0 3.9B parameters diffusers