on

Can the Raspberry Pi 5 (8 GB) run FLUX.2 [klein] 9B?

83Great quality (A) · 83 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking.

Barely: it runs very slowly (tight fit · CPU offload)

Very slow (tight fit · CPU offload). At Q8 GGUF it needs about 5.8 GB of 6.4 GB usable, with an estimated speed of 8.2 min.

Best precision
Q8 GGUF
Memory mode
Sequential CPU offload
Time per image
8.2 min
Output
1024×1024, 4 steps

Best app to run it on the Raspberry Pi 5 (8 GB)

On Linux on ARM boards

ComfyUI

Desktop app · runs on PyTorch (ComfyUI), GGUF via ComfyUI-GGUF

  • Runs this model with built-in or popular custom nodes; GGUF files load with ComfyUI-GGUF.

Get ComfyUI

How we choose: the files published for this model, your operating system and GPU, whether it fits fully in memory, and published speed tests (MLX vs llama.cpp on Apple silicon, vLLM vs llama.cpp vs Ollama on NVIDIA). Details.

Download FLUX.2 [klein] 9B

Recommended for the Raspberry Pi 5 (8 GB): q8_gguf. Every other precision has its own download link in the table below.

Quantized files · GGUF for ComfyUI

Smaller GGUF versions for ComfyUI (with the ComfyUI-GGUF node). No sign-in needed; the model’s license still applies.

Download the q8_gguf (Q8_0) file (opens in a new tab)

huggingface.co/unsloth/FLUX.2-klein-9B-GGUF (opens in a new tab)

Original weights · Hugging Face

Full-precision files from Black Forest Labs, for fine-tuning, vLLM, Transformers, Diffusers or ComfyUI.

huggingface.co/black-forest-labs/FLUX.2-klein-9B (opens in a new tab)

Free Hugging Face account needed: accept the license on the model page and the download starts right away.

Official repo · GitHub

Reference code, inference scripts and docs from Black Forest Labs. The weights themselves download from Hugging Face.

github.com/black-forest-labs/flux2 (opens in a new tab)

git clone https://github.com/black-forest-labs/flux2

How it’s rated

Quality 83Great quality (A) · 83 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking.
How capable the model itself is at Q8 GGUF, from its editorial quality tier scaled by the quantization or precision. It’s the same on any hardware that runs this variant. Scale: A+ 85+ · A 70+ · B 55+ · C 40+ · D under 40.
Runs Very slowtight fit · CPU offload
How well it runs on the Raspberry Pi 5 (8 GB): speed, capped by how well it fits in memory. Runs great: 30+ tokens/s (or near the image, video or decision speed target) · Runs well: 10+ tokens/s · Slow: 3+ tokens/s · Very slow: under 3 · Won’t run: doesn’t fit even with offload. A tight fit or RAM offload caps it at Runs well; heavy offload caps it at Slow.

Match score

To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.

Model qualityEditorial quality tier of the model, scaled by the quantization or precision used.37.4 / 45
Memory fitFull marks when the model fits in the share of unified memory the GPU can use; fewer when it goes past that limit.10.0 / 25
SpeedGeneration speed against a 40 tokens/s target for LLMs, or render time against a target for image and video.2.1 / 15
Memory useRewards using the memory you have, so a bigger, better variant beats a tiny one that leaves most memory idle.15.0 / 15
Match score64.6 / 100

The match score orders results; it is not shown as a grade. Quality and Runs are the two ratings in the tables.

Every precision on the Raspberry Pi 5 (8 GB)

Quant Memory needed Available Speed Memory mode Runs Quality Download
FP16 8.8 GB 6.4 GB — — Won't run 84Great quality (A) · 84 of 100: how capable the model is at FP16, whatever it runs on. Match score 11/100 (quality, fit, speed and memory use) sets the ranking. Original weights (opens in a new tab)
FP8 5.6 GB 6.4 GB 6.4 min Sequential CPU offload Very slowtight fit · CPU offload 82Great quality (A) · 82 of 100: how capable the model is at FP8, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. Original weights (opens in a new tab)
Q8 GGUF 5.8 GB 6.4 GB 8.2 min Sequential CPU offload Very slowtight fit · CPU offload 83Great quality (A) · 83 of 100: how capable the model is at Q8 GGUF, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. GGUF (opens in a new tab)
Q4 GGUF 4.3 GB 6.4 GB 8.5 min Sequential CPU offload Very slowCPU offload 78Great quality (A) · 78 of 100: how capable the model is at Q4 GGUF, whatever it runs on. Match score 64/100 (quality, fit, speed and memory use) sets the ranking. GGUF (opens in a new tab)

Other hardware that runs it

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.

Was this page helpful?