ComfyUI Node
π² LLM Sampling Options
A ComfyUI node in prompt/wildcards with 10 inputs and 2 outputs.
π² LLM Sampling Options
- server
- server
- options
βuse_model_default_samplingfalseβΊ
βtemperature-1.00βΊ
βtop_k0βΊ
βtop_p0.00βΊ
βmin_p0.00βΊ
βrepeat_penalty1.00βΊ
βcontext_size0βΊ
βsystem_promptβΊ
βshow_everything_in_consolefalseβΊ
Categoryprompt/wildcards
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| server | LLM_SERVER | β | |
| use_model_default_samplingopt | BOOLEAN | false | If ON, drop all sampling overrides and let the model use its built-in defaults. Temperature from the base server is still applied. |
| temperatureopt | FLOAT | -1.00-1β2 | Override the server's temperature (-1 = keep server value). 0.0 = deterministic, 2.0 = very random. |
| top_kopt | INT | 00β200 | Sample from top K tokens (0 = disabled / not sent). |
| top_popt | FLOAT | 0.000β1 | Nucleus sampling threshold (0.0 = not sent). |
| min_popt | FLOAT | 0.000β1 | Minimum probability relative to the top token (0.0 = not sent). |
| repeat_penaltyopt | FLOAT | 1.001β2 | Repetition penalty (1.0 = no penalty / not sent). |
| context_sizeopt | INT | 00β131072 | Context window size in tokens (0 = use server default / not sent). |
| system_promptopt | STRING | Custom system prompt. Used only when wired into a node that reads it (e.g. Prompt Generator). Leave empty to use the consumer's defaults. | |
| show_everything_in_consoleopt | BOOLEAN | false | Print system prompt, user prompt, sampling options, and raw replies to the ComfyUI console. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| server | LLM_SERVER | β |
| options | OPTIONS | β |