> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-partner-nodes-consolidate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ModelSave - ComfyUI Built-in Node Documentation

> The ModelSave node saves a model to your computer's storage as a .safetensors checkpoint file.

The ModelSave node saves a model to your computer's storage as a `.safetensors` checkpoint file. It takes a model as input and writes it to the output directory using the filename prefix you specify. When available, it also embeds workflow prompt information and additional metadata into the saved file.

## Inputs

| Parameter         | Description                                                                                  | Data Type      | Required | Range |
| ----------------- | -------------------------------------------------------------------------------------------- | -------------- | -------- | ----- |
| `model`           | The model to be saved to disk                                                                | MODEL          | Yes      | -     |
| `filename_prefix` | The filename and path prefix for the saved model file (default: "diffusion\_models/ComfyUI") | STRING         | Yes      | -     |
| `prompt`          | Workflow prompt information (automatically provided)                                         | PROMPT         | No       | -     |
| `extra_pnginfo`   | Additional workflow metadata (automatically provided)                                        | EXTRA\_PNGINFO | No       | -     |

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 are embedded in the saved file.

## Outputs

| Output Name | Description                                 | Data Type |
| ----------- | ------------------------------------------- | --------- |
| *None*      | This node does not return any output values | -         |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ModelSave/en.md)

***

**Source fingerprint (SHA-256):** `943e60f2c596d9cbcaabe95029fd9d443df5b61c6137736a8b1b81ab78f200ea`
