That is the whole decision in five sentences. Most guides skip it and go straight to install steps, which is how people end up buying a $2,000 GPU to make forty images a week. This one walks the decision first, then the setup for the readers local actually fits.
What does "running Stable Diffusion locally" even mean in 2026?
"Stable Diffusion" is now a category, not a model. The name still gets typed into search bars, but the open-weight frontier has moved. When people talk about local image generation today, they mean one of a handful of models, and picking the right one is the first real choice:
- SD 1.5 and SDXL - the old guard. SDXL is still the workhorse for LoRA and ControlNet workflows because the ecosystem of trained add-ons around it is enormous and it runs on modest hardware.
- SD 3.5 - Stability AI's current line, better prompt following than SDXL, heavier to run.
- FLUX.1 and FLUX.2 - from Black Forest Labs, the team behind the original Stable Diffusion. This is the quality frontier in 2026, and also where the licensing traps live (more on that below).
- Qwen-Image - a 20B model that punches above its weight on text rendering and prompt adherence, and stays commercially usable.
So the honest version of the question is not "how do I run Stable Diffusion." It is "which model fits my card, and can I legally sell what it makes." Everything downstream flows from that.
How much VRAM do you need to run Stable Diffusion?
VRAM is the single gating variable. Not your CPU, not your system RAM, not your GPU's raw speed. If the model does not fit in video memory, it either crashes or crawls. Here is what the current models actually demand:
| Model | Params | FP16 VRAM | Quantized floor | Commercial output? |
|---|---|---|---|---|
| SD 1.5 | 0.9B | ~4 GB | runs on 4 GB | Yes |
| SDXL | 3.5B | ~8 GB | 6 GB with ComfyUI memory management | Yes |
| SD 3.5 Large | 8B | over 16 GB native | ~11 GB via FP8 | Yes (community license) |
| FLUX.1 dev | 12B | ~33 GB | ~7 GB GGUF Q4 | No, needs BFL license |
| FLUX.1 schnell | 12B | ~33 GB | GGUF variants | Yes, Apache 2.0 |
| Qwen-Image | 20B | large | ~12 to 13 GB Q4 | Yes |
| FLUX.2 dev | 32B | ~90 GB to load full | still large even quantized | No, non-commercial |
| FLUX.2 klein 4B | 4B | ~13 GB | - | Yes, Apache 2.0 |
| FLUX.2 klein 9B | 9B | ~29 GB | - | No, non-commercial |
Look at the FLUX.1 dev row again. Native, it wants 33GB, which means a data-center card. Quantized to GGUF Q4, it runs in about 7GB. That is not a rounding difference. That is the difference between "I need to rent an A100" and "my 16GB gaming card is fine."
Quantization is what makes a mid-range card viable, and almost no beginner guide explains it. GGUF is a file format that stores the model's weights at lower precision. Think of it like saving a photo as a smaller JPEG: you trade a sliver of quality for a much smaller file. Q8 is nearly lossless and roughly half the memory. Q4 is more aggressive, cuts memory by around 75%, and for most work the quality drop is hard to notice. The practical rule: if a model looks too big for your card at full precision, check for a GGUF Q4 or Q8 version before you assume you are locked out. Nine times out of ten in 2026, there is one.
Which GPU should you actually buy?
Match the model to the VRAM, then buy the smallest card that clears it. Three tiers cover almost everyone:
Minimum viable: 8GB NVIDIA (RTX 3060, 4060). Runs SDXL comfortably and FLUX through aggressive quantization. Fine for learning, hobby work, and SDXL LoRA pipelines. You will feel the ceiling the moment you want FLUX at higher resolutions.
The sweet spot: 16GB (RTX 4060 Ti 16GB, 5060 Ti 16GB, 4080). This is the recommendation for most people who are serious. Sixteen gigabytes runs nearly everything worth using, including quantized FLUX and Qwen-Image, with headroom left for ControlNet and LoRA stacks. It is the point where you stop fighting your hardware and start working.
No compromise: 24GB (RTX 3090, 4090). Here is the value play nobody advertises: a used RTX 3090 with 24GB of VRAM runs around $500 on the secondhand market in 2026. That is the best VRAM-per-dollar in local AI, full stop. It loads FP8 FLUX without flinching and gives you room for the next model that ships. If you are committing to local and want one card to last, this is it.
One honest caveat on the rest of the field. The whole ecosystem is CUDA-first, which means NVIDIA. AMD cards work, but with driver friction and slower support for new models. Apple Silicon runs through MPS, which functions but is slow and bounded by unified memory. If you already own a high-RAM Mac, you can generate images on it. If you are buying hardware specifically for this, buy NVIDIA and skip the headaches.
Is ComfyUI better than Automatic1111 in 2026?
Yes, and it is not close anymore. This is where the standard advice has gone stale. For years the answer was "ComfyUI vs Automatic1111," and plenty of older guides still frame it that way. That framing is dead.
Automatic1111 stalled. Its last real release was v1.10.1 in February 2025, and it never got FLUX support. It still runs SD 1.5 and SDXL fine, so if you already have it installed and only work in those models, there is no fire to put out. But you should not start there in 2026, and you cannot use it for the models that matter now.
ComfyUI won on the merits. It is the most actively developed local front end, it gets new models first, and its dynamic memory management squeezes the most out of whatever VRAM you have (it can push SDXL onto a 6GB card). It is also the only front end that cleanly runs the FLUX and Qwen generation. The node-based interface is a real learning curve, and that is the honest cost of admission, but nothing else gives you this much control or this little VRAM overhead. If you want to go deeper on chaining nodes into repeatable pipelines, our guide on automating video workflows with ComfyUI picks up where the basics leave off.
Two alternatives are worth knowing:
- Forge Neo - if you want the Automatic1111 interface without the dead codebase, this is the answer. Forge was a faster, leaner A1111 fork; the original is dormant, but community forks under the "Forge Neo" name are live and NVIDIA-focused, with active FLUX and Qwen support as of mid-2026. Verify which fork is current when you install, since the naming shifts.
- Fooocus - the zero-config, Midjourney-like option for beginners who want to type a prompt and get a good image with no node graph. Great for starting out, not for power workflows.
The short ComfyUI setup path
You do not need a fifty-step tutorial. The path is:
- Install ComfyUI. The portable Windows build or the desktop installer both work. Point it at your NVIDIA GPU.
- Grab a checkpoint. Download a model file from Hugging Face or CivitAI. Start with SDXL if you are on 8GB, or a GGUF-quantized FLUX if you are on 16GB or more. Drop it in the models folder.
- Load a default workflow and generate. ComfyUI ships with starter workflows. Load one, type a prompt, hit generate. Confirm your card is behaving, then start building.
As an Amazon Associate I earn from qualifying purchases.
One piece of hardware worth adding before you queue long batches: the machine we run ComfyUI on sits behind an APC Back-UPS BE850G2, so a brief power blip does not take a render down with it.
Once you have a first image out, the payoff of local shows up fast: precise composition control with ControlNet and the ability to train a LoRA on your own art style, neither of which a hosted service will give you the same grip on.
When does cloud actually make more sense?
Most of the time, honestly. This is the part the setup guides never tell you, because their whole premise is that local is the goal. It is not the goal. It is one option among three, and the right pick depends entirely on volume.
You have three ways to generate images:
- Per-image API. Stability AI's API runs roughly $0.01 to $0.06 per image depending on model and resolution. Replicate bills per second of GPU time; Fal.ai bills per image or per megapixel. Zero setup, zero maintenance, pay only for what you make.
- Cloud GPU rental. Rent the same hardware by the hour. An RTX 3090 runs about $0.22/hr on RunPod; A100 instances land around $1.50 to $3.00/hr. You get the local experience without owning the card.
- Buy the GPU. Pay once, own it, run it as much as you want. Plus electricity, plus depreciation, plus the idle hours it sits doing nothing.
Here is the math nobody shows. An RTX 4090 pulling around 550W at the wall, run eight hours a day, costs roughly $15 to $30 a month in electricity at typical US rates. Push it toward round-the-clock use and power alone approaches $64 a month, close to $770 a year, before you have paid off the card itself.
Run those numbers against volume and a threshold appears. Below roughly 400 GPU-hours a month, cloud wins - usually by 70 to 85 percent once you price in electricity, depreciation, and the hours your card sits idle. Above roughly 450 hours a month of sustained daily use, buying wins. A used 3090 measured against a Midjourney Standard subscription breaks even somewhere around 16 months.
Treat those figures as directional, not gospel. Electricity rates, used-card prices, and cloud pricing all drift, and the numbers above are aggregator-sourced ranges, not benchmarks we ran ourselves. The point is the shape of the decision: run three numbers - your monthly generation hours, your local electricity rate, and the card price - and the answer falls out. If you are an occasional user, a per-image API or an hourly rental almost certainly beats buying, and the same logic that makes hosted tools attractive shows up in our look at Leonardo AI as a Midjourney alternative and the broader Stable Diffusion vs Midjourney comparison.
And if you land firmly in the occasional-user camp, you do not need an account or a credit card to find out what these models feel like. CascadeHub's free Image Studio runs entirely in the browser with nothing to install, so you can test whether local is even worth chasing before you spend a dollar on hardware. For a lot of readers, that is where the honest answer ends: run a few images in the browser, and if you never hit a wall, you never needed the GPU.
The licensing gotcha that can cost you
Before you build a business on any of these models, check the license. This trips up print-on-demand sellers and client-work freelancers constantly, because the best-looking model is often the one you are not allowed to sell from.
The rule is not "open weights means free to use commercially." It is per-model:
- Commercially safe: SDXL, SD 3.5 (community license), FLUX.1 schnell (Apache 2.0), Qwen-Image, and FLUX.2 klein 4B (Apache 2.0).
- Not commercially safe without a paid Black Forest Labs license: FLUX.1 dev, FLUX.2 dev, and FLUX.2 klein 9B all ship under a non-commercial license.
Note the klein split specifically, because it is easy to get wrong: the 4B klein model is Apache 2.0 and fully commercial, but the 9B klein model is non-commercial. Same family, opposite terms. If you are selling what you generate, confirm the exact variant and its license text before you commit a workflow to it.
The verdict
Local image generation in 2026 is a volume decision wearing a hardware costume. If you generate constantly, care about privacy, or live in ControlNet and LoRA workflows, buy a card - a used 24GB 3090 around $500, or a new 16GB card for the sweet spot - install ComfyUI, and lean on GGUF quantization to run models far above your card's apparent weight class. If you generate occasionally, do not buy anything; run a few images in the free Image Studio, or reach for a per-image API or hourly rental, and keep the $2,000 in your pocket. And whichever model you land on, read its license before it earns you a dollar.
Frequently Asked Questions
How much VRAM do I need to run Stable Diffusion?
For SDXL, 8GB of NVIDIA VRAM is the practical minimum and 12GB is comfortable. To run FLUX or Qwen-Image with room for ControlNet and LoRAs, 16GB is the 2026 sweet spot. Quantized GGUF versions lower these floors dramatically, letting a 16GB card run models that need 30GB or more at full precision.
Can I run FLUX on 8GB of VRAM?
Yes, through quantization. FLUX.1 dev needs about 33GB at full precision, but a GGUF Q4 version runs in roughly 7GB, which fits an 8GB card. Expect slower generation and a small quality trade-off compared to a 16GB or 24GB card, but it works. Q4 quantization is what makes FLUX viable on budget hardware.
Is it cheaper to run Stable Diffusion locally or use the cloud?
It depends on volume. Below roughly 400 GPU-hours a month, cloud rental or a per-image API is cheaper once you count electricity, depreciation, and idle time, often by 70 to 85 percent. Above about 450 hours a month of sustained use, buying a GPU wins. Run your own generation hours, electricity rate, and card price to find your break-even.
Is ComfyUI better than Automatic1111 in 2026?
Yes. Automatic1111's last major release was February 2025 and it has no FLUX support, so it is legacy for anything beyond SD 1.5 and SDXL. ComfyUI is actively developed, uses the least VRAM, gets new models first, and is the only front end that cleanly runs FLUX and Qwen-Image. Choose ComfyUI, or Forge Neo if you want the A1111 interface.
Can I sell images made with FLUX?
Only with the right variant. FLUX.1 schnell and FLUX.2 klein 4B use the Apache 2.0 license and allow commercial use. FLUX.1 dev, FLUX.2 dev, and FLUX.2 klein 9B ship under a non-commercial license and require a paid Black Forest Labs license to sell output. Always confirm the exact model variant before building a commercial workflow on it.