A "CUDA out of memory" error means the model needed more GPU VRAM than the card has. It is almost always a VRAM ceiling, not a bug in your workflow — the same graph runs fine on a bigger GPU.
Also seen as: "torch.cuda.OutOfMemoryError", "CUDA OOM", "GPU out of memory"
Direct answer
A "CUDA out of memory" error means the model needed more GPU VRAM than the card has. It is almost always a VRAM ceiling, not a bug in your workflow — the same graph runs fine on a bigger GPU.
If the model genuinely needs more VRAM, the same workflow runs unchanged on a bigger GPU. Cheapest-first:
| GPU | VRAM | Price | Action |
|---|---|---|---|
| L4 | 24 GB | $0.51/hr | Deploy |
| A6000 | 48 GB | $0.64/hr | Deploy |
| A100 | 80 GB | $1.81/hr | Deploy |
| H100 | 80 GB | $4.28/hr | Deploy |
Prices include a 30% service fee. Billed per minute while running.
Not sure this workflow will run before you rent a GPU?
Paste your ComfyUI workflow JSON into the free checker — it flags missing nodes, model requirements, and the VRAM/GPU you actually need. No signup.
The model + activations exceed your GPU VRAM (e.g. an fp16 14B video model wanting ~28GB on a 24GB card).
Lower resolution first (1024×1024 → 832×1216 → 768×768) and set batch size to 1 — the cheapest fix. Use an fp8 / GGUF (Q5/Q4) quantized checkpoint — roughly halves weight VRAM at a small quality cost.
Move to a larger GPU: a A6000 (48GB) runs from $0.64/hr and holds models a 24GB card cannot. The same workflow runs unchanged.