How to Run Stable Diffusion Locally: Apps, VRAM, Licenses
Run Stable Diffusion locally with ComfyUI or AUTOMATIC1111. Both claim 4GB GPU support; the model cards list no VRAM, and the licenses differ a lot.
In this story (8 sections)
To run Stable Diffusion locally, install ComfyUI or AUTOMATIC1111, download a model from Hugging Face, and point the app at it. Both apps say they can work with a 4GB graphics card, but none of the official model cards for SDXL, SD 3.5 or FLUX.1 give a VRAM figure, and the licenses matter more than most people think.
Everything below is as of November 30, 2026, from the apps' GitHub pages and the official model cards.
Pick your app: ComfyUI or AUTOMATIC1111
There are two well-known front ends.
ComfyUI runs on Windows, Linux and macOS, and supports Nvidia, AMD (ROCm), Intel Arc and Apple Silicon. Its model list covers SD 1.5, SDXL, SD3.5, Flux.1 and Flux.2, plus video, audio and 3D models, and the list isn't exhaustive. It's licensed GPL-3.0.
AUTOMATIC1111's stable-diffusion-webui recommends NVIDIA cards and keeps separate guides for AMD, Intel, Ascend NPU and Apple Silicon. It's licensed AGPL-3.0.
Our take: start with ComfyUI. It names SD3.5 and Flux in its own supported list, and it has a desktop installer. Pick AUTOMATIC1111 if you're on an NVIDIA card, which its README recommends, and want its Windows release package.
The ComfyUI install ritual
ComfyUI's README calls Comfy Desktop "the recommended way to install ComfyUI", and it's offered for Windows and macOS. Other routes:
- Windows Portable: listed by name in the README.
- comfy-cli: a command-line installer.
- Manual install: clone the repo with git and set it up yourself.
- Comfy Cloud: also listed; check the README for what it involves.
For a manual install, the README recommends Python 3.12 to 3.14, says torch 2.7 is the minimum supported version, and requires cu130 or above on Nvidia 20 series cards and newer. If that list reads like a curse in a foreign tongue, Desktop is the friendlier door.
The AUTOMATIC1111 install on Windows
AUTOMATIC1111 gives NVIDIA users on Windows two paths.
- Release package: download
sd.webui.zipfrom the v1.0.0-pre release, extract it, runupdate.bat, then runrun.bat. - From source: install Python 3.10.6 (tick "Add to PATH") and git, clone the repo, then run
webui-user.batas a normal user, not as admin.
Note that version number. The README warns: "Newer version of Python does not support torch." If you already have a newer Python installed for something else, this is where installs go sideways, so the release package is the easier road.
How much VRAM you need, and why no one will say
This is the awkward bit. The official model cards for SD 3.5 Large, SDXL base 1.0 and FLUX.1 dev list no VRAM requirement. They only point at workarounds: the SD 3.5 Large card says quantization can reduce VRAM use, and the SDXL and FLUX cards show code that offloads parts of the model to the CPU.
The only numbers come from the apps:
| Source | What it says |
|---|---|
| ComfyUI README | Can run the biggest open source models on "as low as 4GB vram + 8GB ram relatively quickly" (no models named) |
| AUTOMATIC1111 README | "4GB video card support (also reports of 2GB working)" |
| SD 3.5, SDXL, FLUX.1 model cards | No VRAM figure |
Treat those app claims as vendor claims, not a promise for every model. Model size gives you a rough sense of scale: SD 3.5 Medium is 2B parameters, SDXL base is 3B, SD 3.5 Large is 8B, and both FLUX.1 models are 12B. Bigger models want more memory, but no official page turns those counts into gigabytes. For a deeper look at memory math on the text side, see how much VRAM a local LLM needs.
The models compared, with licenses
Read this table before you sell a single image.
| Model | Size | License | Gated |
|---|---|---|---|
| SD 3.5 Large | 8B, BF16 | Stability Community License | Yes |
| SD 3.5 Medium | 2B, BF16 | Stability Community License | Yes |
| SDXL base 1.0 | 3B, F32 | CreativeML Open RAIL++-M | Check the card |
| FLUX.1 dev | 12B | FLUX.1 [dev] Non-Commercial License | Yes |
| FLUX.1 schnell | 12B, 1 to 4 steps | Apache-2.0 | Yes |
"Gated" means you have to sign in to Hugging Face, accept the conditions and share your info before the files download.
The license fine print, decoded
SD 3.5 (Large and Medium): the Stability Community License is "free for research, non-commercial, and commercial use" for organizations or individuals with less than $1M in total annual revenue. Above $1M, you contact Stability AI for an Enterprise License.
SDXL base 1.0: it ships under CreativeML Open RAIL++-M, but its card's Direct Use section says "The model is intended for research purposes only." Read the license and the card together before using it for paid work.
FLUX.1 dev: the card states "This model falls under the FLUX.1 [dev] Non-Commercial License." The same card also says outputs can be used for personal, scientific and commercial purposes as described in the license. Those two lines pull in different directions, so read the license text on the card itself rather than trusting anyone's summary, ours included.
FLUX.1 schnell: Apache-2.0, usable for personal, scientific and commercial purposes, and it generates in only 1 to 4 steps.
The apps have their own licenses (GPL-3.0 for ComfyUI, AGPL-3.0 for AUTOMATIC1111). Check each model's card for the terms of the model itself.
Local or cloud, and where to go next
Running locally trades a subscription for setup time and your own hardware doing the work. For the wider argument, read local AI vs cloud AI. If you'd rather skip the install entirely, our roundup of free AI image generators covers the browser options, and open-weight models explains what "open" means for downloads like these.
What to do next
- Just curious, any decent NVIDIA card: install Comfy Desktop and start with SD 3.5 Medium, the smallest model in the table.
- Want to sell what you make: start with the license text for FLUX.1 schnell (Apache-2.0) or SD 3.5 (Community License, under $1M in annual revenue). FLUX.1 dev's license is non-commercial, so read it closely before any paid use.
- Old card with 4GB: both apps claim support at that level, and AUTOMATIC1111's README also notes reports of 2GB working. Treat both as vendor claims.
- NVIDIA on Windows and want a zip install: AUTOMATIC1111's release package on Windows, with Python 3.10.6 if you build from source.
Receipts
Official pages behind this story, read Nov 30, 2026- huggingface.coWhat license covers SD 3.5 Large and what is the revenue limit? · SD 3.5 Large parameter count?
- huggingface.coSD 3.5 Medium size, license, VRAM?
- huggingface.coSDXL base 1.0 license and intended use?
- huggingface.coFLUX.1 dev license?
- huggingface.coFLUX.1 schnell license and steps?
- github.comComfyUI minimum VRAM claim? · ComfyUI install methods and platforms?
1 more receipts
- github.comAUTOMATIC1111 Python version on Windows? · AUTOMATIC1111 Windows install steps?
Filed under
Local AI: The Hearth“local stable diffusion”