Run FLUX 3 Image Klein Locally on Windows 11, Mac and Kali Linux: ComfyUI on 8 GB VRAM, Diffusers, Image Editing, Bounding Boxes and the License
FLUX 3 Image Klein is Black Forest Labs' new open-weights image model, released on October 15, 2026. It makes images from text, edits an image you give it, combines up to ten reference images into one, and places things exactly where you draw a box. You can run it locally on Windows 11, a Mac or Kali Linux today through ComfyUI, and the part that surprised us is the hardware bar: the int8 build runs on an NVIDIA card with 8 GB of VRAM, a used RTX 3070 class card, and the model is 5.6 billion parameters, 38% fewer than the FLUX.2 [klein] 9B it replaces, while scoring higher than it on Black Forest Labs' own tests. Two traps before you download: the ComfyUI files live in a separate repository from the model page, and ComfyUI only learned the model in version 0.41.0, released the same day, so an older install will not load it. This page covers the files and their sizes, the exact ComfyUI setup for each system, the Python route with Diffusers, image editing, bounding boxes, the license, and renting a GPU on AWS.
Ethan, a developer, has been making product photos for his friend Jake's phone repair shop: a phone on a clean background for the listings, a "screen repair from $79" poster for the window, a case with the shop's logo printed on it. Jake's PC has an RTX 4070 with 12 GB of VRAM, which until this week meant "small models only" for anything that could render readable text.
New to running AI on your own machine? Our plain-English series on running AI locally explains models, parameters and quantized files in about ten minutes. Every step on this page starts from zero, so you can follow it without that, too.
What FLUX 3 Image Klein is, in plain English
Black Forest Labs is the company behind the FLUX image models. "Klein" is German for small, and the Klein line is their family of models meant to run on your own computer rather than in their cloud. FLUX 3 Image Klein is the small member of the new FLUX 3 family. One model, a 5.6-billion-parameter transformer, does four jobs that used to need separate tools:
- Text to image, up to native 4K. Sides can be anything from 64 to 4,096 pixels, in steps of 16.
- Image editing: you give it a photo and describe the change, and the rest of the picture stays put.
- Multi-reference generation: up to ten reference images in one request, so "print the dog from the second image onto the mug in the first" works as a sentence.
- Bounding boxes: you draw rectangles, label them, and the model places each element inside its box, or confines an edit to that area.
It ships as two checkpoints. The base model is the one to fine-tune and train LoRAs on, and it generates in 50 steps with classifier-free guidance at 3.5. The distilled model is the same model taught to finish in 16 steps with no guidance, so it is roughly six times faster per image, and it is what you want for daily use. Alongside the bf16 weights there are FP8, INT8 and NVFP4 builds, made with NVIDIA, which is how a 5.6B model ends up fitting an 8 GB card.
Text goes in through a separate encoder, Qwen3-VL-4B, a 4-billion-parameter vision-language model, and there's an optional third model, the prompt upsampler, a 9B model fine-tuned from Qwen3.5-9B that turns "a red bicycle against a white wall" into the long, detailed caption the generator actually responds to. That is why the download is bigger than "5.6B" suggests, and why the memory section below counts three files, not one.
Jake: "So it's smaller than the old one and better than the old one? That's not how this normally goes."
Ethan: "On their own tests, yes: 91 Elo points ahead of FLUX.2 klein 9B on text to image and 70 on editing, with 38% fewer parameters. Their tests, so take the margins with salt. The hardware bar dropping is the part nobody disputes."
Will it run on my machine? The file and memory table
Here's the catch hiding in "5.6B". An image model is three models in a trench coat: the generator, the text encoder, and (optionally) the upsampler, plus a small autoencoder that turns the model's internal picture into pixels. All of them sit in memory while you generate. These are the files in the ComfyUI repository, with their real sizes:
File (in flux-3-image-klein-comfy) | What it is | Size | Goes in |
|---|---|---|---|
| flux3_image_klein_sd_int8_convrot.safetensors | Distilled generator, int8 (the 8 GB card pick) | 5.83 GB | models/diffusion_models |
| flux3_image_klein_sd_nvfp4.safetensors | Distilled generator, NVFP4 (RTX 50 series and newer) | 5.28 GB | models/diffusion_models |
| flux3_image_klein_sd_bf16.safetensors | Distilled generator, full precision | 11.1 GB | models/diffusion_models |
| flux3_image_klein_int8_convrot.safetensors | Base generator, int8 | 5.81 GB | models/diffusion_models |
| flux3_image_klein_bf16.safetensors | Base generator, full precision | 11.08 GB | models/diffusion_models |
| qwen3vl_4b_int8_convrot.safetensors | Text encoder, int8 | 4.86 GB | models/text_encoders |
| qwen3vl_4b_bf16.safetensors | Text encoder, full precision | 8.88 GB | models/text_encoders |
| qwen3.5_9b_flux3_prompt_upsampler_int8_convrot.safetensors | Prompt upsampler (optional) | 9.75 GB | models/text_encoders |
| flux2-vae.safetensors | Autoencoder (the same one FLUX.2 uses) | 0.34 GB | models/vae |
Those numbers decide your setup. The smallest working set is the int8 distilled generator, the int8 text encoder and the VAE: about 11 GB on disk, and ComfyUI loads and unloads them in turn, which is how the 8 GB figure works. The bf16 set is about 20 GB of weights, which Diffusers confirms from its side. Here is how that maps to real machines:
| Your machine | What to use | What to expect |
|---|---|---|
| NVIDIA 8 GB (RTX 3070, 4060, 3060 Ti) | int8 distilled generator + int8 text encoder, no upsampler | Runs. Black Forest Labs names the RTX 3070 class as the floor for the int8 files in ComfyUI. |
| NVIDIA 12 GB (RTX 4070, 3060 12 GB) | int8 distilled, int8 text encoder; add the upsampler if you have 32 GB of system RAM | Under 9 seconds for a 1-megapixel image on an RTX 4070 with the int8 distilled build, per Black Forest Labs' own timing. |
| NVIDIA 16-24 GB (RTX 4080, 4090, 3090) | bf16 distilled generator, bf16 text encoder | Full quality, room for the upsampler too. |
| RTX 5090 (32 GB) | NVFP4 or bf16, upsampler loaded | About 4 seconds per 1-megapixel image with the int8 distilled build. |
| Mac, Apple silicon, 32 GB unified memory or more | bf16 files in ComfyUI | Runs on the GPU through Metal. The int8 and NVFP4 files are NVIDIA builds; stay with bf16 on a Mac. Expect minutes, not seconds, on an M-series laptop. |
| Mac with 16 GB | bf16 distilled generator only, text encoder swapped in and out | Tight. ComfyUI will offload, but it leans on your SSD, so it's slow. |
| AMD GPU | bf16 files, ComfyUI's ROCm build on Linux, or the AMD portable on Windows | The int8 "convrot" and NVFP4 files are made for NVIDIA kernels; use bf16. |
| No GPU, 32 GB of RAM | bf16 distilled on the CPU | It works, slowly. Expect many minutes per image, so do your testing on a rented GPU instead (see the AWS section). |
One thing to keep straight: the reference code from Black Forest Labs, the GitHub repository with cli.py, is not the 8 GB path. Its own memory table shows 31 GB peak for the distilled model in bf16 on a B200, 26 GB with FP8, and it has no int8 path at all. It's built for data-center cards. For a desktop, ComfyUI or Diffusers is the route, and the rest of this page assumes that.
Jake: "My 4070 has 12 GB. Do I get the good files or the small files?"
Ethan: "The small files, and you won't feel cheated. int8 is what they benchmarked the RTX cards with. Keep the upsampler off until you've seen it work once; it's a 9.75 GB download on its own."
Download the files: the license gate and the separate ComfyUI repository
Every Black Forest Labs weight file on Hugging Face sits behind a license click. Until you've signed in to Hugging Face and accepted the FLUX Kommunity License on the model page, every download, in the browser or from the command line, returns "access to this model is restricted". So, in order:
- Create or sign in to a Hugging Face account.
- Open
huggingface.co/black-forest-labs/flux-3-image-klein-comfyand accept the license. Do the same onflux-3-image-klein(distilled) andflux-3-image-klein-baseif you plan to use Diffusers or train. - Create an access token under your Hugging Face settings (read permission is enough) and log in from the terminal with
hf auth login.
The repositories, so you grab the right one:
| Repository | Use it for | License |
|---|---|---|
| black-forest-labs/flux-3-image-klein-comfy | ComfyUI: single-file generators, text encoders and VAE in bf16, int8 and NVFP4 | FLUX Kommunity License |
| black-forest-labs/flux-3-image-klein | Diffusers and the reference code: the distilled model (16 steps) | FLUX Kommunity License |
| black-forest-labs/flux-3-image-klein-base | Diffusers and the reference code: the base model (50 steps), fine-tuning, LoRA | FLUX Kommunity License |
| black-forest-labs/flux-3-image-klein-pup | The prompt upsampler, standalone | Apache 2.0, not gated |
With the hf command from the huggingface_hub package (install it with pip install -U huggingface_hub), the 8 GB card set downloads straight into the ComfyUI folders:
cd ComfyUI
hf download black-forest-labs/flux-3-image-klein-comfy \
diffusion_models/flux3_image_klein_sd_int8_convrot.safetensors \
text_encoders/qwen3vl_4b_int8_convrot.safetensors \
vae/flux2-vae.safetensors \
--local-dir models
Because the repository's folder names match ComfyUI's, --local-dir models lands each file exactly where ComfyUI looks: models/diffusion_models, models/text_encoders and models/vae. If you'd rather click, open each file on the repository page and save it into those folders by hand; the names must match the table above exactly, because the templates refer to them by name.
The whole ComfyUI repository, every precision of every model, is around 60 GB, so download what your card needs, not the lot. If you get 401 or "gated" errors from hf download, you either skipped the license click on that particular repository or you're logged in as a different account than the one that accepted it; hf auth whoami tells you which.
Windows 11: ComfyUI setup, step by step
You have three ways to get ComfyUI on Windows, and only the version matters: it must be 0.41.0 or newer, because that is the release that added FLUX 3. Our ComfyUI install guide walks through all three in detail; here is the short form for this model.
Option A: the desktop app (recommended for most people)
Download the installer from comfy.org, run it, and let it update itself on first launch. Check Help → About, or the version shown in the settings panel, for 0.41.0 or newer. The desktop app keeps its models under the folder you picked at install time; look for a models folder there with diffusion_models, text_encoders and vae inside, and put the three files in those.
Option B: the portable build (NVIDIA)
Download ComfyUI_windows_portable_nvidia.7z from the GitHub releases page, extract it with 7-Zip or Explorer, and run run_nvidia_gpu.bat. The portable build ships with Python 3.13 and PyTorch for CUDA 13.0, which supports RTX 20 series cards and newer. Two Windows-specific traps: if extraction fails, right-click the archive, choose Properties and tick Unblock; and if the window closes immediately on start, update your NVIDIA driver, because the CUDA 13 build needs a recent one. Older cards, GTX 10 series and earlier, need the separate _cu126 portable instead.
Option C: manual install in a virtual environment
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
py -3.12 -m venv .venv
.venv\Scripts\activate
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
pip install -r requirements.txt
python main.py
Python 3.12 or 3.13 both work; 3.13 is the better-supported one for the core and 3.12 the safer one for custom nodes. Then open http://127.0.0.1:8188 in your browser.
Load the template and generate
In ComfyUI, open the template browser (the Workflow menu, then Browse Templates) and search for Flux.3. Four local templates are there: "Flux.3 Image Klein Distilled: Text to Image", "Flux.3 Image Klein: Text to Image" (the base model), and the two Image Edit variants. Pick the Distilled text-to-image one. The template is built from these nodes, and these are the values that matter if you ever rebuild it by hand:
| Node | Setting in the distilled template | What it does |
|---|---|---|
| Load Diffusion Model (UNETLoader) | flux3_image_klein_sd_int8_convrot.safetensors, weight dtype default | The generator |
| Load CLIP (CLIPLoader) | qwen3vl_4b_int8_convrot.safetensors, type flux3 | The text encoder. The type must be flux3, not flux2. |
| Load VAE | flux2-vae.safetensors | Pixels in and out |
| Empty Flux 2 Latent Image | 1024 × 1024 | Output size. Keep both sides multiples of 16. |
| KSampler | 15 steps, CFG 1, sampler er_sde, scheduler simple | The template's defaults; 4 to 16 steps all work, and euler is the other recommended sampler |
If a loader shows an empty dropdown or "value not in list", the file is in the wrong folder or has the wrong name; click Refresh in the top bar after moving it. If the CLIPLoader has no flux3 in its type list, your ComfyUI is older than 0.41.0: update it from the manager or by git pull and reinstalling requirements.
Type a prompt, press Run, and the first run takes longer than the rest because the weights are read from disk. With the int8 files on a 12 GB card, a 1-megapixel image should come back in well under half a minute after the first one. For a second CLIPLoader in the template pointing at the upsampler file: leave it unloaded until you've downloaded that 9.75 GB file, or bypass the node (select it and press Ctrl+B).
Jake: "I put the files in the models folder like it said and it still can't see them."
Ethan: "Not the models folder, the three subfolders inside it. diffusion_models, text_encoders, vae. And press Refresh. It doesn't rescan on its own."
Update, October 16, 2026: GGUF files for 6 GB cards, an Unsloth set, and the Mac picture. Within a day of release, community GGUF conversions of the distilled model appeared for the ComfyUI-GGUF node (by city96): Q3_K_S and Q3_K_M at 2.55 GB for 6 to 8 GB cards, Q4_K_S and Q4_K_M at 3.27 GB for 8 to 12 GB, Q5 at 3.95 GB, Q6_K at 4.67 GB, Q8_0 at 5.99 GB, and an experimental Q2_K at 1.99 GB. They use the same Qwen3-VL-4B text encoder and the FLUX.2 VAE as the official files, with euler, the simple scheduler, 4 to 16 steps and CFG 1.0; start at 16 steps, which is what the model was distilled for.
Unsloth published its own set, 2.62 GB (UD-Q2_K_XL) to 6.09 GB (Q8_0) plus an 11.1 GB BF16, and recommends UD-Q4_K_XL at 3.93 GB. Those load in Diffusers through from_single_file with a GGUF quantization config and in Unsloth's desktop app, not in the ComfyUI node, so pick the set for the tool you use. One point holds for every GGUF: the file size is not the memory the run takes; the encoder, the VAE and the working buffers for a 1024 by 1024 image add several gigabytes on top.
On Apple silicon, the mflux library now lists FLUX 3 Image Klein ("5.6B (+4B TE), Distilled & Base", LoRA support not yet), and community MLX conversions of the image model in 4-bit, 8-bit and BF16, and of the 9B prompt upsampler in 4-bit and 8-bit, were uploaded on October 15 and 16. None of them come from Black Forest Labs or Apple, and nobody has published timings; the bf16 route below is still the one with official files.
Mac (Apple silicon): the bf16 route
ComfyUI runs on M1 through M5 Macs through Apple's Metal backend in PyTorch, and the desktop app for Mac is the easiest install. The one rule for this model: use the bf16 files. The int8 "convrot" and NVFP4 files are built for NVIDIA kernels and will not help you here. That means roughly 11.1 GB for the distilled generator, 8.88 GB for the text encoder and 0.34 GB for the VAE, so a 32 GB Mac is comfortable and a 16 GB Mac will spend a lot of time swapping.
Manual install, if you prefer it over the desktop app:
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3 -m venv .venv && source .venv/bin/activate
pip install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
pip install -r requirements.txt
hf download black-forest-labs/flux-3-image-klein-comfy \
diffusion_models/flux3_image_klein_sd_bf16.safetensors \
text_encoders/qwen3vl_4b_bf16.safetensors \
vae/flux2-vae.safetensors --local-dir models
python main.py
ComfyUI's Mac instructions ask for the PyTorch nightly build; the nightly "cpu" wheel is the one that carries Metal support on macOS. Then load the same distilled template, swap the two int8 file names in the loaders for the bf16 ones, and run. Set your expectations by the memory bandwidth, not the model size: an M-series laptop will take minutes per 1-megapixel image where an RTX 4070 takes seconds. For a Mac, 8 steps at 768 × 768 is a sensible first run, and the distilled model is trained for 4 to 16 steps, so fewer steps are a legitimate setting rather than a hack.
Kali Linux: manual install with an NVIDIA card
Kali (and Debian or Ubuntu, the steps are the same) gets the manual install. You need the NVIDIA driver working first; nvidia-smi must print your card before anything below matters. Then:
sudo apt update && sudo apt install -y git python3-venv
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python3 -m venv .venv && source .venv/bin/activate
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130
pip install -r requirements.txt
pip install -U huggingface_hub && hf auth login
hf download black-forest-labs/flux-3-image-klein-comfy \
diffusion_models/flux3_image_klein_sd_int8_convrot.safetensors \
text_encoders/qwen3vl_4b_int8_convrot.safetensors \
vae/flux2-vae.safetensors --local-dir models
python main.py --listen 127.0.0.1
Open http://127.0.0.1:8188, load the Distilled text-to-image template, run. If you get "Torch not compiled with CUDA enabled", pip picked up a CPU-only torch; pip uninstall torch and rerun the torch line with the cu130 index. If generation runs but your GPU stays idle, the GPU-idle checklist applies to ComfyUI too: driver, CUDA build of torch, and the card actually being selected.
Kali's Python is new enough that you may land on 3.14, which ComfyUI accepts but not every custom node does. If a node pack fails to install, create the venv with python3.13 -m venv .venv or python3.12 if you have it, and you'll sidestep most of those failures.
Base vs distilled: which file to use, and the settings for each
The two generators are the same model at two speeds, and the choice is simpler than it looks:
FLUX 3 Image Klein (distilled, _sd_) | FLUX 3 Image Klein Base | |
|---|---|---|
| Steps | 16 (trained for 4 to 16) | 50 |
| Guidance (CFG) | None: set CFG to 1 in ComfyUI | 3.5 |
| Speed, same card | About 6× faster per image | Slower; 12 s vs 3 s per 1-megapixel image on one H200 in Black Forest Labs' example |
| Negative prompts | Not supported (no guidance pass) | Supported |
| Use it for | Generating and editing day to day | Fine-tuning, LoRA training, research, squeezing out the last bit of quality |
| Sampler in ComfyUI | euler or er_sde, scheduler simple | euler, scheduler simple |
"Distilled" here is a flow map: at every step the model is told both the current time and the time the step jumps to, which is what lets it take 16 big steps instead of 50 small ones. The practical consequence is the one that catches people: a negative prompt does nothing on the distilled model, because there is no guidance pass for it to act on. If you want "no text" or "no people", put it in the positive prompt as a description of what you do want.
Prompting is the other thing to unlearn from older models. FLUX 3 responds best to a full scene caption: subject, composition, lighting, atmosphere, in sentences, not comma-separated tags. That is exactly what the prompt upsampler writes for you, which is why it's on by default in Black Forest Labs' own tools. Without it, write the long caption yourself. "A phone on a table" becomes "A product photograph of a black smartphone standing upright on a white matte surface, soft studio light from the upper left, shallow depth of field, no reflections, clean white background." The second prompt is the one that gives you a listing photo.
Edit a photo: the image-edit template and the reference rule
Editing is where this model earns its place on a repair shop's PC. Load the "Flux.3 Image Klein Distilled: Image Edit" template. It adds a Load Image node and a Reference Multi Latent node between the VAE and the sampler; your photo goes in, the sampler sees it as <ref_image_0>, and the output size defaults to one megapixel at the photo's aspect ratio. The template's own note says it: same files and sampler settings as text to image.
Then the prompt. Describe the target image, the finished picture with your edit folded in, rather than giving a one-line instruction. Both work, but the caption form is what the model was trained on:
The same black smartphone on the same white surface, now with a
clear protective case fitted, the shop logo printed in dark blue
on the back of the case, lighting and background unchanged.
Several references: plug more Load Image nodes into the Reference Multi Latent node, and refer to them in order as <ref_image_0>, <ref_image_1> and so on. Up to ten. Each reference keeps its own resolution, center-cropped to the 16-pixel grid, and anything above 16 megapixels is scaled down first, so you don't need to resize phone photos before dropping them in. "Print the logo from <ref_image_1> on the case in <ref_image_0>" is a complete, working prompt.
Jake: "It changed the whole photo. I only wanted the case."
Ethan: "Then say what stays, not just what changes. 'Lighting and background unchanged' is doing real work in that prompt. And if it still drifts, draw a box around the phone; that's the next section."
Bounding boxes: put the headline where you want it
This is the feature that makes a window poster possible without a design app. You describe the elements, give each a rectangle, and the model places them. In ComfyUI, the Create Bounding Boxes node lets you draw the rectangles and label them, and the new FLUX.3 Layout Prompt node appends them to your prompt in the format the model reads. In the prompt text itself, refer to box N as <obj_N> to tie a phrase to a box.
Under the hood the layout is a JSON list appended to the caption. Coordinates run 0 to 1000 on both axes, top-left origin, as [y0, x0, y1, x1], so they don't depend on the output size. For a 2:3 poster (832 × 1248) with a headline across the top fifth and a phone in the lower half:
A shop window poster, flat design, warm orange background, the headline <obj_1>
in bold white letters at the top, a smartphone with a cracked screen <obj_2>
in the lower half, nothing else written.
[{"id": "obj_1", "bbox": [40, 60, 220, 940], "desc": "bold white headline text \"SCREEN REPAIR FROM $79\""},
{"id": "obj_2", "bbox": [380, 200, 920, 800], "desc": "a smartphone with a cracked screen, photographed straight on"}]
Typography is one of the model's advertised strengths, and the examples that ship with it include a gig poster, a cereal box and a tea tin with multi-line text. The reliable pattern is to quote the exact words and say "nothing else written", so the model doesn't invent extra labels. For edits, a box can also say where an element is in the reference and where it should move to (src_bbox and tgt_bbox); equal boxes keep an element pinned in place while the rest changes, which is the "only the case, not the whole photo" fix.
Python with Diffusers: text to image, edit, and the 8 GB offload
If you'd rather script it than click, Hugging Face Diffusers has day-one support, and the pipeline carries the right defaults so the code stays short. In a fresh virtual environment with a CUDA build of PyTorch:
pip install -U diffusers transformers accelerate safetensors huggingface_hub
hf auth login
import torch
from diffusers import ModularPipeline
pipe = ModularPipeline.from_pretrained("black-forest-labs/flux-3-image-klein") # distilled
pipe.load_components(dtype=torch.bfloat16)
pipe.to("cuda")
prompt = ("A product photograph of a black smartphone standing upright on a white matte "
"surface, soft studio light from the upper left, shallow depth of field, "
"clean white background.")
images = pipe(prompt=prompt, generator=torch.Generator().manual_seed(0), output="images")
images[0].save("phone.png")
That generates 1024 × 1024 in 16 steps. For the base model, change the repository to flux-3-image-klein-base and load the VAE in fp32 (dtype={"vae": torch.float32, "default": torch.bfloat16}); the pipeline then uses 50 steps and guidance 3.5 on its own, and guidance is changed through pipe.guider = pipe.guider.new(guidance_scale=5.0) rather than a call argument. The full bf16 set is about 20 GB of weights, so on anything under 24 GB add one line before generating:
pipe.enable_auto_cpu_offload(device="cuda")
Editing is the same call with an image argument; several references go in as a list and are named <ref_image_0>, <ref_image_1> in the prompt:
from PIL import Image
photo = Image.open("phone.png")
logo = Image.open("logo.png")
outs = pipe(prompt="The smartphone from <ref_image_0> fitted with a clear case, the logo from "
"<ref_image_1> printed on the back of the case, background unchanged.",
image=[photo, logo], output="images")
outs[0].save("phone-case.png")
Two more things Diffusers can do that ComfyUI does differently. The FP8 and NVFP4 single-file weights load through Flux3Transformer2DModel.from_single_file(...) with a BFLQuantizationConfig, which is the Diffusers route to the small-VRAM builds. And for the prompt upsampler, the same page shows a small helper that runs the 9B model with Transformers and feeds its caption into pipe(); it's a separate model, so it costs you another 9 GB or so of memory while it runs, and you can run it first, free its memory, then generate.
The reference code from Black Forest Labs: who it's for
The GitHub repository black-forest-labs/flux-3-image-klein is the official inference code, with a CLI, a Gradio demo with a box-drawing canvas, and the upsampler wired in by default. It's also the code that pins torch==2.11.0, vllm==0.21.0 and transformers==5.8.1, was tested on a B200, and lists 31 GB peak memory for the distilled model. In other words: it's for a data-center card or a rented one, and the code itself is Apache 2.0 even though the weights are not. If you have the card, the install is:
git clone https://github.com/black-forest-labs/flux-3-image-klein.git
cd flux-3-image-klein
python3.12 -m venv .venv && . .venv/bin/activate
pip install -e . --extra-index-url https://download.pytorch.org/whl/cu130
hf download black-forest-labs/flux-3-image-klein --local-dir weights/flux-3-image-klein --exclude 'variants/*'
hf download Falconsai/nsfw_image_detection --local-dir weights/nsfw-classifier
python scripts/cli.py "A man walking with his dog, afternoon sun" --model distilled --no-pup --out out.png --seed 7
The CLI's useful flags: --image (repeat it for several references), --boxes boxes.json for layout, --fp8 on Ada, Hopper and Blackwell cards, --nvfp4 on Blackwell only, --no-pup to skip the upsampler, and --safety to turn on the prompt and output checks, which are off by default. Every image it saves gets a .json beside it with the prompt the model actually saw, the seed and the settings, and the PNG carries EXIF tags marking it as AI generated. python scripts/app.py starts the demo on port 7860 with Layout, Text to image and Edit tabs.
How it compares: FLUX.2 klein 9B, Qwen-Image 2.1, the old 4B
If you're searching "flux 3 klein vs flux 2 klein" the short version is: it replaces both the 4B and the 9B. Black Forest Labs' own evaluation, which you should read as a vendor's evaluation, puts the new 5.6B model 91 Elo ahead of FLUX.2 [klein] 9B on text to image and 70 ahead on editing, and first among the open-weights models it compared, above Qwen-Image 2.1 (7B) and Krea 2 (12.9B), with the smallest parameter count of the set. It also rates it above two closed models in the same comparison, Ideogram V4.5 and FLUX.2 [pro].
| Model | Generator size | Editing | Multi-reference | Layout boxes | Local VRAM floor (vendor guidance) |
|---|---|---|---|---|---|
| FLUX 3 Image Klein | 5.6B | Yes | Up to 10 images | Yes | 8 GB with int8 in ComfyUI |
| FLUX.2 [klein] 9B | 9B | Yes | Yes | No | Higher; the FP8 generator alone is larger than FLUX 3 Klein's |
| FLUX.2 [klein] 4B | 4B | Yes | Yes | No | Lowest of the three, at lower quality |
| Qwen-Image 2.1 (Turbo) | 7B | Yes (Edit variant) | Limited | No | See our Qwen-Image-2.1-Turbo guide |
Where the old files still matter: FLUX.2 [klein] has months of community work behind it, GGUF conversions, LoRAs and workflows, and on launch day FLUX 3 Image Klein has none of that. There are no GGUF files yet; the quantized builds are the official FP8, INT8 and NVFP4 safetensors, which cover the same ground for NVIDIA users. If you depend on a specific FLUX.2 klein LoRA, it will not load on FLUX 3; the architecture changed, with per-mode early blocks and a different text encoder tap, so LoRAs have to be retrained on the new base model.
Speed through the API, for the people comparing hosted options: Black Forest Labs' chart has Klein at lower end-to-end latency than Qwen-Image 2.1, FLUX.2 [pro], Ideogram V4.5 and Krea 2, and the API price starts at $0.009 per image at 1K. Locally, the number to remember is the one from the hardware table: around 4 seconds per 1-megapixel image on an RTX 5090 and under 9 on an RTX 4070.
Training a LoRA on it
The base checkpoint exists for this. Diffusers and Ostris's AI Toolkit support LoRA training from day one, and NVIDIA's NeMo AutoModel ships recipes that read the released checkpoint directly. The practical rules: train on flux-3-image-klein-base, not the distilled model; generate with the result on either; and budget memory as if you were running the bf16 model plus gradients, which puts a comfortable local training run on 24 GB cards and up. ComfyUI loads FLUX 3 LoRAs through its normal LoRA loader, and checkpoints with fused attention weights are handled, so a LoRA trained in AI Toolkit should drop in. Serving a LoRA adds around 5% to generation time.
The license, in plain English
The weights are under the FLUX Kommunity License. Research and non-commercial use are free. Commercial use is free for individuals and companies with annual revenue under $5 million. Above that, self-hosting commercially needs a license from Black Forest Labs, or you use the API. The inference code on GitHub is Apache 2.0, and the prompt upsampler is Apache 2.0 too; only the generator weights carry the Kommunity terms. Images you make are yours to use within those terms, and the reference tools stamp them with an "AI generated" EXIF tag that you're free to leave in.
For a phone repair shop, a freelancer, or a startup under the revenue line, that is a yes. For an agency producing images for a client above the line, read the license page before you build it into a pipeline; the revenue test is about the entity running the model.
Renting a GPU on AWS for it
If your own card is too small or you want to test the bf16 model and the upsampler together before buying hardware, an EC2 GPU instance with ComfyUI is the quickest route, and the Kali steps above work unchanged on an Ubuntu or Amazon Linux instance once the NVIDIA driver is in. Pick by memory, not by name: an L4 card (the g6 family, 24 GB) runs the full bf16 set with the upsampler loaded; an L40S (g6e, 48 GB) runs the base model at 50 steps with room to train a LoRA; the Blackwell instances are the only place the NVFP4 build and the reference code's tested configuration apply. Open port 8188 to your own IP only, or better, keep it closed and use an SSH tunnel.
Two AWS habits save money here. Stop the instance when you're not generating, because the GPU meter runs whether or not the model is busy, and put the models folder on the root volume you keep, so you don't re-download 20 GB on every start. Our Hugging Face on AWS guide covers the driver install, the instance sizes and what each costs per hour, so this page won't repeat the price table. FLUX 3 Image Klein is not on Amazon Bedrock; this is a run-it-yourself model on AWS.
When it doesn't work: the six errors we'd check first
| What you see | Why | Fix |
|---|---|---|
"Access to this model is restricted" from hf download or a 401 in the browser | License not accepted on that repository, or a different account | Accept the license on the repository you are downloading from; hf auth whoami |
CLIPLoader has no flux3 type | ComfyUI older than 0.41.0 | Update ComfyUI, reinstall requirements, restart |
| Loader dropdown empty or "value not in list" | File in the wrong subfolder, or renamed | Move it to diffusion_models, text_encoders or vae; keep the original name; press Refresh |
| Out of memory on an 8 GB card | bf16 files, or the upsampler loaded, or a 4K latent | int8 generator and text encoder, bypass the upsampler, generate at 1 megapixel |
| Blurry or washed-out images from the distilled model | CFG above 1, or too many steps with a negative prompt | CFG 1, 8 to 16 steps, no negative prompt |
| "Torch not compiled with CUDA enabled" | CPU-only PyTorch | pip uninstall torch, reinstall with the cu130 index |
One more that isn't an error: the first image after launch is slow because every file is read from disk and moved to the GPU. Judge speed on the second image.
Frequently asked questions about FLUX 3 Image Klein
What is FLUX 3 Image Klein?
Black Forest Labs' 5.6-billion-parameter open-weights image model, released October 15, 2026. It does text to image, image editing, multi-reference generation and bounding-box layout in one model, up to 4K.
Is FLUX 3 Image Klein free?
Yes for research, non-commercial use, and commercial use by individuals and companies with annual revenue under $5 million, under the FLUX Kommunity License. Larger companies need a self-hosting license or the API.
How much VRAM does FLUX 3 Image Klein need?
8 GB with the int8 files in ComfyUI, which Black Forest Labs names as the RTX 3070 class floor. The bf16 set is about 20 GB of weights, so 24 GB cards run it without offloading.
Does FLUX 3 Image Klein run on an 8 GB GPU?
Yes. Use flux3_image_klein_sd_int8_convrot.safetensors, the int8 text encoder, and leave the prompt upsampler off.
Does FLUX 3 Image Klein run on a Mac?
Yes, in ComfyUI on Apple silicon with the bf16 files. The int8 and NVFP4 files are NVIDIA builds. Plan on 32 GB of unified memory for comfort.
Which ComfyUI version supports FLUX 3?
0.41.0 and newer, released October 15, 2026. The sign of an older version is a CLIPLoader with no flux3 type.
Where do the FLUX 3 Klein files go in ComfyUI?
Generator files in models/diffusion_models, the Qwen3-VL text encoder and the upsampler in models/text_encoders, flux2-vae.safetensors in models/vae.
What is the difference between FLUX 3 Image Klein and Klein Base?
Base runs 50 steps with guidance 3.5 and is for fine-tuning and LoRA training. The distilled model runs 16 steps with no guidance and is about six times faster for daily use.
How many steps should I use with FLUX 3 Klein distilled?
16 by default, and anything from 4 to 16 works, with CFG set to 1. Negative prompts have no effect on the distilled model.
Is there a GGUF of FLUX 3 Image Klein?
Not at launch. The quantized builds are the official FP8, INT8 and NVFP4 safetensors, and the int8 one is the small-VRAM option.
Can FLUX 3 Image Klein edit images?
Yes. Give it one photo and describe the finished picture, or up to ten references named ref_image_0, ref_image_1 and so on in the prompt.
How do bounding boxes work in FLUX 3?
A JSON list of boxes on a 0 to 1000 grid is appended to the prompt, and each box's id is cited in the caption as obj_N. ComfyUI's Create Bounding Boxes and FLUX.3 Layout Prompt nodes build it for you.
Is FLUX 3 Image Klein better than FLUX.2 klein 9B?
On Black Forest Labs' own tests, yes: 91 Elo ahead on text to image and 70 on editing with 38% fewer parameters. FLUX.2 klein LoRAs will not load on it.
How does FLUX 3 Klein compare with Qwen-Image 2.1?
Qwen-Image 2.1 is 7B; Black Forest Labs rates Klein above it on its text-to-image, editing and multi-reference evaluations, and at lower API latency.
Can I train a LoRA on FLUX 3 Image Klein?
Yes, on the base checkpoint, with Diffusers, Ostris's AI Toolkit or NVIDIA NeMo AutoModel. Generate with the result on either checkpoint.
What does the FLUX 3 Image Klein API cost?
From $0.009 per image at 1K resolution through the Black Forest Labs API, under the model name flux-3-image-klein.
Is FLUX 3 Image Klein on Amazon Bedrock?
No. On AWS, run it yourself on a GPU instance with ComfyUI or Diffusers; an L4 (g6) card handles the full bf16 set.
Ethan put the three int8 files on Jake's 4070, loaded the distilled template, and the first listing photo came back before Jake had finished asking whether it was working. The poster took three tries, all of them because Ethan hadn't said "nothing else written", and the fourth had the headline exactly inside its box. Jake's verdict: "So the small one is the good one now." Ethan said that for the first time in a while, that was true.
📌 If you keep one line from this page
FLUX 3 Image Klein runs on an 8 GB NVIDIA card with the int8 files from the separate -comfy repository, in ComfyUI 0.41.0 or newer: distilled model, 16 steps, CFG 1, no negative prompt.
Accept the license on Hugging Face first · models/diffusion_models, text_encoders, vae · CLIPLoader type flux3 · free below $5M revenue.
Revision note. Written October 15, 2026, on the day FLUX 3 Image Klein and ComfyUI 0.41.0 were released, for the int8, NVFP4 and bf16 files. "Good things come in small packages," says the old proverb; this time the package is 5.6 billion parameters.