stable-diffusion-3.5-medium
stabilityai/stable-diffusion-3.5-mediumstable-diffusion-3.5-medium at Q4_K_M is exactly 1,787,064,768 bytes (1.66 GiB / 1.79 GB) — an effective 5.789 bits per weight, not the nominal 4.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| Q3_K_S | 1.35 GiB | 1,449,427,392 | 4.695 | — | city96 |
| Q3_K_M | 1.39 GiB | 1,494,548,928 | 4.841 | — | city96 |
| F162 shards | 1.52 GiB | 1,635,499,328 | 5.298 | — | second-state |
| Q4_K_S | 1.62 GiB | 1,744,597,440 | 5.651 | — | city96 |
| Q4_0 | 1.62 GiB | 1,744,597,440 | 5.651 | — | city96 |
| Q4_K_M | 1.66 GiB | 1,787,064,768 | 5.789 | — | city96 |
| Q4_K_M | 1.66 GiB | 1,787,064,768 | 5.789 | — | tensorart |
| Q4_1 | 1.75 GiB | 1,883,500,992 | 6.101 | — | city96 |
| Q5_0 | 1.88 GiB | 2,022,404,544 | 6.551 | — | city96 |
| Q5_K_S | 1.88 GiB | 2,022,404,544 | 6.551 | — | city96 |
| Q5_K_M | 1.93 GiB | 2,067,526,080 | 6.697 | — | city96 |
| Q5_1 | 2.01 GiB | 2,161,308,096 | 7.001 | — | city96 |
| Q6_K | 2.16 GiB | 2,317,574,592 | 7.507 | — | city96 |
| Q8_0 | 2.66 GiB | 2,855,825,856 | 9.251 | — | tensorart |
| Q8_0 | 2.66 GiB | 2,855,825,856 | 9.251 | — | city96 |
| F16 | 4.60 GiB | 4,939,379,136 | 16.000 | — | city96 |
| Q4_04 shards | 4.93 GiB | 5,293,502,272 | 17.147 | — | second-state |
| Q4_14 shards | 5.39 GiB | 5,789,347,424 | 18.753 | — | second-state |
| Q5_04 shards | 5.85 GiB | 6,285,195,840 | 20.360 | — | second-state |
| Q5_14 shards | 6.32 GiB | 6,781,040,992 | 21.966 | — | second-state |
| Q8_04 shards | 8.62 GiB | 9,260,281,152 | 29.997 | — | second-state |
Pipeline components
| Component | Size | Share | Can live on the CPU? |
|---|---|---|---|
| denoiser | 4.76 GiB | 19% | no, must be resident |
| text encoder | 0.46 GiB | 2% | yes — the usual first VRAM saving |
| text encoder 2 | 2.59 GiB | 10% | yes — the usual first VRAM saving |
| text encoder 3 | 17.74 GiB | 69% | yes — the usual first VRAM saving |
| vae | 0.16 GiB | 1% | no, must be resident |
| Full pipeline | 25.70 GiB | resident if nothing is offloaded | |
The parameter count published for a diffusion model describes the denoiser alone. Running it also requires its text encoder and VAE, and the text encoder is often nearly as large as the denoiser — which is why offloading it is the standard first move when you run out of memory. This repository also ships a single-file copy of the denoiser at its root; we count it once, not twice.
We publish component sizes here, not throughput. Community-submitted image-generation rates do exist for many GPUs and we show them on the hardware pages, but they aggregate runs at different resolutions, step counts and settings, so they cannot be attributed to one model. Peak memory during sampling is unmeasured by any public source, and we do not estimate it.
Compare with
Will it run on your card?
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 1.29 GiB. The real file is 1.66 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.
Architecture
Architecture unavailable — this repository is gated and no ungated mirror was found. Exact file sizes above are still authoritative; only the KV math needs the config.
Questions people ask
- How much VRAM does stable-diffusion-3.5-medium need?
- Q4_K_M is exactly 1,787,064,768 bytes (1.66 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- Which quantization of stable-diffusion-3.5-medium should I use?
- Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.