Hardware

Best GPU for Stable Diffusion, Flux and ComfyUI

The best GPU for Stable Diffusion is an Nvidia card with 16 GB of VRAM or more. VRAM needs for SDXL, Flux and video, picks by budget, AMD and Mac options.

By OmniAI Editorial · Nov 20, 2026 · 14 min read

The best GPU for Stable Diffusion for most people is an Nvidia GeForce card with at least 16 GB of VRAM, such as an RTX 5060 Ti 16 GB, RTX 5070 Ti or RTX 4070 Ti Super. That much memory runs SDXL comfortably and newer, larger models such as Flux with quantised weights. If you want to run the biggest image and video models without compromises, a 24 GB or 32 GB card (a used RTX 3090, an RTX 4090 or an RTX 5090) is the step up. VRAM matters more than raw speed: a fast card that runs out of memory is slower than a modest one that doesn't.

This guide explains what GPU is needed for Stable Diffusion and newer models, how much VRAM each model needs, the best GPU for ComfyUI and Flux at each budget, the best AMD GPU for Stable Diffusion, Mac and cloud options, and what to check before you buy. Prices change quickly and GPU street prices have run far above list prices, so this guide recommends by memory and tier rather than by price.

What GPU Is Needed for Stable Diffusion?

What GPU is needed for Stable Diffusion depends on which model you run. Three things matter, in this order:

  1. VRAM (graphics memory). The model's weights, the text encoders and the image being generated must fit in the GPU's memory. If they don't, generation either fails or slows to a crawl as data is moved in and out of system memory.
  2. Software support. Nearly every image-generation tool, from ComfyUI to Automatic1111-style interfaces and Diffusers, is built and tested first on Nvidia's CUDA. AMD, Intel and Apple work, with more setup and usually less speed.
  3. Speed. More compute and memory bandwidth mean more images per minute. Newer Nvidia cards also support lower-precision formats (FP8 on RTX 40 series, plus FP4 on RTX 50 series) that newer model releases use to save memory and run faster.

A rough rule: 8 GB is the bare minimum for older models, 12 GB is a workable entry point, 16 GB is the sweet spot, and 24–32 GB is for heavy use, large models and video.

How Much VRAM Each Model Needs

Approximate VRAM for generating images at around 1024×1024 pixels, based on model sizes and common settings. Real use varies with resolution, batch size, add-ons like ControlNet and LoRAs, and your software's memory-saving options.

ModelSizeWorkable VRAMComfortable VRAMNotes
Stable Diffusion 1.5About 1 billion parameters4–6 GB8 GBOld but light; huge library of fine-tunes
SDXLAbout 3.5 billion parameters8 GB12–16 GBPopular base for many community models
Stable Diffusion 3.5 LargeAbout 8 billion parameters12 GB (quantised)16–24 GBMedium version is lighter
Flux.1 [dev] / [schnell]12 billion parameters8–12 GB (FP8 or GGUF quantised)16–24 GBFull 16-bit weights alone are about 24 GB
Flux.2 [dev]32 billion parameters24 GB+ with FP8 and offloading32 GB+Nvidia says the full model needs about 90 GB; FP8 cuts that by about 40%
Video models (such as Wan)Often 5–14 billion parameters12–16 GB quantised, slow24–32 GBVideo needs far more memory and time than images

Two techniques stretch smaller cards:

  • Quantisation: FP8 and GGUF versions of models cut memory use with a small quality cost. Our guide to how diffusion models work explains what the model is doing during each step.
  • Offloading: ComfyUI can stream parts of a model from system RAM, which lets large models run on smaller GPUs, at the cost of speed. Nvidia says ComfyUI's weight streaming was upgraded for Flux.2.
Five bars of rising height on an ink baseline, each marked with short ink lines like memory blocks, the fourth bar orange, with a dotted ink line crossing partway up.
More VRAM lets you run larger models: 16 GB is the sweet spot for most image work.

What Makes a GPU Faster for Image Generation

Once a model fits in memory, speed comes from a few things:

  • Tensor cores and generation: image models spend most of their time in matrix maths, which Nvidia's tensor cores accelerate. Each RTX generation has improved them.
  • Low-precision support: RTX 40-series cards (Ada) support FP8, and RTX 50-series cards (Blackwell) add FP4. Models and tools that use these formats run faster and use less memory on supported cards. Older cards can still run quantised models, but without the same hardware speed-up.
  • Memory bandwidth: wider, faster memory keeps the GPU fed, especially at high resolutions and in video.
  • Power and cooling: a card that throttles under long generation sessions slows down. Good cooling matters for batch work.

That's why a newer mid-range card can match an older high-end one for models that fit in both, while the older card's extra memory wins for models that don't.

Best Nvidia GPU for Each RTX Generation

If you're comparing generations, here's how the main Nvidia options line up for image AI:

GenerationStrong choicesNotes
RTX 30 (Ampere)RTX 3090 (24 GB), RTX 3060 (12 GB)Mostly bought used; good memory per dollar, no FP8
RTX 40 (Ada)RTX 4090 (24 GB), RTX 4070 Ti Super (16 GB), RTX 4060 Ti 16 GBFP8 support; efficient; widely available used
RTX 50 (Blackwell)RTX 5090 (32 GB), RTX 5080 and 5070 Ti (16 GB), RTX 5060 Ti 16 GBFP4 support and GDDR7; the 5090 is the only 32 GB consumer card

Avoid the 8 GB versions of any generation if image generation is a priority.

Best GPU for Stable Diffusion by Budget

TierGPUs (VRAM)Good forWatch out for
EntryRTX 3060 (12 GB, often used), Intel Arc B580 (12 GB)SD 1.5, SDXL, quantised FluxSlow on big models; Intel needs more setup
Budget sweet spotRTX 5060 Ti 16 GB, RTX 4060 Ti 16 GBSDXL, Flux in FP8/GGUF, LoRA training on SDXLNarrow memory bus, so slower than higher tiers
Mid-rangeRTX 5070 Ti (16 GB), RTX 4070 Ti Super (16 GB)Fast SDXL and Flux, ComfyUI workflows with ControlNet16 GB still limits the largest models and video
High endRTX 5080 (16 GB), used RTX 3090 (24 GB), RTX 4090 (24 GB)Heavy ComfyUI graphs, Flux at higher precision, videoThe 5080 is fast but has 16 GB; 24 GB cards fit more
TopRTX 5090 (32 GB)Everything a single consumer card can do, including large video modelsPower use, size, and street prices far above list
ProfessionalRTX PRO 6000 Blackwell (96 GB)Full-precision large models, big batches, trainingWorkstation pricing

Notes on specific choices:

  • RTX 5070 (12 GB) vs RTX 5060 Ti 16 GB: the 5070 is faster, but the 5060 Ti's extra 4 GB often matters more for image AI, because it avoids running out of memory.
  • Used RTX 3090: 24 GB at a lower price than new 24 GB cards. It's older and less power-efficient, and lacks FP8 hardware support, but its memory makes it popular for Flux and video. Buy carefully; our best GPU for LLM guide has tips on buying used cards.
  • 8 GB cards (such as RTX 5060 or 4060) work for SD 1.5 and SDXL with care, but they're frustrating for newer models. Avoid them if image AI is the main reason you're buying.

Best GPU for ComfyUI

The best GPU for ComfyUI follows the same rules, with one extra: ComfyUI workflows often chain several models in one graph, such as a base model, an upscaler, ControlNet, IP-Adapter and several LoRAs. Even with ComfyUI's smart memory management, complex graphs push VRAM use up, so:

  • 16 GB is the practical floor for serious node-based workflows.
  • 24–32 GB lets you keep more models loaded at once, which avoids reloading between steps and makes iteration faster.
  • Multiple GPUs don't combine for one image. A single generation runs on one GPU, so two 12 GB cards are not the same as one 24 GB card for image work. Extra GPUs help run separate jobs in parallel.
  • System RAM matters too: 32 GB is a sensible minimum, and 64 GB helps when offloading large models.

Best GPU for Flux

Flux models from Black Forest Labs are much larger than Stable Diffusion models, so the best GPU for Flux is mostly about memory:

  • Flux.1 [dev] and [schnell] (12B): 12 GB works with FP8 or GGUF quantised versions; 16 GB is comfortable; 24 GB runs the 16-bit version.
  • Flux.2 [dev] (32B): released in November 2025, it is much heavier. Nvidia says the full model needs about 90 GB, that FP8 reduces this by about 40%, and that ComfyUI's weight streaming lets RTX cards offload parts of the model to system RAM. In practice, a 24–32 GB card with FP8 or 4-bit versions and plenty of system RAM is the realistic setup for running it locally.

Check each model's licence before using its outputs commercially; Flux [dev] models are released under non-commercial licences.

Best AMD GPU for Stable Diffusion

The best AMD GPU for Stable Diffusion is one with plenty of memory and current software support, such as the Radeon RX 9070 XT (16 GB) or the RX 7900 XTX (24 GB). Things to know:

  • Linux works best. AMD's ROCm software runs PyTorch, ComfyUI and other tools well on supported Radeon cards. Windows support has improved, but check your tool's current install instructions.
  • Expect more setup and less speed than an Nvidia card of similar price, and some extensions that assume CUDA may not work.
  • The upside is memory: AMD has often offered more VRAM for the money, which helps with large models.

Our Nvidia vs AMD for AI comparison goes deeper on software support and performance.

Intel, Mac and Other Options

  • Intel Arc: the Arc B580 has 12 GB of VRAM for an entry-level price and works with PyTorch's Intel GPU support and tools that use it. Fewer guides and extensions target it.
  • Apple Silicon Macs: Macs run Stable Diffusion and Flux through apps such as Draw Things or through PyTorch's Metal support. They're slower than a mid-range Nvidia card, but Macs with lots of unified memory can load large models that won't fit on consumer GPUs.
  • Laptops: laptop GPUs share names with desktop cards but have less power and often less VRAM. A laptop RTX 5090, for example, has 24 GB rather than 32 GB. Check the exact VRAM.
  • Cloud GPUs: renting a GPU by the hour is a good way to try large models or video before buying, or to handle occasional heavy jobs.
A grid of twelve small grey picture frames with ink mountain outlines and light suns, one frame in the middle row with an orange sun.
Faster GPUs mean more images per minute, but memory decides which models you can run at all.

Best GPU for Stable Diffusion: Which to Buy

If you...Choose
Are trying image AI on a tight budgetRTX 3060 12 GB or Arc B580
Want the best value for SDXL and quantised FluxRTX 5060 Ti 16 GB
Use ComfyUI daily and want speedRTX 5070 Ti or 4070 Ti Super (16 GB)
Want large models and some videoUsed RTX 3090 or RTX 4090 (24 GB)
Want the best single consumer cardRTX 5090 (32 GB)
Prefer AMD or already use LinuxRX 9070 XT (16 GB) or RX 7900 XTX (24 GB)
Also want to run local language modelsAs much VRAM as you can afford: 24 GB or more
Only generate occasionallyRent a cloud GPU instead

How Much VRAM for Training LoRAs

Training a LoRA (a small add-on that teaches a model a style, character or product) needs more memory than generating images. Rough guidance with common memory-saving settings:

Base modelPractical minimumComfortable
Stable Diffusion 1.58 GB12 GB
SDXL12 GB16–24 GB
Flux.116 GB with heavy optimisation24 GB or more

Training tools offer options such as gradient checkpointing, 8-bit optimisers and lower-precision base weights that cut memory use at some cost in speed. If you train often, 24 GB saves a lot of frustration; for occasional training, renting a cloud GPU for a few hours is often cheaper.

Upgrading an Older PC for Image AI

A new GPU in an older PC usually works well, because image generation runs almost entirely on the GPU. Check:

  • Power supply: wattage and the right power connectors (newer Nvidia cards use the 12V-2x6 connector or an adapter).
  • Physical fit: length, thickness (many cards take three slots) and case airflow.
  • PCIe slot: older PCIe generations reduce speed slightly when loading models, but generation itself is barely affected.
  • System RAM: add more if you have less than 32 GB, especially if you'll offload large models.
  • Storage: add a fast SSD for models and outputs.

Buying a Used GPU for Stable Diffusion

Used cards, especially 24 GB models, can be good value. To reduce risk:

  • Buy from sellers with returns or buyer protection.
  • Ask for proof that it works under load, and test it with a long generation run when it arrives.
  • Check temperatures and fan noise; replace thermal paste and pads if the card runs hot.
  • Be wary of prices far below the market, and of cards with signs of physical damage or missing parts.

What Else to Check Before You Buy

  • Power supply: high-end cards draw a lot. Check the card maker's recommended PSU wattage and connectors.
  • Case size and cooling: big cards need space and airflow, especially for long generation sessions.
  • System RAM: 32 GB minimum, 64 GB if you plan to offload large models.
  • Storage: models are large (often 6–30 GB each), and collections grow fast. A fast NVMe SSD with plenty of space helps.
  • Drivers and software: keep GPU drivers and your image tool updated; new model formats often need recent versions.

Common Mistakes

  • Buying for speed and ignoring VRAM. Running out of memory is the most common problem.
  • Assuming two GPUs add their memory together for a single image. They don't.
  • Buying an 8 GB card for Flux or video. It works only with heavy compromises.
  • Forgetting the text encoders. Large models also load big text encoders, which use memory too.
  • Paying far above list price for the newest card when a used 24 GB card or a 16 GB card would do the job.

FAQ

What is the best GPU for Stable Diffusion?

For most people, an Nvidia card with 16 GB of VRAM, such as the RTX 5060 Ti 16 GB or RTX 5070 Ti, is the best balance of cost, speed and memory. For large models and video, a 24 GB or 32 GB card like a used RTX 3090, an RTX 4090 or an RTX 5090 is better.

How much VRAM do I need for Stable Diffusion?

About 6–8 GB for Stable Diffusion 1.5, 8–12 GB for SDXL, and 12–16 GB for newer models like Flux with quantised weights. 24 GB or more is best for the largest image models and video.

Is AMD good for Stable Diffusion?

Yes, with caveats. AMD cards work well on Linux with ROCm and offer good memory for the money, but setup takes more effort, some tools and extensions assume Nvidia's CUDA, and performance is usually lower than a comparable Nvidia card.

Can I run Flux on 8 GB of VRAM?

Flux.1 can run on 8 GB using heavily quantised versions and offloading to system memory, but it's slow and quality drops. 12 GB is a more realistic minimum, and 16 GB is comfortable.

Is a used RTX 3090 still good for Stable Diffusion?

Yes. Its 24 GB of VRAM fits large models that 12–16 GB cards can't, which often matters more than the newer cards' speed. It uses more power and lacks newer features like FP8 hardware support, so buy from a seller you trust.

All articles

Read next

Language

EnglishEnglish · en TürkçeTurkish · tr DeutschGerman · de العربيةArabic · ar

Account

Enter your email. We’ll send you a sign-in link and a 6-digit code. No password needed.

Sign in

Theme

Language

Show our email address

To keep spam out of our inbox, please confirm your own email first. We will send you a 6-digit code.

We send codes only to these providers: gmail.com, googlemail.com, outlook.com, hotmail.com, live.com, msn.com, proton.me, protonmail.com, pm.me, icloud.com, me.com, mac.com, yahoo.com, aol.com, gmx.de, gmx.net, web.de, t-online.de, yandex.com, omniai.blog