Model reference · open weights

stable-diffusion-2-1

Image sd-research Text→image 1 build Open weights 1k dl/mo

stable-diffusion-2-1 is an open-weight image model from sd-research. stable-diffusion-2-1-base (FP32) weighs 2.6 GB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • stable-diffusion-2-1 is a text-to-image generation model developed by sd-research that uses a latent diffusion architecture with an OpenCLIP-ViT/H text encoder.
  • The model contains 866M parameters and is trained primarily on English captions.
  • It is distributed under the openrail++ license.

Summary of the sd-research/stable-diffusion-2-1-base model card, 2026-10-01

What it is

Released bysd-research
Released2025-12-11
Parameters866M
VRAM2.6 GB for the weights

What it runs on

Memory and cards for stable-diffusion-2-1-base (FP32)

2.6 GBweights, file size
1.7 GBbiggest part
5.0 GBworking memory, one 1024² image
537 MBruntime overhead
CardOne imageMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Running it yourself

Run it on a rented GPU

Rent a machine by the hour. ComfyUI is installed on it. Open ComfyUI through the tunnel: its default workflow loads a checkpoint. Choose this model's file in Load Checkpoint, with the settings its model card gives.

# on your rented machine: pip install diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained("sd-research/stable-diffusion-2-1-base", torch_dtype=torch.bfloat16).to("cuda")
image = pipe(prompt="a red bicycle on a cobbled street").images[0]
image.save("/workspace/out.png")
Renting a GPU: connect, tunnels, Python
# on your rented machine (the ssh line is on its page in the console)
# get REPO FILE FOLDER: one file into /workspace/models/FOLDER, where ComfyUI loads it from
get() { hf download "$1" "$2" --local-dir /workspace/hf-files && mkdir -p "/workspace/models/$3" && mv "/workspace/hf-files/$2" "/workspace/models/$3/$4"; }

# the model (4.9 GB)
get sd-research/stable-diffusion-2-1-base v2-1_512-nonema-pruned.safetensors checkpoints

start-comfyui
Renting a GPU: connect, tunnels, ComfyUI
# on your computer, in a second terminal: ComfyUI in your browser at http://localhost:8188
# HOST, PORT and BOOKING are your machine's, from its page in the console
ssh -o HostKeyAlias=axforge-BOOKING -o StrictHostKeyChecking=accept-new -L 8188:localhost:8188 dev@HOST -p PORT
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms