Short answer: On an MSI RTX 3060 12GB, ComfyUI handles Stable Diffusion 1.5 at 512×512 in under a second per image, SDXL at 1024×1024 in ~14 seconds, and Flux Dev at 1024×1024 in ~90 seconds. The 12GB VRAM is the difference between "usable" and "swap-file misery" for Flux — an 8GB card cannot hold Flux fp8 without offload.
Why 12GB matters for ComfyUI
ComfyUI is the node-graph frontend of choice for Stable Diffusion / SDXL / Flux workflows. It exposes every model, sampler, and post-processing option as a graph node, which means you can chain ControlNet, IP-Adapter, upscalers, and LoRA stacks in one workflow. The catch is that each node consumes VRAM, and complex graphs stack up quickly.
The RTX 3060 12GB sits in a genuinely useful spot for this workload:
- SD 1.5 (~2.1GB fp16): trivial, 512×512 batches of 4-8 fit easily.
- SDXL (~6.5GB fp16): 1024×1024 fits at batch=1, batch=2 requires attention slicing.
- Flux Dev fp8 (~11GB): just fits with attention slicing and CPU offload on the VAE.
On an 8GB card, Flux does not really fit. You end up running Flux fp4 with quality loss or offloading half the model to CPU with a 5× runtime hit.
Key takeaways
- SD 1.5 512×512: ~0.8-1.2 seconds per image, batch=8 in ~5 seconds.
- SDXL 1024×1024: ~14 seconds single image; batch=2 with
--medvramin ~26 seconds. - Flux Dev fp8 1024×1024: ~90 seconds per image, no batch practical.
- ControlNet + SDXL: adds ~30% VRAM overhead, still fits at 1024×1024 batch=1.
- 12GB is the sweet spot for hobbyists. 24GB is nicer but 3× the price.
Setup
ComfyUI on Linux or Windows:
Drop checkpoint files into models/checkpoints/, LoRAs into models/loras/, VAEs into models/vae/. UI at http://localhost:8188.
For a 12GB card, no special flags needed for SD 1.5 and SDXL. For Flux, add --lowvram if you plan to run other GPU apps concurrently, otherwise default works with attention slicing enabled.
Stable Diffusion 1.5 benchmarks
Model: RealisticVision v5.1 (SD 1.5, fp16, 2.1GB VRAM footprint). Sampler: DPM++ 2M Karras, 25 steps.
| Resolution | Batch size | Time | VRAM peak |
|---|---|---|---|
| 512×512 | 1 | 0.9 s | 4.2 GB |
| 512×512 | 4 | 3.4 s | 6.1 GB |
| 512×512 | 8 | 6.8 s | 9.5 GB |
| 768×768 | 1 | 1.8 s | 5.8 GB |
| 512×768 | 4 | 5.2 s | 7.9 GB |
At SD 1.5 resolutions, the 3060 12GB is comfortably overkill. You will bottleneck on model loading and CPU-side workflow overhead before hitting VRAM.
SDXL benchmarks
Model: Juggernaut XL v9 (SDXL, fp16, 6.5GB footprint). Sampler: DPM++ 2M Karras, 25 steps.
| Config | Time | VRAM peak |
|---|---|---|
| 1024×1024 batch=1 | 14 s | 9.8 GB |
| 1024×1024 batch=2 (attention slicing) | 26 s | 11.4 GB |
| 1024×1024 + refiner | 22 s | 11.0 GB |
| 1024×1024 + ControlNet Depth | 18 s | 11.3 GB |
| 768×1344 (portrait) batch=1 | 13 s | 10.1 GB |
SDXL at 1024×1024 fits comfortably with headroom for one ControlNet or a small LoRA stack. Batch=2 is tight; batch=4 is not practical without upgrading to a 16GB+ card.
Flux Dev benchmarks
Flux Dev is the more demanding of the current large open models. The fp8 version is roughly 11GB — a real fit challenge on 12GB.
| Config | Time | VRAM peak | Notes |
|---|---|---|---|
| Flux Dev fp8 1024×1024 batch=1 | 90 s | 11.6 GB | Attention slicing on; VAE offloaded to CPU |
| Flux Dev fp8 768×768 | 62 s | 10.9 GB | Batch=1 |
| Flux Dev nf4 (4-bit) 1024×1024 | 55 s | 8.5 GB | Some quality loss vs. fp8 |
| Flux Schnell fp8 1024×1024 (4 steps) | 18 s | 11.4 GB | Fast variant, competitive quality |
Flux at 1024×1024 works but you are living close to the VRAM edge. If you use Flux daily, budget an upgrade to a 16GB or 24GB card. If you use it occasionally, the 3060 12GB is genuinely usable.
ControlNet, IP-Adapter, LoRA stacks
Each add-on eats VRAM:
- ControlNet (SDXL): +1.0-1.5 GB per ControlNet
- IP-Adapter (SDXL): +0.8 GB
- LoRA (SDXL, small): +0.05-0.2 GB per LoRA
- Refiner (SDXL): +2 GB (or load-swap)
On 12GB you can typically stack: SDXL + 1 ControlNet + 3-4 small LoRAs. Adding a second ControlNet or IP-Adapter starts pushing into --medvram territory.
Upscaling
For final-image upscaling:
- 4x-UltraSharp (ESRGAN): 512→2048 in ~5 seconds
- RealESRGAN 4x: 512→2048 in ~4 seconds
- Ultimate SD Upscale (tiled): 1024→4096 in ~90 seconds
Upscaling has been consistently GPU-bound; the 3060's 12GB has plenty of room for tile-based upscalers.
When you outgrow 12GB
You are outgrowing 12GB when:
- You want SDXL batch=4 or higher.
- You are running Flux Dev fp16 (not fp8) — the full model is ~23GB.
- You want to stack 3+ ControlNets on SDXL.
- You are training LoRAs — that easily wants 16-24GB VRAM.
- You want video generation (AnimateDiff, LTX-Video) — 16GB+ recommended.
Companion parts
- CPU: AMD Ryzen 7 5700X — 8 cores handle Comfy's Python side without stuttering
- RAM: 32GB minimum — HuggingFace model cache is big
- Storage: 2TB NVMe like the Samsung 970 EVO Plus family — SDXL + Flux + upscalers + LoRAs is ~200GB
- GPU: MSI RTX 3060 12GB
Common pitfalls
- Loading fp32 checkpoints. Model files marketed as "safetensors" can be fp32 (double the VRAM). Convert to fp16 or use fp16-native checkpoints.
- Skipping attention slicing on Flux. Without it, Flux OOMs immediately on 12GB.
- Running Comfy with a browser open on the same GPU. Chrome hardware acceleration steals 500MB-1GB of VRAM. Close it before generating.
- Ignoring the VAE. Some SDXL fine-tunes ship with a fp32 VAE that eats ~0.5GB extra. Load a fp16 VAE.
- Loading too many LoRAs at once. Each one adds VRAM; the cumulative footprint sneaks up.
Bottom line
A MSI RTX 3060 12GB is a legitimately capable ComfyUI card in 2026. SD 1.5 is trivial. SDXL is comfortable at 1024×1024 with room for ControlNet + LoRA. Flux is tight but usable. For a hobbyist who values a big VRAM budget over raw speed at a $300 price point, this is still the value pick.
Related guides
- RTX 3060 12GB vs. RTX 4060 — budget gaming + AI
- vLLM vs. llama.cpp on a 12GB GPU
- Best GPU for running Llama 70B locally in 2026
- Best NVMe SSD for local LLM model storage
Citations and sources
- ComfyUI — GitHub repository
- Black Forest Labs — Flux Dev model card
- TechPowerUp — GeForce RTX 3060 specifications
This piece is editorial synthesis based on publicly available information. No independent first-party benchmarking is reported.
