Can RTX 4070 12GB run Stable Diffusion XL 1.0?
Short answer: Yes. The RTX 4070 12GB runs Stable Diffusion XL 1.0 entirely on the GPU at FP16, using 6.8 of 10.8 GB usable VRAM, at ≈8 s/image (likely 6.7 s – 12.3 s).
The most widely supported image model with thousands of LoRAs. · Data updated November 2026 · Stable Diffusion XL 1.0 requirements
Fits entirely in GPU memory with room to spare, at a usable speed.
- Best quantization
- FP16
- Memory needed
- 6.8 GB
- 5.2 weights + 1.6 encoders
- Weights on GPU
- 100%
- 4 GB spare
- Est. time per image
- ≈8 s/image
- likely 6.7 s – 12.3 s
GeForce RTX 4070 12GB: 12 GB VRAM (10.8 GB usable) · 504 GB/s · assumes 32 GB DDR4 system RAM for offload. Speeds are estimates.
Quantization breakdown
Memory = weights + 1.6 GB for text encoders, VAE and activations. A fit with less than ~0.75 GB (or 5%) spare is marked tight: it may fail to load with a longer context or other apps using VRAM.
| Quantization | Memory | Fit on RTX 4070 12GB | Est. time | Quality |
|---|---|---|---|---|
| FP16Recommended | 6.8 GB | Full GPU4 GB spare | ≈8 s/image6.7 s – 12.3 s | Lossless reference |
| Q8_0 | 4.3 GB | Full GPU6.5 GB spare | ≈9.2 s/image7.7 s – 14.2 s | Near-lossless |
| Q6_K | 3.7 GB | Full GPU7.1 GB spare | ≈9.2 s/image7.7 s – 14.2 s | Excellent |
| Q4_K_M | 3.2 GB | Full GPU7.6 GB spare | ≈9.2 s/image7.7 s – 14.2 s | Great (default) |
FAQ
›Can RTX 4070 12GB run Stable Diffusion XL 1.0?
Yes. Verdict: Runs Great (fully on GPU, with headroom). The best setting is FP16, using ~6.8 GB with 100% of the model weights on the GPU, at an estimated ≈8 s/image (likely 6.7 s – 12.3 s).
›How much VRAM does Stable Diffusion XL 1.0 need?
Stable Diffusion XL 1.0 has 2.6B parameters. At FP16 it needs ~6.8 GB, at Q4_K_M ~3.2 GB (1.6 GB of weights plus ~1.6 GB for text encoders, VAE and activations). Longer contexts need more.
›What quantization should I use for Stable Diffusion XL 1.0 on RTX 4070 12GB?
Use FP16. It fits entirely in RTX 4070 12GB's 10.8 GB of usable VRAM with headroom. We only recommend a higher-quality quant when it also fits with headroom.
›What's the cheapest cloud GPU that runs Stable Diffusion XL 1.0 at full speed?
Vast.ai rents an RTX 3090 for about $0.18/hr, running Stable Diffusion XL 1.0 entirely in VRAM at FP16 at an estimated ≈4.3 s/image. Of the cloud GPUs we track, it's the lowest-priced one that fits without CPU offload or 3-bit quantization; smaller cards may be cheaper but run it with compromises.
Other models on RTX 4070 12GB
All 42 models on RTX 4070 12GB →- Stable Diffusion 3.5 LargeRuns Great
- Wan 2.1 T2V 1.3BRuns Great
- FLUX.1 [dev]Runs Okay
- FLUX.1 [schnell]Runs Okay
- Wan 2.1 T2V 14BBarely Runs
- HunyuanVideo 13BBarely Runs
- Gemma 3 12BRuns Great
- Mistral Nemo 12BRuns Great
- Gemma 2 9BRuns Great
- Qwen 3 8BRuns Great
- DeepSeek R1 Distill 8BRuns Great
- Llama 3.1 8B InstructRuns Great