Skip to content

Instantly share code, notes, and snippets.

@waltervargas
Created March 26, 2026 01:14
Show Gist options
  • Select an option

  • Save waltervargas/e795690cb32f8b274b64816d55d96fe3 to your computer and use it in GitHub Desktop.

Select an option

Save waltervargas/e795690cb32f8b274b64816d55d96fe3 to your computer and use it in GitHub Desktop.
Stable Diffusion Build Guide — Best GPU options for near-instant image generation (Berlin/Germany, AM4 platform)

Stable Diffusion Build Guide — AMD Ryzen 7 5000 Series

Building a cost-effective image generation workstation around your existing Ryzen 7 5000 (AM4 platform).

Goal: Near-instant to instant Stable Diffusion image generation, best price/performance ratio, sourced in Berlin/Germany.

TL;DR Recommendation

Budget GPU SD 1.5 (512x512) SDXL (1024x1024) Verdict
~200-250 EUR RTX 3060 12GB (used) ~2-4s ~8-15s Best value entry point
~350-500 EUR RTX 3090 24GB (used) <1s ~3-5s Best bang for buck overall
~450-550 EUR RTX 4060 Ti 16GB ~2-3s ~6-10s Best new card for VRAM/EUR
~600-700 EUR RTX 5070 12GB <1s ~3-5s Fast but less VRAM
~800-950 EUR RTX 4070 Ti Super 16GB <1s ~3-5s Sweet spot new card
~1500+ EUR RTX 4090 24GB <0.5s ~2-3s Overkill but future-proof

What Matters for Stable Diffusion

  1. VRAM (most important) — Determines which models, resolutions, and batch sizes you can run

    • 8 GB: SD 1.5 only, limited resolution
    • 12 GB: SD 1.5 comfortable, SDXL tight, FLUX impossible
    • 16 GB: SDXL comfortable, FLUX.1 schnell possible
    • 24 GB: Everything comfortable, FLUX.1 dev, large batches, training/fine-tuning
  2. CUDA Cores / Compute — Determines generation speed

  3. Memory Bandwidth — Affects throughput, especially for larger models

  4. CPU/RAM — Your Ryzen 7 5000 + 32GB DDR4 is already sufficient. No upgrade needed.


GPU Options — Detailed Breakdown

Tier 1: Budget (~200-300 EUR) — "Near-instant SD 1.5"

RTX 3060 12GB (USED) — Best Budget Pick

Spec Value
VRAM 12 GB GDDR6
CUDA Cores 3584
TDP 170W
Used price (DE) ~180-250 EUR
PSU needed 550W+

SD Performance:

  • SD 1.5 (512x512, 20 steps): ~2-4 seconds
  • SD 1.5 batch of 4: ~10-15 seconds
  • SDXL (1024x1024): ~10-15 seconds (tight on VRAM)
  • FLUX: Not practical (insufficient VRAM)
  • SD Turbo (4 steps): <1 second

Pros: 12GB VRAM at the lowest price point. Massive used market from crypto miners. Cons: Older architecture, no DLSS 3, potential wear from mining.

Buying tip: Ask sellers if it was used for mining. Check fans and thermal paste. Test before buying.


RTX 4060 8GB (NEW)

Spec Value
VRAM 8 GB GDDR6
CUDA Cores 3072
TDP 115W
New price (DE) ~280-320 EUR
PSU needed 550W

SD Performance:

  • SD 1.5: ~2-3 seconds
  • SDXL: ~8-12 seconds (very tight VRAM, may need optimizations)
  • FLUX: Not feasible

Pros: Low power, new card with warranty, efficient Ada architecture. Cons: Only 8GB VRAM is a dealbreaker for SDXL/FLUX workflows. Not recommended for serious SD work.


Tier 2: Mid-Range (~350-700 EUR) — "Near-instant everything"

RTX 3090 24GB (USED) — Best Overall Value

Spec Value
VRAM 24 GB GDDR6X
CUDA Cores 10496
TDP 350W
Used price (DE) ~400-550 EUR
PSU needed 750W+

SD Performance:

  • SD 1.5 (512x512): <1 second
  • SD 1.5 batch of 4: ~3-4 seconds
  • SDXL (1024x1024): ~3-5 seconds
  • FLUX.1 schnell: ~8-12 seconds
  • FLUX.1 dev: ~15-25 seconds
  • Fine-tuning/LoRA training: Yes

Pros: 24GB VRAM at a fraction of the RTX 4090 price. Runs everything. Huge compute power. Best EUR-per-VRAM-GB on the market. Cons: Power hungry (350W TDP), loud, large (2.5-3 slot), runs hot. Needs a beefy PSU and good case airflow. Used only.

This is the sweet spot if you want to run FLUX and do serious work without spending 1500+ EUR.


RTX 4060 Ti 16GB (NEW)

Spec Value
VRAM 16 GB GDDR6
CUDA Cores 4352
TDP 165W
New price (DE) ~430-500 EUR
PSU needed 550W

SD Performance:

  • SD 1.5: ~1-2 seconds
  • SDXL: ~5-8 seconds
  • FLUX.1 schnell: ~10-18 seconds (tight but works)

Pros: 16GB VRAM in a power-efficient, cool, quiet card. New with warranty. Great for a compact build. Cons: Slower compute than RTX 3090 despite being newer. Costs more per VRAM-GB than a used 3090.


RTX 5070 12GB (NEW)

Spec Value
VRAM 12 GB GDDR7
CUDA Cores ~6144
TDP 250W
New price (DE) ~600-700 EUR (if available at MSRP)
PSU needed 650W

SD Performance:

  • SD 1.5: <1 second
  • SDXL: ~3-5 seconds
  • FLUX.1 schnell: Tight on VRAM

Pros: Blackwell architecture, very fast compute, GDDR7 bandwidth. Cons: Only 12GB VRAM limits future model compatibility. Availability may still be poor. Check stock before planning around this.


Tier 3: High-End (~800-1000 EUR) — "Instant"

RTX 4070 Ti Super 16GB (NEW)

Spec Value
VRAM 16 GB GDDR6X
CUDA Cores 8448
TDP 285W
New price (DE) ~800-950 EUR
PSU needed 700W

SD Performance:

  • SD 1.5: <1 second
  • SD 1.5 batch of 4: ~2-3 seconds
  • SDXL: ~3-5 seconds
  • FLUX.1 schnell: ~6-10 seconds

Pros: Fast, 16GB VRAM, excellent balance of compute and memory. Cons: Pricey. A used RTX 3090 gives you more VRAM for half the money (but less compute efficiency).


Tier 4: Enthusiast (~1500+ EUR) — "Everything instant"

RTX 4090 24GB (NEW)

Spec Value
VRAM 24 GB GDDR6X
CUDA Cores 16384
TDP 450W
New price (DE) ~1600-1900 EUR
PSU needed 850W+

SD Performance:

  • SD 1.5: <0.5 seconds
  • SDXL: ~2-3 seconds
  • FLUX.1 dev: ~8-12 seconds
  • Batch of 8 SDXL images: ~15-20 seconds
  • Training/fine-tuning: Excellent

Pros: The king. Runs everything instantly. Future-proof for years. Cons: Expensive, massive, power hungry. Diminishing returns vs a used 3090 for pure SD work.


Supporting Components

Your Ryzen 7 5000 uses the AM4 platform (DDR4, PCIe 4.0). Here's what you need around it.

Motherboard (if you don't have one)

Board Features Price (DE)
MSI B550-A PRO PCIe 4.0 x16, solid VRM ~100-120 EUR
ASUS TUF B550-PLUS Better VRM, 2x M.2 ~120-140 EUR
MSI MAG X570S TOMAHAWK PCIe 4.0, premium VRM ~160-190 EUR

Important: Ensure the board has a full-length PCIe x16 slot and enough clearance for a large GPU (especially RTX 3090/4090 which are 300mm+).

RAM

Config Price (DE)
32 GB DDR4 3600MHz CL16 (2x16GB) ~60-80 EUR
64 GB DDR4 3600MHz CL18 (2x32GB) ~100-130 EUR

32 GB is sufficient for SD. 64 GB helps if you also want to run large text LLMs alongside SD.

Power Supply

GPU Choice Minimum PSU Recommended Price (DE)
RTX 3060 / 4060 Ti 550W 600W 80+ Bronze ~60-70 EUR
RTX 3090 750W 850W 80+ Gold ~100-130 EUR
RTX 4070 Ti Super 700W 750W 80+ Gold ~90-110 EUR
RTX 4090 850W 1000W 80+ Gold ~130-160 EUR

Good brands available in Germany: be quiet! (German company, excellent), Corsair RM series, Seasonic Focus.

Storage

Type Use Case Price (DE)
1TB NVMe SSD (PCIe 4.0) OS + models + outputs ~60-80 EUR
2TB NVMe SSD Comfortable for many models ~100-130 EUR

SD models are 2-7 GB each. FLUX models are 12-24 GB. A 1TB drive fills up fast if you collect models.

Case

Must fit your GPU length. Measure before buying.

Case GPU Clearance Price (DE)
be quiet! Pure Base 500DX 369mm ~90-100 EUR
Fractal Design Pop Air 405mm ~80-90 EUR
Corsair 4000D Airflow 360mm ~80-100 EUR

RTX 3090 Founders Edition: ~313mm. Most aftermarket 3090s: 300-340mm. RTX 4090: 304-360mm. Check your specific card model.


Total Build Costs (GPU + Components)

Assuming you already have the Ryzen 7 5000 CPU and need everything else.

Build A: Budget Beast (~550-750 EUR)

Component Choice Price
GPU RTX 3060 12GB (used) ~220 EUR
Motherboard MSI B550-A PRO ~110 EUR
RAM 32GB DDR4 3600 ~70 EUR
PSU be quiet! Pure Power 600W ~65 EUR
Storage 1TB NVMe ~70 EUR
Case Fractal Pop Air ~85 EUR
Total ~620 EUR

Near-instant SD 1.5, usable SDXL. Great starting point.

Build B: Best Value (~850-1050 EUR)

Component Choice Price
GPU RTX 3090 24GB (used) ~480 EUR
Motherboard ASUS TUF B550-PLUS ~130 EUR
RAM 32GB DDR4 3600 ~70 EUR
PSU be quiet! Straight Power 850W ~120 EUR
Storage 2TB NVMe ~110 EUR
Case be quiet! Pure Base 500DX ~95 EUR
Total ~1005 EUR

Instant SD 1.5, near-instant SDXL, runs FLUX. Best ratio for serious work.

Build C: Premium Quiet (~1300-1500 EUR)

Component Choice Price
GPU RTX 4070 Ti Super 16GB (new) ~870 EUR
Motherboard ASUS TUF B550-PLUS ~130 EUR
RAM 32GB DDR4 3600 ~70 EUR
PSU be quiet! Straight Power 750W ~100 EUR
Storage 2TB NVMe ~110 EUR
Case be quiet! Pure Base 500DX ~95 EUR
Total ~1375 EUR

Instant everything up to SDXL. Quiet, efficient, new with warranty.


Where to Buy in Berlin / Germany

Online Retailers (best prices, widest stock)

Retailer Strengths URL
Mindfactory.de Often cheapest, huge GPU stock, Midnight Shopping deals mindfactory.de
Alternate.de Good prices, fast shipping alternate.de
Caseking.de Berlin-based, excellent GPU selection, local pickup in Berlin caseking.de
Computeruniverse.net Price-competitive, reliable computeruniverse.net
Notebooksbilliger.de Good deals on components notebooksbilliger.de

Physical Stores in Berlin

Store Address / Area Notes
Caseking Charlottenburg Showroom + warehouse pickup, great for GPUs
MediaMarkt / Saturn Multiple locations (Alexanderplatz, Alexa, etc.) Higher prices but instant availability, price-match possible
K&M Computer Multiple Berlin locations Local chain, can order parts
Conrad Electronic Schoeneberg Components stock, can order

Used Market (for RTX 3060/3090 deals)

Platform Tips
Kleinanzeigen (formerly eBay Kleinanzeigen) Best for local Berlin deals. Meet in person, test card.
eBay.de Buyer protection. Filter by "Sofort-Kaufen" for fixed prices.
r/hardwareswap_eu Reddit community for used hardware in Europe
mydealz.de Deal aggregator — set alerts for GPU deals

Kleinanzeigen Berlin — Direct Search Links

Price Comparison

Use geizhals.de (German price comparison) to find the cheapest current price across all retailers for any specific component.


Recommended Software Stack

Once built, install:

# ComfyUI (most flexible, node-based)
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt

# Or AUTOMATIC1111 (classic, simpler UI)
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
cd stable-diffusion-webui
./webui.sh

# Or Forge (A1111 fork, better performance, less VRAM usage)
git clone https://github.com/lllyasviel/stable-diffusion-webui-forge.git
cd stable-diffusion-webui-forge
./webui.sh

ComfyUI is recommended for power users — it gives the most control over workflows and is the most VRAM-efficient.


Final Recommendation

If budget is the priority: Buy a used RTX 3090 24GB for ~400-500 EUR on Kleinanzeigen Berlin. Pair it with a B550 board, 850W PSU, and you have a machine that runs everything for ~1000 EUR total. Nothing else comes close in VRAM-per-EUR.

If you want new with warranty: The RTX 4060 Ti 16GB (~450 EUR) is the most sensible new card — 16GB VRAM, low power, quiet. Slower than the 3090 but hassle-free.

Avoid: RTX 4060 8GB (VRAM too low), RTX 4070 12GB (VRAM too low for the price), any AMD GPU (ROCm support for SD is still painful on Linux).


Prices estimated for March 2026, Germany. Check geizhals.de for current pricing. Generated with Claude Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment