ComfyUI Node
LlamaCPP Options
A ComfyUI node in LlamaCPP API with 26 inputs and 1 output.
LlamaCPP Options
- options
◄enable_seedfalse►
◄seed1390589294►
◄enable_num_ctxfalse►
◄num_ctx2048►
◄enable_repeat_last_nfalse►
◄repeat_last_n64►
◄enable_repeat_penaltyfalse►
◄repeat_penalty1.10►
◄enable_temperaturefalse►
◄temperature0.80►
◄enable_stopfalse►
◄stop►
◄enable_top_kfalse►
◄top_k40►
◄enable_top_pfalse►
◄top_p0.90►
◄enable_min_pfalse►
◄min_p0.00►
◄enable_main_gpufalse►
◄main_gpu0►
◄enable_thinking_budgetfalse►
◄thinking_budget1024►
◄video_frame_step1►
◄video_max_frames60►
◄audio_max_seconds30►
◄debugfalse►
CategoryLlamaCPP API
Inputs (26)
| Name | Type | Default | Description |
|---|---|---|---|
| enable_seed | BOOLEAN | false | — |
| seed | INT | 13905892940–2147483648 | — |
| enable_num_ctx | BOOLEAN | false | — |
| num_ctx | INT | 20480–2147483648 | — |
| enable_repeat_last_n | BOOLEAN | false | — |
| repeat_last_n | INT | 64-1–64 | — |
| enable_repeat_penalty | BOOLEAN | false | — |
| repeat_penalty | FLOAT | 1.100–2 | — |
| enable_temperature | BOOLEAN | false | — |
| temperature | FLOAT | 0.80-10–10 | — |
| enable_stop | BOOLEAN | false | — |
| stop | STRING | — | |
| enable_top_k | BOOLEAN | false | — |
| top_k | INT | 400–100 | — |
| enable_top_p | BOOLEAN | false | — |
| top_p | FLOAT | 0.900–1 | — |
| enable_min_p | BOOLEAN | false | — |
| min_p | FLOAT | 0.000–1 | — |
| enable_main_gpu | BOOLEAN | false | — |
| main_gpu | INT | 00–100 | — |
| enable_thinking_budget | BOOLEAN | false | Cap reasoning tokens (Gemma4, QwQ). 0 disables thinking entirely. |
| thinking_budget | INT | 10240–32768 | — |
| video_frame_step | INT | 11–60 | Sample every Nth source frame from the video input. 1 = every frame. |
| video_max_frames | INT | 601–60 | Hard cap on frames sent to model. Video |
| audio_max_seconds | FLOAT | 301–30 | Trim audio to this many seconds before sending. Gemma4 E2B/E4B hard limit is 30 s. |
| debug | BOOLEAN | false | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | LLAMACPP_OPTIONS | — |