SAVRN
Search Contact SAVRN

Open-weight model · Text to image

FLUX.2-klein-4B-mflux-4bit

by Runpod Runpod/FLUX.2-klein-4B-mflux-4bit

4-bit quantized weights of [FLUX.2 [klein] 4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B) by Black Forest Labs, optimized for mflux on Apple Silicon.

Parameters
Context
Weights4.6 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads76.6k

Model Card

By Runpod, published under apache-2.0, revision 7ee1b3aa8178.

4-bit quantized weights of [FLUX.2 [klein] 4B](https://huggingface.co/black-forest-labs/FLUX.2-klein-4B) by Black Forest Labs, optimized for mflux on Apple Silicon. FLUX.2 [klein] 4B is a 4 billion parameter rectified flow transformer by Black Forest Labs for fast image generation and editing. It delivers state-of-the-art quality with sub-second inference on consumer hardware. - Apache 2.0 — fully open for commercial use Apache 2.0, inherited from the original model.

Read Runpod's full model card

FLUX.2 [klein] 4B — mflux 4-bit quantized

4-bit quantized weights of FLUX.2 [klein] 4B by Black Forest Labs, optimized for mflux on Apple Silicon.

Full precision This repo (4-bit)
Size ~8 GB 4.3 GB
Framework diffusers / mflux mflux only
Hardware CUDA / MLX Apple Silicon (MLX)

Quickstart

Install mflux

pip install mflux

Generate an image

mflux-generate-flux2 \
  --model RunPod/FLUX.2-klein-4B-mflux-4bit \
  --prompt "A cute robot standing in a field of flowers, digital art" \
  --width 1024 \
  --height 1024 \
  --steps 4 \
  --seed 42 \
  --output output.png

Python usage

from mflux import Flux2

flux = Flux2(
    model="RunPod/FLUX.2-klein-4B-mflux-4bit",
    base_model="flux2-klein-4b",
)

image = flux.generate_image(
    prompt="A cute robot standing in a field of flowers, digital art",
    width=1024,
    height=1024,
    num_inference_steps=4,
    seed=42,
)

image.save("output.png")

Details

  • Base model: black-forest-labs/FLUX.2-klein-4B (Apache 2.0)
  • Quantization: 4-bit via MLX nn.quantize (group_size=64), created with mflux-save --quantize 4
  • Requirements: mflux v0.16.0+, Apple Silicon Mac
  • Performance: ~11s for 512x512 (4 steps) on M3 Pro 18GB

How this was created

pip install mflux
mflux-save \
  --path ./FLUX.2-klein-4B-mflux-4bit \
  --model flux2-klein-4b \
  --quantize 4

About FLUX.2 [klein]

FLUX.2 [klein] 4B is a 4 billion parameter rectified flow transformer by Black Forest Labs for fast image generation and editing. It delivers state-of-the-art quality with sub-second inference on consumer hardware.

  • Ultra-fast inference (4 steps)
  • Text-to-image and multi-reference image editing
  • Apache 2.0 — fully open for commercial use
  • Blog post | GitHub

License

Apache 2.0, inherited from the original model.

Credits

Configuration

Model type
flux2-klein-4b

Identity and Version

Repository
Runpod/FLUX.2-klein-4B-mflux-4bit
Publisher
Runpod
Task
Text to image
Modality
Image
Library
mflux
Parameters
Not stated by the source
Languages
mlx
Revision
7ee1b3aa8178a1240050490072196a57da2bf2a9
First published
2026-02-16
Last updated
2026-04-10

Files and Weights

14 files, 4.6 GB in total. The weights are 5 files totalling 4.6 GB in safetensors.

Weights5 files · 4.6 GB
Configuration4 files · 96.2 KB
Tokenizer2 files · 11.4 MB
Documentation1 file · 2.8 KB
Other1 file · 4.2 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
text_encoder/0.safetensorsWeights2.1 GB 4425bbe79bdf
text_encoder/1.safetensorsWeights127.6 MB 941c6099f301
transformer/0.safetensorsWeights2.1 GB b8b21514b059
transformer/1.safetensorsWeights34.7 MB a85ce666eaa7
vae/0.safetensorsWeights165.1 MB 5053e0f1a87d
config.jsonConfiguration455 B
text_encoder/model.safetensors.index.jsonConfiguration51.3 KB
transformer/model.safetensors.index.jsonConfiguration26.9 KB
vae/model.safetensors.index.jsonConfiguration17.5 KB
README.mdDocumentation2.8 KB
tokenizer/chat_template.jinjaOther4.2 KB
.gitattributesRepository1.6 KB
tokenizer/tokenizer.jsonTokenizer11.4 MB be75606093db
tokenizer/tokenizer_config.jsonTokenizer348 B

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
4.6 GB
Download from Runpod

Released by Runpod through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published4.6 GB

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

Questions About FLUX.2-klein-4B-mflux-4bit

Can I use FLUX.2-klein-4B-mflux-4bit commercially?

Yes. FLUX.2-klein-4B-mflux-4bit 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 · Text to image

Juggernaut-XL-v9

RunDiffusion

The SDXL ecosystem is the single most mature corner of open image generation, and v9 is its most refined photorealism checkpoint. Choose Juggernaut XL v9 when you want: - Photorealism that holds up under scrutiny — skin texture, micro-contrast, and natural lighting that translates from concept to print. - Reasonable hardware — runs comfortably on 8 GB of VRAM, unlike newer DiT-based models that demand 16+ GB. - The full SDXL toolbox — drop-in compatibility with the thousands of SDXL ControlNets, IP-Adapter variants, AnimateDiff, regional prompting tools, and LoRAs already in your workflow. - Battle-tested reliability — 26+ months in production, used in agencies, studios, and shipping…

Open weights creativeml-openrail-m diffusers

Model · Text to image

Qwen-Image-Lightning

Lightx2v

Please refer to Qwen-Image-Lightning github to learn how to use the models. make sure to install diffusers from main (pip install git+https://github.com/huggingface/diffusers.git)

Open weights apache-2.0 diffusers

Model · Text to image

Z-Image-Lora

nphSi

+ Always use full LoRa name with "vrtlxxxx" trigger in prompt like "Alba Baptista (vrtlalbabaptista) in a swimming pool". "Woman" or "1girl" will NOT work due to my way i do captions. + Add the gender to the prompt for confusing names like "Alex Jones". + Remove the name when internal model knowledge is bad or censored or is confusing to model like "Sandy Cheeks" or "Kate Middleton". + When using a Lora with multiple triggers (vrtlxx,vrtlyy) do not use the real character name but only trigger or a combination of it. "vrtlMain" always combines all trigger-words. Angourie Rice, January Jones, Julianna Guill, Ursula Corbero, Judith Rakers, Alina Merkau, Kiernan Shipka, Leslie Bibb, Marie…

Open weights apache-2.0 diffusers

Model · Text to image

Flux2-Klein-9B-True-V2

Wikee Yang

Recommend smthemex/ComfyUIUniBlockSwap plugin for LOW VRAM users, it only requires 4-6GB of VRAM to run the full bf16 model. 您可以尝试一下全新的 ComfyUI GGUF 模型加载插件 smthemex/ComfyUIDifGGUF,它能适配更多的 GGUF 文件格式,并且将很快集成低显存(4-8GB)显卡的 GGUF 模型块卸载管理能力。 Recommend to try the new GGUF ComfyUI loader plugin, smthemex/ComfyUIDifGGUF, it compatible with more GGUF format, and will add low VRAM (4-8GB) management for GGUF soon. 1. 图像的真实感和质感进一步改善,基本接近香蕉(Nano Banana)的水平。 2. 提示词遵循和还原能力,参数适配性和LoRA兼容性进一步改善,。 The V2 version of this model has undergone a full fine-tuning based on FLUX.2-Klein-9B-True-V1. Compared to the V1 version, it has some improvements and enhancements as below: 1. The realism and texture of images…

Open weights other diffusers

Model · Text to image

Z-Image-Turbo-GGUF

Unsloth AI

Welcome to the official repository for the Z-Image(造相)project! Z-Image is a powerful and highly efficient image generation model with 6B parameters. Currently there are three variants: - Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers sub-second inference latency on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence. - Z-Image-Base – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential…

Open weights apache-2.0 ggml

Model · Text to image

FLUX.1-dev-gguf

City

This is a direct GGUF conversion of black-forest-labs/FLUX.1-dev As this is a quantized model not a finetune, all the same restrictions/original license terms still apply. The model files can be used with the ComfyUI-GGUF custom node. Place model files in ComfyUI/models/unet - see the GitHub readme for further install instructions. Please refer to this chart for a basic overview of quantization types.

Open weights other gguf