Skip to main content
The ModelSave node saves a MODEL to your computer’s storage as a .safetensors checkpoint file. It writes the file into ComfyUI’s output directory using the filename prefix you provide, and embeds workflow prompt information and model metadata into the saved file when available.

Inputs

Note: The saved filename is built from the filename_prefix value followed by a five-digit counter (for example, diffusion_models/ComfyUI_00001_.safetensors). If a file with the same prefix already exists, the counter is increased so the new file gets a unique name. When available, the workflow prompt, additional metadata, and model architecture information (for example Stable Diffusion XL, SDXL Refiner, Stable Video Diffusion, or Stable Diffusion 3) are embedded in the saved file. If metadata saving is disabled through ComfyUI’s command-line settings, the prompt and extra metadata are not written into the file.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 943e60f2c596d9cbcaabe95029fd9d443df5b61c6137736a8b1b81ab78f200ea