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 lany42·Created 2 days ago·Updated a day ago· 0
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