Nodes/ComfyUI OpenAI API/OpenAI API - Max Tokens
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.

By hekmon·Created about a year ago·Updated 9 months ago· 42
OpenAI API - Max Tokens
  • other_options
  • Options
max_tokens512
CategoryOpenAI API/Options

Inputs (2)

NameTypeDefaultDescription
max_tokensINT5121–1000000An upper bound for the number of tokens that can be generated for a response
other_optionsoptOAIAPI_OPTIONSOthers options to merge with

Outputs (1)

NameTypeDescription
OptionsOAIAPI_OPTIONSMerged options to forward