?canitrun.com

Can RTX 4090 24GB run Stable Diffusion XL 1.0?

Short answer: Yes. The RTX 4090 24GB runs Stable Diffusion XL 1.0 entirely on the GPU at FP16, using 6.8 of 22.8 GB usable VRAM, at ≈4 s/image (likely 3.3 s – 6.2 s).

The most widely supported image model with thousands of LoRAs. · Data updated November 2026 · Stable Diffusion XL 1.0 requirements

YesRuns Great (Full GPU Offload)
Best quantization
FP16
Memory needed
6.8 GB
5.2 weights + 1.6 encoders
Weights on GPU
100%
16 GB spare
Est. time per image
≈4 s/image
likely 3.3 s – 6.2 s

GeForce RTX 4090 24GB: 24 GB VRAM (22.8 GB usable) · 1008 GB/s · assumes 32 GB DDR4 system RAM for offload. Speeds are estimates.

Different RAM or context length? Check every model on RTX 4090 24GB →

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.

QuantizationMemoryFit on RTX 4090 24GBEst. timeQuality
FP16Recommended6.8 GBFull GPU16 GB spare≈4 s/image3.3 s – 6.2 sLossless reference
Q8_04.3 GBFull GPU18.5 GB spare≈4.6 s/image3.8 s – 7.1 sNear-lossless
Q6_K3.7 GBFull GPU19.1 GB spare≈4.6 s/image3.8 s – 7.1 sExcellent
Q4_K_M3.2 GBFull GPU19.6 GB spare≈4.6 s/image3.8 s – 7.1 sGreat (default)

FAQ

›Can RTX 4090 24GB run Stable Diffusion XL 1.0?

Yes. Verdict: Runs Great (Full GPU Offload). The best setting is FP16, using ~6.8 GB with 100% of the model weights on the GPU, at an estimated ≈4 s/image (likely 3.3 s – 6.2 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 4090 24GB?

Use FP16. It fits entirely in RTX 4090 24GB's 22.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.