Max Tokens
**Max Tokens** is the configurable upper limit on the number of tokens an AI model generates in a single response, distinct from the model's total context window which includes both input and output tokens. It directly controls response length, computational cost, and output quality in agents and automation workflows.
**Max Tokens** is the configurable upper limit on the number of tokens an AI model generates in a single response, distinct from the model's total context window which includes both input and output tokens. It directly controls response length, computational cost, and output quality in agents and automation workflows.