Can you run Stable Diffusion XL 1.0 locally?
Stable Diffusion family · July 2023 · 3.5B parameters · Hugging Face model card
Stable Diffusion XL 1.0 runs locally on an 8 GB GPU at Q4, which needs about 3.8 GB of VRAM for weights plus activation overhead at 1024×1024. The FP16 checkpoint needs about 9.2 GB, so an 8 GB GPU should use FP16 with VAE tiling or the FP16 variant with encoders offloaded, and any 12 GB GPU runs SDXL FP16 with headroom.
Minimum: 6 GB VRAM GPU at GGUF Q4 (e.g. RTX 3060 8GB class) · Recommended: 12 GB VRAM GPU at FP16 for fast 1024×1024 generation without offload
How much VRAM does Stable Diffusion XL 1.0 need at each quantization?
Stable Diffusion XL 1.0 needs 3.8 GB of VRAM at Q4_K_M. The table below lists weights-only size and total VRAM including overhead for each common quantization level including runtime overhead.
| Quantization | Bits / weight | Weights only | Total + overhead | Total + overhead |
|---|---|---|---|---|
| Q4_K_M | 4.8 | 2.1 GB | 3.8 GB | 3.8 GB |
| Q5_K_M | 5.7 | 2.5 GB | 4.2 GB | 4.2 GB |
| Q6_K | 6.6 | 2.9 GB | 4.7 GB | 4.7 GB |
| Q8_0 | 8.5 | 3.7 GB | 5.6 GB | 5.6 GB |
| FP16 | 16 | 7.0 GB | 9.2 GB | 9.2 GB |
Latent diffusion UNet — no KV cache. Table adds a 1.5 GB activation overhead for 1024×1024 generation; the 6.9 GB FP16 checkpoint matches the 3.5B total (UNet 2.6B + two text encoders + VAE).
Method: weights = parameters × bits-per-weight (Q4_K_M ≈ 4.8, Q5_K_M ≈ 5.7, Q6_K ≈ 6.6, Q8_0 ≈ 8.5, FP16 = 16), plus 10% loading overhead, plus KV cache from the verified architecture config (not applicable to this architecture). Source: 3.5B-parameter base model (2.6B UNet + CLIP-L + OpenCLIP-G text encoders + VAE), 6.9 GB FP16 checkpoint — HF model card (stabilityai/stable-diffusion-xl-base-1.0).
Which GPUs can run Stable Diffusion XL 1.0 locally?
At Q4_K_M with a 4k context, Stable Diffusion XL 1.0 needs 3.8 GB of VRAM. The lists below are computed live from our GPU database and grouped by how much headroom the card has. Disclosure: CompareAIHardware.com participates in the Amazon Associates program and earns from qualifying purchases through links on this page. Affiliate relationships do not influence our recommendations.
Runs Stable Diffusion XL 1.0 comfortably (25%+ VRAM headroom)
| GPU | VRAM | Bandwidth | Type | |
|---|---|---|---|---|
| Arc A580 | 8 GB | 512 GB/s | Consumer GPU | Check price |
| Arc A750 | 8 GB | 512 GB/s | Consumer GPU | Check price |
| GeForce RTX 3070EOL | 8 GB | 448 GB/s | Consumer GPU | Check price |
| GeForce RTX 4060 | 8 GB | 272 GB/s | Consumer GPU | Check price |
| GeForce RTX 4060 Ti 8GB | 8 GB | 288 GB/s | Consumer GPU | Check price |
| GeForce RTX 5050 | 8 GB | 320 GB/s | Consumer GPU | Check price |
| GeForce RTX 5060 | 8 GB | 448 GB/s | Consumer GPU | Check price |
| Radeon RX 7600 | 8 GB | 288 GB/s | Consumer GPU | Check price |
| Radeon RX 9050 | 8 GB | 288 GB/s | Consumer GPU | |
| Radeon RX 9060 XT 8GB | 8 GB | 320 GB/s | Consumer GPU | |
| Arc B570 | 10 GB | 380 GB/s | Consumer GPU | Check price |
| GeForce RTX 3080 10GBEOL | 10 GB | 760 GB/s | Consumer GPU | Check price |
| GeForce RTX 2080 TiEOL | 11 GB | 616 GB/s | Consumer GPU | Check price |
| Arc B580 Can it run? | 12 GB | 456 GB/s | Consumer GPU | Check price |
| GeForce RTX 3060 12GB Can it run? | 12 GB | 360 GB/s | Consumer GPU | Check price |
| GeForce RTX 3080 TiEOL | 12 GB | 912 GB/s | Consumer GPU | Check price |
| GeForce RTX 4070EOL | 12 GB | 504 GB/s | Consumer GPU | Check price |
| GeForce RTX 4070 SUPEREOL | 12 GB | 504 GB/s | Consumer GPU | Check price |
| GeForce RTX 5070 | 12 GB | 672 GB/s | Consumer GPU | Check price |
| Radeon RX 7700 XT | 12 GB | 432 GB/s | Consumer GPU | Check price |
| Radeon RX 9070 GRE | 12 GB | 432 GB/s | Consumer GPU | |
| Arc A770 16GB | 16 GB | 560 GB/s | Consumer GPU | Check price |
| GeForce RTX 4060 Ti 16GB Can it run? | 16 GB | 288 GB/s | Consumer GPU | Check price |
| GeForce RTX 4070 Ti SUPEREOL | 16 GB | 672 GB/s | Consumer GPU | Check price |
| GeForce RTX 4080EOL | 16 GB | 716 GB/s | Consumer GPU | Check price |
| GeForce RTX 4080 SUPER | 16 GB | 736 GB/s | Consumer GPU | Check price |
| GeForce RTX 5060 Ti 16GB Can it run? | 16 GB | 448 GB/s | Consumer GPU | Check price |
| GeForce RTX 5070 Ti | 16 GB | 896 GB/s | Consumer GPU | Check price |
| GeForce RTX 5080 | 16 GB | 960 GB/s | Consumer GPU | Check price |
| NVIDIA RTX PRO 2000 Blackwell | 16 GB | 288 GB/s | Pro GPU | Check price |
| Radeon RX 6800 XTEOL | 16 GB | 512 GB/s | Consumer GPU | Check price |
| Radeon RX 7600 XT | 16 GB | 288 GB/s | Consumer GPU | Check price |
| Radeon RX 7800 XT | 16 GB | 624 GB/s | Consumer GPU | Check price |
| Radeon RX 9060 XT 16GB | 16 GB | 320 GB/s | Consumer GPU | |
| Radeon RX 9060 XT LP (16GB) | 16 GB | 320 GB/s | Consumer GPU | |
| Radeon RX 9070 | 16 GB | 640 GB/s | Consumer GPU | Check price |
| Radeon RX 9070 XT | 16 GB | 640 GB/s | Consumer GPU | Check price |
| Radeon RX 7900 XT | 20 GB | 800 GB/s | Consumer GPU | Check price |
| GeForce RTX 3090EOL | 24 GB | 936 GB/s | Consumer GPU | Check price |
| GeForce RTX 3090 TiEOL | 24 GB | 1008 GB/s | Consumer GPU | Check price |
| GeForce RTX 4090 | 24 GB | 1008 GB/s | Consumer GPU | Check price |
| NVIDIA RTX PRO 4000 Blackwell | 24 GB | 672 GB/s | Pro GPU | Check price |
| Radeon RX 7900 XTX | 24 GB | 960 GB/s | Consumer GPU | Check price |
| AMD Radeon Pro W7800 | 32 GB | 576 GB/s | Pro GPU | Check price |
| GeForce RTX 5090 | 32 GB | 1792 GB/s | Consumer GPU | Check price |
| NVIDIA RTX 5000 Ada | 32 GB | 576 GB/s | Pro GPU | Check price |
| NVIDIA RTX PRO 4500 Blackwell | 32 GB | 896 GB/s | Pro GPU | Check price |
| NVIDIA A100 40GB SXMEOL | 40 GB | 1555 GB/s | Data Center GPU | |
| AMD Radeon Pro W7900 | 48 GB | 864 GB/s | Pro GPU | Check price |
| NVIDIA RTX PRO 5000 Blackwell | 48 GB | 1344 GB/s | Pro GPU | |
| RTX 6000 Ada | 48 GB | 960 GB/s | Pro GPU | Check price |
| RTX A6000 | 48 GB | 768 GB/s | Pro GPU | Check price |
| H100 SXM | 80 GB | 3350 GB/s | Data Center GPU | |
| NVIDIA A100 80GB SXM | 80 GB | 2039 GB/s | Data Center GPU | |
| NVIDIA H100 PCIe 80GB | 80 GB | 2039 GB/s | Data Center GPU | |
| NVIDIA RTX PRO 6000 Blackwell | 96 GB | 1792 GB/s | Pro GPU | Check price |
| H200 SXM | 141 GB | 4800 GB/s | Data Center GPU | |
| AMD Instinct MI300X | 192 GB | 5300 GB/s | Data Center GPU | |
| NVIDIA B200 | 192 GB | 8000 GB/s | Data Center GPU | |
| AMD Instinct MI325X | 256 GB | 6000 GB/s | Data Center GPU | |
| AMD Instinct MI350X | 288 GB | 8000 GB/s | Data Center GPU | |
| AMD Instinct MI355X | 288 GB | 8000 GB/s | Data Center GPU | |
| NVIDIA B300 (Blackwell Ultra) | 288 GB | 8000 GB/s | Data Center GPU | |
| AMD Instinct MI430X | 432 GB | 23300 GB/s | Data Center GPU | |
| AMD Instinct MI455X | 432 GB | 23300 GB/s | Data Center GPU |
Minimum GPUs that fit Stable Diffusion XL 1.0 at Q4_K_M
These GPUs hold the model but leave little headroom — keep contexts short.
| GPU | VRAM | Bandwidth | Type | |
|---|---|---|---|---|
| Radeon RX 9050 (4GB OEM) | 4 GB | — | Consumer GPU |
Can a Mac run Stable Diffusion XL 1.0?
Yes — these Apple Silicon machines fit Stable Diffusion XL 1.0 at Q4_K_M, since macOS lets the GPU use about 75% of unified memory. Generation speed is bound by memory bandwidth, so the GB/s column matters as much as capacity.
| Apple Silicon | Unified memory | Usable by GPU (~75%) | Bandwidth |
|---|---|---|---|
| Apple M3 | 24 GB | 18 GB | 150 GB/s |
| Apple M4 | 32 GB | 24 GB | 120 GB/s |
| M6 (Mac mini) | 32 GB | 24 GB | 170 GB/s |
| Apple M3 Pro | 36 GB | 27 GB | 300 GB/s |
| Apple M4 Pro | 64 GB | 48 GB | 273 GB/s |
| Apple M5 Pro | 64 GB | 48 GB | 307 GB/s |
| M5 Pro (Mac mini) | 64 GB | 48 GB | 307 GB/s |
| Apple M3 Max | 128 GB | 96 GB | 400 GB/s |
| Apple M5 Max | 128 GB | 96 GB | 614 GB/s |
| M4 Max (MacBook Pro) | 128 GB | 96 GB | 546 GB/s |
| M5 Max (Mac Studio) | 128 GB | 96 GB | — |
| M5 Ultra (Mac Studio) | 512 GB | 384 GB | 1200 GB/s |
Can Stable Diffusion XL 1.0 run on mini PCs, Jetson, or NPU devices?
These edge and NPU devices from our database have enough memory for Stable Diffusion XL 1.0 at Q4_K_M. Their memory bandwidth is far below discrete GPUs, so expect a fraction of desktop generation speed.
| Device | Memory | Bandwidth | Type |
|---|---|---|---|
| Jetson Orin Nano 8GB Super (Dev Kit) | 8 GB | 102 GB/s | Edge Compute Device |
| NVIDIA Jetson Orin Nano 2 | 8 GB | — | Edge Compute Device |
| Jetson Orin NX 16GB Super | 16 GB | 102 GB/s | Edge Compute Device |
| Intel Core Ultra 9 288V (Lunar Lake) | 32 GB | 136 GB/s | NPU Chip |
| Jetson AGX Orin 32GB | 32 GB | 204 GB/s | Edge Compute Device |
| Jetson AGX Orin 64GB | 64 GB | 204 GB/s | Edge Compute Device |
| Snapdragon X Elite (X1E-84-100) | 64 GB | 135 GB/s | NPU Chip |
| AMD Ryzen AI 9 HX 370 (Strix Point) | 96 GB | 120 GB/s | NPU Chip |
| NVIDIA RTX Spark (superchip) | 128 GB | — | NPU Chip |
Which pre-built systems can run Stable Diffusion XL 1.0?
These mini PCs and workstations from our database fit Stable Diffusion XL 1.0 at Q4_K_M. Usable-memory figures are conservative: Windows shares about half of system RAM with the GPU by default (Linux can expose more), macOS lets Apple Silicon GPUs use about 75% of unified memory, and Linux unified-memory systems such as GB10 expose roughly 90%. Generation speed is bound by memory bandwidth, so compare the GB/s column before buying.
Frequently asked questions
Can a 6 GB GPU run SDXL?
Yes, with GGUF Q4 or Q5 quantized checkpoints, which need about 3.8–4.7 GB of VRAM including activation overhead. Expect 1–2 minutes per 1024×1024 image on a 6 GB card such as the RTX 2060.
How much VRAM does SDXL need at FP16?
SDXL 1.0 needs about 9.2 GB of VRAM at FP16 for 1024×1024 generation, calculated from the 6.9 GB checkpoint plus 10% overhead plus 1.5 GB of activations, so 8 GB cards need VAE tiling or encoder offload.
Is SDXL still worth running in 2026?
Yes for speed and ecosystem: SDXL generates 1024×1024 images in seconds on modern GPUs and has the largest fine-tune and LoRA ecosystem of any open image model, while FLUX-class models produce better text rendering at 3–4× the VRAM cost.
Related guides
- Open Stable Diffusion XL 1.0 in the VRAM calculator — pick quantization and context, see the memory math per GPU class.
- Best GPU for Stable Diffusion
- Best Laptops for Stable Diffusion
- Best GPU Under $500