ComfyUI Node
OpenAI API - Max Tokens
Sets the maximum number of tokens that can be generated in the response. This helps control the length and complexity of the output.
OpenAI API - Max Tokens
- other_options
- Options
◄max_tokens512►
CategoryOpenAI API/Options
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| max_tokens | INT | 5121–1000000 | An upper bound for the number of tokens that can be generated for a response |
| other_optionsopt | OAIAPI_OPTIONS | Others options to merge with |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Options | OAIAPI_OPTIONS | Merged options to forward |