# How to run Stable Diffusion locally and make AI images for free on your own PC

Generate unlimited AI images on your own computer — no Midjourney subscription, no per-image fees, nothing sent to a server. Here's exactly how to set it up, and what graphics card you need.

Updated Dec 1, 2026 · By Ari Vale

This page has referral links. As an Amazon Associate we earn from qualifying purchases.

Our Vast referral code: 623346 (link: https://cloud.vast.ai/?ref_id=623346). New users get no bonus from it; we earn 3% of what referred users spend (Vast's referral program docs: https://docs.vast.ai/guides/reference/referral-program?ref_id=623346).

**Higgsfield's new-user discount, up to 50% off through a partner link.** The biggest new-user discount we found is Higgsfield's partner-link offer: up to 50% off the first payment, for 3 hours after sign-up through a partner link like ours, applied automatically, no code. The real creator codes we tested took 10% off (the 4 real ones among the 15 we typed into Higgsfield's Promo code box on November 28, 2026, and only on an account without a plan). Higgsfield's public affiliate program issues no promo codes; its other codes come from its campaigns, Discord events and Support. If a Higgsfield sale is running, compare the offer with the price on the plan card before you pay. [Get up to 50% off Higgsfield](https://higgsfield.ai/pricing?fpr=lax-8e2251&fp_sid=how-to-run-stable-diffusion-locally-free--md) (Referral link: we earn a commission if you buy.) Source: Higgsfield's affiliate page (checked November 28, 2026) and Higgsfield's affiliate team (November 17, 2026). [higgsfield.ai/affiliate](https://higgsfield.ai/affiliate?fpr=lax-8e2251&fp_sid=how-to-run-stable-diffusion-locally-free--md)

Midjourney and DALL·E are great, but they cost money, cap your generations, and send every prompt to a server. **Stable Diffusion runs entirely on your own hardware** — download the model weights, install a free interface, and generate unlimited AI images privately, offline, for nothing but electricity. Setup takes under 30 minutes once your drivers are in place, and it's more approachable than it used to be. Here's exactly how to do it in 2026, and — the part that actually matters — what graphics card you need.

## The short version

- **Free and unlimited** — generate as many images as you want, privately, offline, no subscription.
- **Pick an interface:** Forge (fast, low-VRAM, beginner-friendly) or ComfyUI (most powerful).
- **VRAM needed:** 4GB for SD 1.5, 8GB+ for SDXL, 12GB+ for Flux.
- **Best budget card:** the [RTX 3060 12GB](https://aliteq.com/rtx-3060-12gb-local-ai) — the go-to for local image generation.
- **Setup:** install your GPU drivers, the interface (ComfyUI's desktop app brings its own Python; Forge still wants Python 3.10, checked Nov 22, 2026), a model — then generate.

## Step 1: choose your interface

Stable Diffusion needs a front-end. In 2026 there are three main choices. **Forge** is a fork optimized for speed and lower VRAM, and it's what we'd recommend for most people — familiar form-style interface, runs well on modest cards. **ComfyUI** is the most powerful and actively maintained option; it uses a visual node graph that exposes every step and makes complex workflows shareable, but it's more to learn. **AUTOMATIC1111 (A1111)** was the classic beginner pick, but its development has stalled, so we'd steer new users to Forge instead. One caveat on Forge: its last code change on GitHub was June 26, 2025 (checked November 22, 2026), so newer model families land in ComfyUI first. For a first setup: Forge if you want the simplest screen, [ComfyUI](https://aliteq.com/comfyui) if you want control. If you'd rather not touch Python at all, ComfyUI's desktop app for Windows and macOS is the easiest install of the three.

![A creative digital workspace](https://media.aliteq.com/media/2026/07/b8-sd-body.jpg)
Unlimited, private, offline image generation — the free alternative to a Midjourney subscription. · Unsplash

To run Stable Diffusion locally for free, install the ComfyUI desktop app (Windows or macOS) or Forge, put a free model file such as SDXL in its models folder, and type a prompt: on a GPU with 8GB of VRAM or more, the first image takes seconds, offline, with no per-image fees.

## Stable Diffusion locally in 3 steps

Local Stable Diffusion needs three things: a free interface, a model file and a GPU with enough VRAM (4GB for SD 1.5, 8GB for SDXL, 12GB for Flux). Everything then runs offline on your PC.

- **1. Install an interface:** the ComfyUI desktop app (Windows, macOS) or the ComfyUI portable build for NVIDIA, AMD or Intel GPUs; Forge if you prefer a simple form layout.
- **2. Download a model:** an SDXL or SD 1.5 checkpoint (.safetensors) from Hugging Face or Civitai into the interface's models/checkpoints folder.
- **3. Generate your first image:** pick the checkpoint, type a prompt, press Queue (ComfyUI) or Generate (Forge). No internet needed after the downloads.

> **Updated November 22, 2026**
>
> Re-checked November 22, 2026: ComfyUI's code now lives at github.com/Comfy-Org/ComfyUI (newest release v0.46.0, November 18, 2026) and its install advice below still holds; Nvidia GTX 10 series and older cards need ComfyUI's legacy cu126 portable build, and Forge has had no new code on its main branch since June 26, 2025. On November 14, 2026 we re-read ComfyUI's README and corrected our install advice: ComfyUI now recommends its desktop app for Windows and Mac, ships portable builds for NVIDIA, AMD and Intel GPUs, and runs on Python 3.13 (its portable build bundles Python 3.13 with PyTorch CUDA 13.0). The old 'use Python 3.10 only' rule applies to Forge's and AUTOMATIC1111's installers, not to ComfyUI.

### What to buy or rent for Stable Diffusion

- **ASUS Prime GeForce RTX 5060 Ti 16GB**: SDXL every day and Flux at its 12 GB minimum, on your own PC. [Check price on Amazon](https://www.amazon.com/dp/B0F4RZDFD5?tag=aliteqofficia-20)
- **RTX 4090 (24 GB) by the hour**: laptops and cards under 8 GB, or one evening of big Flux renders. [Rent a 4090 on Vast.ai](https://cloud.vast.ai/?ref_id=623346) (live prices: https://aliteq.com/vast-ai-pricing)
- **RTX 4090 (24 GB) on demand**: a steady machine that won't get reclaimed mid-render. [Rent a 4090 on Runpod](https://console.runpod.io/signup?ref=nuninlts) (live prices: https://aliteq.com/runpod-pricing)

Referral link: we earn a commission if you buy.

## Step 2: know the VRAM you need

This is the make-or-break factor, because image models are VRAM-hungry. Here's the honest breakdown: **SD 1.5** models run on as little as 4GB (with a low-VRAM flag). **SDXL** — the quality standard for 2026 — needs 8GB minimum, with 10–12GB comfortable. **[Flux](https://aliteq.com/how-to-run-flux-locally)**, the newest high-quality family, wants 12GB minimum and 24GB to be happy. If you're buying a card specifically for this, the [RTX 3060 12GB](https://aliteq.com/rtx-3060-12gb-local-ai) is the perennial budget recommendation — 12GB of VRAM at a low price handles SDXL well. [Apple Silicon](https://aliteq.com/best-mac-for-local-ai) Macs work too, using [system RAM](https://aliteq.com/how-much-ram-do-you-need-for-local-ai) as VRAM (16GB+ recommended).

### Stable Diffusion VRAM by model type

|   | Model family | Minimum VRAM | Comfortable |
| --- | --- | --- | --- |
| SD 1.5 | 4GB | 6–8GB |
| SDXL (2026 standard) | 8GB | 10–12GB |
| Flux (newest, best quality) | 12GB | 24GB |

**Own one instead of renting: ASUS Prime GeForce RTX 5060 Ti 16GB** 16 GB of VRAM: above the 10–12 GB that SDXL is comfortable with and the 12 GB Flux needs at minimum, per the table above. Make sure it's the 16GB version. Best for: SDXL every day and Flux at its minimum, on your own machine.. [Check price on Amazon](https://www.amazon.com/dp/B0F4RZDFD5?tag=aliteqofficia-20) (Referral link: we earn a commission if you buy.)

### Flux at full quality, card by card

Flux needs about 24 GB of VRAM.

- 8 GB card (RTX 4060, laptops) (8 GB): does not fit
- RTX 3060 12GB (12 GB): does not fit
- RTX 5060 Ti 16GB (16 GB): does not fit
- RTX 4090 / 3090 (24 GB): fits

24 GB is the comfortable figure from the table above; Flux starts at 12 GB with offloading and lower precision, slower. Card sizes are the makers' VRAM specs.

Doesn't fit your card? Rent an RTX 4090 for the hours Flux needs, then stop it. No need to buy a card to find out if you like Flux. On Vast the link opens our ComfyUI template with nothing to install; on Runpod pick a ComfyUI template. Stop the machine when you're done so billing stops. [Rent on Vast.ai](https://cloud.vast.ai/?template_id=0ab5fb6b65703a1865fef450b2a61d14&ref_id=623346) · [Rent on Runpod](https://console.runpod.io/signup?ref=nuninlts) (Referral link: we earn a commission if you buy.) Live prices: https://aliteq.com/cloud-gpu

## Step 3: install and generate

Once you've picked an interface, the setup depends on which one. **ComfyUI's desktop app** installs like any program and brings its own Python, so you only need current GPU drivers; its Windows portable build for NVIDIA bundles Python 3.13 with PyTorch CUDA 13.0 and supports RTX 20 series cards and newer; GTX 10 series and older cards use the legacy cu126 build with Python 3.12 and CUDA 12.6 (ComfyUI install docs, read November 22, 2026). ComfyUI says the portable build is not recommended for regular users, who should use the desktop app. **Forge** and **AUTOMATIC1111** still expect Python 3.10 and run their own installer, which pulls in dependencies automatically. Download a model checkpoint (Civitai and Hugging Face host thousands, many free), point the interface at it, type a prompt, and generate. If you hit out-of-memory errors, launch with a low-VRAM flag or use an FP8 checkpoint to cut memory use 40–50% with minimal quality loss. From there it's all experimentation — and every image is free. If it still won't fit, [the cheapest cloud GPU for ComfyUI with Flux or Wan video](https://aliteq.com/cloud-gpu-for-comfyui-stable-diffusion) lists which rented card each workflow needs. A rented [RTX 4090](https://aliteq.com/gpus/rtx-4090) (24 GB) costs from $0.31/hr, typical $0.47/hr on demand on Vast (Nov 22, 2026), and [our rent vs buy breakdown](https://aliteq.com/rent-vs-buy-gpu-ai-cloud-vs-local) shows the point where owning a card gets cheaper.

Using an AMD Radeon or Intel Arc card instead of Nvidia? Our guide to [running Stable Diffusion and FLUX on AMD and Intel Arc GPUs](https://aliteq.com/stable-diffusion-on-amd-and-intel-arc-gpus) covers ROCm, PyTorch XPU and which models fit your card; ComfyUI also ships Windows portable builds for AMD and Intel GPUs. For the wider setup on those cards, see [how to run local AI on an AMD Radeon](https://aliteq.com/how-to-run-local-ai-amd-radeon) and [how to run local AI on Intel Arc](https://aliteq.com/how-to-run-local-ai-intel-arc).

**No GPU? Generate in your browser instead** No GPU at all, or not enough VRAM for SDXL or Flux? Skip the install and generate in your browser instead. Higgsfield runs the models on its own servers and has a free plan, so you can try prompts before deciding whether a local setup is worth it. [Generate images in your browser on Higgsfield](https://higgsfield.ai/ai-image?fpr=lax-8e2251&fp_sid=how-to-run-stable-diffusion-locally-free--md) (Referral link: we earn a commission if you buy.)

> **Prices re-checked December 1, 2026**
>
> Read on [Higgsfield's pricing page](https://higgsfield.ai/pricing?fpr=lax-8e2251&fp_sid=how-to-run-stable-diffusion-locally-free--md): Starter $19 a month (270 credits), Plus $59, or $45 a month billed yearly (1,200 credits), and Ultra $129, or $90 a month billed yearly (3,000 credits). For teams: Team $79 a seat ($65 yearly) and Scale $215 a seat ($150 yearly); Scale now includes 30 days of unlimited Seedance 2.5 at 720p after business verification. US dollars before tax; prices can differ by region.

Step by step from here: [where to download Stable Diffusion for Windows](https://aliteq.com/stable-diffusion-download-windows) (official links only, and how to spot a fake installer), [how to install Forge and the settings to use](https://aliteq.com/stable-diffusion-forge-install-settings), [how to install checkpoints, LoRAs and VAEs](https://aliteq.com/how-to-install-stable-diffusion-checkpoints), and [whether your PC can run it](https://aliteq.com/can-my-pc-run-stable-diffusion) on 4GB, 6GB or 8GB.

Related guides: [How much VRAM do I need for FLUX, SD 3.5 and SDXL? 12 GB runs all but FLUX.2 dev](https://aliteq.com/local-image-generation-vram), [No good GPU? Here's the cheapest way to make AI images anyway](https://aliteq.com/make-ai-images-without-a-good-gpu). Related topics: [AI video and voice tools](https://aliteq.com/best-ai-video-generator), [Cloud GPU rental](https://aliteq.com/cloud-gpu), [How much VRAM do you need to run an AI model](https://aliteq.com/how-much-vram-do-you-need-to-run-ai-models), [What's the best GPU for local AI](https://aliteq.com/best-gpu-for-local-ai).

## Quick answers

**Q: Can I run Stable Diffusion for free on my own computer?**

A: Yes — Stable Diffusion is free and runs entirely on your own PC. You install a free interface (Forge or ComfyUI), download free model weights, and generate unlimited images privately and offline, with no subscription or per-image fees like Midjourney or DALL·E charge. Your only cost is the hardware you own and electricity. Setup takes under 30 minutes once your GPU drivers and Python are in place.

**Q: What graphics card do I need for Stable Diffusion?**

A: It depends on the model. SD 1.5 runs on as little as 4GB of VRAM; SDXL (the 2026 quality standard) needs 8GB minimum and 10–12GB comfortably; Flux wants 12GB minimum, 24GB ideal. The RTX 3060 12GB is the classic budget pick — cheap, with enough VRAM for SDXL. Apple Silicon Macs work too, using system RAM. If you hit memory limits, low-VRAM flags and FP8 checkpoints reduce usage significantly.

**Q: Can I use Stable Diffusion offline?**

A: Yes. Once the interface and a model file are downloaded, ComfyUI and Forge generate images with no internet connection, and nothing you type leaves your PC. You only need to go online again to download new models or updates.

**Q: How do I download Stable Diffusion for my PC?**

A: Download an interface first: the ComfyUI desktop app from comfy.org for Windows or macOS, or the ComfyUI portable build for NVIDIA, AMD or Intel GPUs on Windows. Then download a model checkpoint, such as SDXL, from Hugging Face or Civitai and put it in the models/checkpoints folder. Both are free.

**Q: Is local Stable Diffusion free to use?**

A: The software and many models are free; the licence depends on the model, so check the terms on its download page, especially for commercial use. Your only running cost is electricity.

**Q: Which Stable Diffusion interface is best for beginners?**

A: For the easiest install, the ComfyUI desktop app: it installs like a normal program and ComfyUI recommends it for new users on Windows and Mac. Forge is the choice if you prefer a simple form-style screen to ComfyUI's node graph; it is optimized for speed and lower VRAM use. AUTOMATIC1111 was the classic beginner choice but its development has stalled.

That's the whole path to free, unlimited, private AI image generation: pick Forge or ComfyUI, match a model to your [VRAM](https://aliteq.com/tools/vram-calculator), and create. For the best card for the job, see our [GPU-for-Stable-Diffusion guide](https://aliteq.com/best-gpu-for-stable-diffusion); for text AI, the [local-LLM beginner's guide](https://aliteq.com/how-to-run-a-local-llm-on-your-pc-beginners-guide).

**Not sure a new GPU is worth it yet?** Try your workflow on a rented RTX 4090 for an hour or two before you spend hundreds on a card. The link opens Vast.ai with ComfyUI preinstalled. If you end up using it every day, buying makes more sense. [Try ComfyUI on a rented 4090 first](https://cloud.vast.ai/?template_id=0ab5fb6b65703a1865fef450b2a61d14&ref_id=623346) (Referral link: we earn a commission if you buy.) Live RTX 4090 prices on Vast.ai, from and typical: https://aliteq.com/vast-ai-pricing

For a primary-source reference, see the official Stability AI model page: [Stability AI](https://stability.ai/stable-image).

**Local vs hosted:** running Stable Diffusion yourself is the free, private option, but for business assets — product shots, ad creative, social images — a hosted tool skips the setup entirely. We compared the options in our test of two AI image models on one product photo.

## Sources

- [ComfyUI README and installation docs: desktop app, Windows portable builds for NVIDIA, AMD and Intel, Python 3.13 support, latest release v0.46.0 of Nov 18, 2026 (read Nov 22, 2026)](https://github.com/Comfy-Org/ComfyUI)
- [ComfyUI desktop app download page (Windows and macOS; read Nov 22, 2026)](https://www.comfy.org/download)
- [Stable Diffusion WebUI Forge, GitHub: last commit on the main branch June 26, 2025 (read Nov 22, 2026)](https://github.com/lllyasviel/stable-diffusion-webui-forge)
- [Thunder Compute — Stable Diffusion setup](https://www.thundercompute.com/blog/how-to-run-stable-diffusion)
- [Stability AI — Stable Diffusion](https://stability.ai/)
- [Stability AI](https://stability.ai/stable-image)

---

Canonical: https://aliteq.com/how-to-run-stable-diffusion-locally-free

This page has referral links. As an Amazon Associate we earn from qualifying purchases.
