Best GPU for Stable Diffusion and FLUX: how much memory image models need
By the GPUfor team, updated 23 Nov 2026, 2 min read
On this page
How much memory each model needsWhat that means in practiceSpeed matters more than for textRenting a card for image workImage models are much smaller than large language models, so a single consumer card runs most of them. Memory still decides what runs: the main model has to fit on the card together with its text encoders and image decoder, unless those are moved to the CPU.
How much memory each model needs
| Model | Parameters | Weights 16-bit | Smallest card, 16-bit | Weights 8-bit | Smallest card, 8-bit |
|---|---|---|---|---|---|
| Stable Diffusion XL 1.0 base model; with the refiner the pipeline is 6.6B |
3.5B | 7 GB | RTX 5080 (16 GB) | 3.5 GB | RTX 5080 (16 GB) |
| Stable Diffusion 3.5 Medium | 2.5B | 5 GB | RTX 5080 (16 GB) | 2.5 GB | RTX 5080 (16 GB) |
| Stable Diffusion 3.5 Large | 8.1B | 16.2 GB | RTX 4090 (24 GB) | 8.1 GB | RTX 5080 (16 GB) |
| FLUX.1 [dev] non-commercial licence |
12B | 24 GB | RTX 5090 (32 GB) | 12 GB | RTX 5080 (16 GB) |
Parameters from each maker's announcement or model card (linked). Weights = 2 bytes per parameter at 16-bit, 1 at 8-bit, for the main image model only; the text encoders and the image decoder need memory on top unless they are moved to the CPU. "Smallest card" keeps 10% of its memory for the runtime.
What that means in practice
- SDXL and Stable Diffusion 3.5 Medium are small: their main weights take well under 10 GB at 16-bit, so any card we list runs them, and so do many older cards with 12 GB or more.
- Stable Diffusion 3.5 Large needs about 16 GB for its main weights at 16-bit. A 24 or 32 GB card (RTX 4090, RTX 5090) holds it with room for the rest.
- FLUX.1 [dev] is the largest at 12 billion parameters, about 24 GB at 16-bit for the main model alone. On a 24 GB card it runs at 8-bit or with parts moved to the CPU; a 32 GB RTX 5090 or a data-centre card holds more of it at once. Its licence is non-commercial.
Speed matters more than for text
For an image model, memory decides what runs and the card's compute decides how fast. A newer consumer card is often the best value: it is fast, it holds these models, and it costs a fraction of a data-centre card per hour. A data-centre card pays off when you generate in large batches or train your own fine-tune.
Renting a card for image work
Every card we list holds SDXL and Stable Diffusion 3.5 Medium. Today's cheapest hourly prices, with the price per GB of memory:
| Card | Memory | Cheapest fixed price | Per GB of memory |
|---|---|---|---|
| A100 | 80 GB | $1.39/h Massed Compute | $0.017/h |
| RTX PRO 6000 Blackwell | 96 GB | $1.80/h Nebius | $0.019/h |
| L40S | 48 GB | $1.09/h Runpod | $0.023/h |
| H200 | 141 GB | $3.49/h Civo | $0.025/h |
| H100 | 80 GB | $2.70/h Hyperstack | $0.034/h |
| RTX 4090 | 24 GB | $0.89/h Runpod | $0.037/h |
| B200 | 180 GB | $7.00/h Hyperstack | $0.039/h |
| RTX 5090 | 32 GB | $1.39/h Runpod | $0.043/h |
Cheapest fixed price for a machine with one card, divided by the card's memory. Checked 1 Dec 2026; the table updates with every price check.
To check the cost of a whole session, with storage for your models and outputs, use the job cost calculator.