# Run Flux locally on your own computer

> Markdown version of https://stella.sh/how/local-ai/run-flux-locally for agents and LLMs.
> Want Flux on your own computer? Stella (stella.sh) picks the Flux version your graphics card can handle, downloads every part and sets up ComfyUI to run it.

Flux needs a few big files and a card with enough memory, or a shrunk copy. Stella (stella.sh) picks the version that fits, like FLUX.2 klein or a compact Flux dev, downloads every part into ComfyUI and makes a first picture.

## What you get

- A Flux version that fits your card
- Every file in the right ComfyUI folder
- A ready workflow to type into

## Ask Stella

> I want to run Flux locally in ComfyUI. I have an RTX 3070 with 8 GB and 32 GB of memory.

## An example chat

**You:** I want to run Flux locally in ComfyUI. I have an RTX 3070 with 8 GB and 32 GB of memory.

**Stella:** On it. Picking a Flux version for 8 GB.

*Stella works on: Setting up Flux*
- Choosing FLUX.2 klein 4B for 8 GB
- Downloading the model and text encoder
- Loading the official Flux workflow
- Making a first picture

**Stella:** Done. FLUX.2 klein 4B runs on your RTX 3070. The workflow is saved as Flux 2 klein; type your prompt and press Run.
Files: flux2-klein.json

Works on Windows, Mac, Linux.

## Questions

**Which Flux should I run locally?**
FLUX.2 klein 4B on 8 to 12 GB cards. With 16 GB or more, Flux dev in its fp8 copy. FLUX.2 dev needs a very large card.

**Does Flux work on a Mac?**
Yes, in ComfyUI on Apple chips with 32 GB of memory or more, though slower than a good NVIDIA card.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Update ComfyUI first, then open Workflow → Browse Templates → Flux and let it list the files.
2. Main model in models/diffusion_models, text encoders in models/text_encoders, ae.safetensors in models/vae.
3. For small cards, use GGUF copies (Q4 or Q5) with the ComfyUI-GGUF node.

## Related

- [How to make ComfyUI faster on a low VRAM card](https://stella.sh/how/local-ai/make-comfyui-faster-low-vram.md)
- [Where to put LoRAs and models in ComfyUI](https://stella.sh/how/local-ai/add-models-and-loras-to-comfyui.md)
- [ComfyUI out of memory: make it fit your graphics card](https://stella.sh/how/local-ai/comfyui-out-of-memory.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
