⭐ Star Duplicate Model Finder
Your model folder is lying to you. This finds the copies.
- report
Every ComfyUI user has a model folder that's quietly doubled in size. You downloaded realistic_v40.safetensors, then the same file again as realistic-v4-fp16.safetensors from a different link, then a rename that was supposed to be a different model. The dropdowns in ComfyUI list every copy, and your disk pays for each one. StarDuplicateModelFinder is the node that calls you on it.
It scans your model directories, finds the duplicates, and hands you a text report. That's the whole node - it's a cleanup tool, not a generation tool, and it lives under Utilities for a reason.
What you can tell it
The folder dropdown is the star: All Models by default, or pick a specific folder from 27 options covering everything ComfyUI cares about - checkpoints, diffusion_models, loras, embeddings, vae, clip, clip_vision, controlnet, detection, configs, audio_encoders, background_removal, and the rest. Then some sensible filters:
- min_size_mb (default 10) - skips the tiny sidecar files so your scan isn't full of .json and .txt noise. Raise it if you only care about real model weight.
- extensions - restrict to specific file types if you want
.safetensorsonly, for example. - include_hash - the slow-but-definitive option. Hashing a 7GB checkpoint takes a while, but it's how you confirm two files are byte-identical rather than same-name-same-size. Turn it on when you're about to delete things; leave it off for a quick triage pass.
There's also custom_folder_enabled/custom_folder_path if your models live outside the standard layout.
Why the cache options are there
use_cache (on by default), cache_path, validate_mtime, prune_cache, and rebuild_cache all exist for one reason: scanning and hashing big model files is slow, and you don't want to redo it every time you run the workflow. The node caches scan results and only re-checks what changed. If you've moved files around and the report looks stale, rebuild_cache forces a fresh scan - that's the troubleshooting knob when results don't match your actual disk.
The single report output is a string, so display it with a Show Text node or any text preview. It's meant to be read, not parsed.
Install
Standard pack story: ComfyUI_StarBetaNodes is the retired beta repo, and the nodes now ship in ComfyUI_StarNodes - install that one:
- ComfyUI Manager → search
Starnodes→ install → restart, or cd ComfyUI/custom_nodes && git clone https://github.com/Starnodes2024/ComfyUI_StarNodesthen restart.
No models, no heavy pip deps - it's a filesystem utility. Run it from a simple workflow, read the report, delete the dupes (carefully - check the hash column first, and remember some "duplicates" are actually different models that share a name).
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| folder | COMBO | All Models | 28 options: All Models, audio_encoders, background_removal, checkpoints, clip, clip_vision, +22 |
| show_progressopt | BOOLEAN | true | — |
| min_size_mbopt | FLOAT | 10.0 | — |
| extensionsopt | STRING | — | |
| include_hashopt | BOOLEAN | false | — |
| custom_folder_enabledopt | BOOLEAN | false | — |
| custom_folder_pathopt | STRING | — | |
| use_cacheopt | BOOLEAN | true | — |
| cache_pathopt | STRING | — | |
| validate_mtimeopt | BOOLEAN | true | — |
| prune_cacheopt | BOOLEAN | true | — |
| rebuild_cacheopt | BOOLEAN | false | — |
| workersopt | INT | 11–8 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| report | STRING | — |