stable diffusion xl base 1.0 needs about 3.8 GB of memory at Q5_0 (a 3.0 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 6 quants, from 2.6 GB (Q4_0) to 6.9 GB (F16).
Stable Diffusion XL Base 1.0 – 3.47B parameter text‑to‑image model
Stable Diffusion XL Base 1.0 is a 3.47B parameter model for generating images from text prompts. It is available in multiple GGUF quantizations and supports 8K context length. The model is licensed under creativeml-openrail-m.
Good at
- Text‑to‑image generation
- High‑resolution image synthesis
- Creative content creation
Limits
- No vision or audio input
- Requires 8K context for full capability
- License restricts commercial use without permission
Best for
- Artists creating concept art
- Developers building image generation tools
- Researchers experimenting with text‑to‑image models
Who it’s for. This model is suited for developers and researchers who need a lightweight, open‑source text‑to‑image solution. It is ideal for projects that can operate within the constraints of the creativeml-openrail-m license.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_0 | 2.6 GB | 3.4 GB | Fits | Get file → | |
| Q4_1 | 2.8 GB | 3.6 GB | Fits | Get file → | |
| Q5_0 | 3.0 GB | 3.8 GB | Fits | Get file → | |
| Q5_1 | 3.2 GB | 4.0 GB | Fits | Get file → | |
| Q8_0 | 4.1 GB | 5.1 GB | Fits | Get file → | |
| F16 | 6.9 GB | 8.3 GB | Too big | Get file → |
For 8 GB VRAM, the Q4_0 quantization (2.6 GB file, 3.4 GB memory at 8K context) is recommended. If more VRAM is available, Q4_1 (2.79 GB, 3.6 GB) or Q5_0 (2.98 GB, 3.8 GB) provide better precision. The Q8_0 quant (4.11 GB, 5.1 GB) offers full 8‑bit precision for higher quality output.
What GPU do you need for stable diffusion xl base 1.0?
These figures add the file size, an fp16 KV cache at an 8K context window and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: the best quant that fits is Q5_1 (3.2 GB file, about 4.0 GB in use).
- 6 GB VRAM: the best quant that fits is Q8_0 (4.1 GB file, about 5.1 GB in use).
- 8 GB VRAM: the best quant that fits is Q8_0 (4.1 GB file, about 5.1 GB in use).
- 12 GB VRAM: the best quant that fits is F16 (6.9 GB file, about 8.3 GB in use).
Which stable diffusion xl base 1.0 quant should you choose?
Q5_0 (3.0 GB) is the middle option in this repository. Closer to the original model than 4-bit, for a moderate increase in size. A good pick when you have memory to spare.
If memory is tight, the smallest file is Q4_0 at 2.6 GB, with the quality trade-offs that come with fewer bits. The usual sweet spot between file size and quality, and the quant most people start with.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about stable diffusion xl base 1.0
How much VRAM does stable diffusion xl base 1.0 need?
About 3.8 GB at Q5_0 with an 8K context window. That is the 3.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run stable diffusion xl base 1.0 on an 8 GB GPU?
Yes, with Q8_0: the 4.1 GB file needs about 5.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of stable diffusion xl base 1.0 GGUF?
It depends on the quant: Q4_0 is 2.6 GB, Q4_1 is 2.8 GB, Q5_0 is 3.0 GB, Q5_1 is 3.2 GB, Q8_0 is 4.1 GB, F16 is 6.9 GB.
Where can I download stable diffusion xl base 1.0 GGUF?
The files are on Hugging Face in the genai-archive/stable-diffusion-xl-base-1.0-gguf repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does stable diffusion xl base 1.0 use?
Hugging Face lists the license as creativeml-openrail-m. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run Stable Diffusion XL Base 1.0 on 8 GB VRAM?
Yes, the Q4_0 quantization uses approximately 3.4 GB of VRAM at 8K context, fitting within an 8 GB budget.
Does this model support image input?
No, Stable Diffusion XL Base 1.0 does not support vision or audio input; it is text‑to‑image only.
What license applies to this model?
The model is licensed under creativeml-openrail-m, which allows non‑commercial use and requires attribution.