AI models
ComfyUI models are filling your disk: where they live and what to delete
Short answer
ComfyUI keeps every checkpoint, LoRA, VAE and other model as a plain file in its models folder. A few checkpoints can take tens of gigabytes. To remove a model, you delete its file, and you can re-download it later. Don't want duplicates across ComfyUI and other Stable Diffusion tools? Point extra_model_paths.yaml at one shared folder.
- Path on Mac (Comfy Desktop)
~/ComfyUI-Sharedand~/ComfyUI-Installs- Path on Windows (Comfy Desktop)
%LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Sharedand...\ComfyUI-Installs- Manual or portable install
ComfyUI/modelsinside the ComfyUI folder (the portable download is Windows only)- Typical size
- Several GB per checkpoint; tens of GB for a working set
- Safe to delete?
- Yes, one file at a time. If you need that model again, you re-download it.
- Command
- You don't need a command. Just delete the file from its folder under
models.
Where ComfyUI keeps model files
ComfyUI has no model database. Every model is just a file (usually .safetensors or .ckpt) in a subfolder of models, and the subfolder sets the type. Among others, the ComfyUI docs name these: checkpoints, loras, vae, controlnet, embeddings, upscale_models, clip_vision and diffusion_models.
Where that models folder sits depends on how you installed ComfyUI.
- Comfy Desktop on Mac: installs live in
~/ComfyUI-Installsand the shared model library in~/ComfyUI-Shared. - Comfy Desktop on Windows: installs live in
%LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Installsand the shared library in%LOCALAPPDATA%\Comfy-Desktop\ComfyUI-Shared. Older installs may still use%USERPROFILE%\ComfyUI-Installsand%USERPROFILE%\ComfyUI-Shared. - Manual install (Mac or Windows):
modelsinside the folder you cloned ComfyUI into. - Portable (Windows only):
modelsinside theComfyUIfolder of the unzipped download.
A custom install path isn't covered here, so check the install location in Comfy Desktop.
See what's using the space
Size each subfolder, then start with the largest. Checkpoints and diffusion models are usually the big ones. LoRAs are smaller. You'll often have hundreds of them, though, and they add up.
du -sh ~/ComfyUI-Shared/models/* | sort -h
# PowerShell
Get-ChildItem "$env:LOCALAPPDATA\Comfy-Desktop\ComfyUI-Shared\models" -Directory | ForEach-Object { $s = (Get-ChildItem $_.FullName -Recurse -File | Measure-Object Length -Sum).Sum; [pscustomobject]@{ Folder = $_.Name; GB = [math]::Round($s / 1GB, 2) } } | Sort-Object GB -DescendingOn a manual or portable install, swap the path for your own ComfyUI/models folder. The Desktop paths above come from the Comfy Desktop uninstall notes, so confirm the models subfolder exists on your Mac or Windows PC before you rely on them.
What's safe to delete
Per the ComfyUI docs, you remove a model by deleting its file from the folder under models where you put it. Nothing else is registered. A workflow that uses the deleted model will show its loader node with a missing file. Download the model again or pick another one.
SafeCheckpoints, LoRAs, VAEs and upscale models you downloaded from a public site. Delete one file at a time. You'll need to re-download it before any workflow that uses it will run again.
CarefulModels you trained or merged yourself, and files from sites that have since taken them down. Deleting these may be permanent, so copy them to another drive first. Some newer models need several files (a diffusion model plus a text encoder and a VAE, for example). Remove one part and you've broken the whole workflow.
Do notDelete the whole ComfyUI-Shared folder or models folder just to free space. The ComfyUI docs say Comfy Desktop data holds your models, outputs and settings. Delete it and they're gone for good. Don't touch custom_nodes unless you mean to remove those nodes.
Share one model folder between tools
If you also run Automatic1111 or another ComfyUI install, you don't need a second copy of each checkpoint. ComfyUI reads extra search paths from extra_model_paths.yaml. These steps are for manual and portable installs.
Copy the example config
In the ComfyUI folder, find
extra_model_paths.yaml.exampleand rename it, or copy it, toextra_model_paths.yaml. According to the ComfyUI README, the standalone Windows build keeps this file in the ComfyUI directory.Point it at the other tool
The example already has an
a1111block. Remove the leading#characters, then setbase_pathto your Automatic1111 folder.a1111: base_path: /Users/you/stable-diffusion-webui/ checkpoints: models/Stable-diffusion vae: models/VAE loras: | models/Lora models/LyCORIS embeddings: embeddingsa1111: base_path: C:\stable-diffusion-webui\ checkpoints: models/Stable-diffusion vae: models/VAE loras: | models/Lora models/LyCORIS embeddings: embeddingsRestart and check
Restart ComfyUI and open a checkpoint loader node. You should see the other tool's files in the list. Only then should you delete the duplicate checkpoints inside ComfyUI's own
modelsfolder.
You can also set base_path to a central folder and share it across several ComfyUI installs. Add is_default: true under a block to list its folders first and use them for downloads. Editing this file for Comfy Desktop isn't covered here, so check Comfy Desktop's settings before you apply these steps there.
Why duplicates pile up
The usual cause is installing ComfyUI more than once: a Desktop install, a portable folder you unzipped to try a new version, and a copy next to Automatic1111. Each copy has its own models folder, and a download lands in whichever one you had open. Removing an old portable folder doesn't remove models you moved elsewhere, so check every one before you start deleting. Look first. For the same problem with language models, see where Ollama stores models.
See where your disk is going
Prune is a disk cleaner for Mac and Windows. Its scan is free and shows the exact GB per item before anything is deleted. You review every path first, so Prune never deletes blind.
FAQ
Where does ComfyUI store checkpoints?
In the checkpoints subfolder of its models folder. On a manual or portable install, that's ComfyUI/models/checkpoints. Comfy Desktop keeps its shared library in ComfyUI-Shared (in your home folder on Mac, under %LOCALAPPDATA%\Comfy-Desktop on Windows).
Can I delete a LoRA without breaking ComfyUI?
Yes. ComfyUI itself keeps working. Any workflow that loads that LoRA will show a missing file until you download the LoRA again or pick another one.
Does uninstalling Comfy Desktop remove my models?
No. The ComfyUI docs say uninstalling Comfy Desktop removes only the launcher app. Your installations, the shared model library and your settings stay until you delete them yourself.
Can ComfyUI and Automatic1111 use the same models?
Yes. Rename extra_model_paths.yaml.example to extra_model_paths.yaml, enable the a1111 block and set its base_path, then restart ComfyUI. It works the same on Mac and Windows.