Why set max_tokens thoughtfully rather than always maximum?
Select an answer to reveal the explanation.
Short Explanation and Infographic
max_tokens is a cost/latency ceiling — set it on purpose, and also ask for concise answers.
Full explanation below image
Full Explanation
max_tokens bounds generation length/cost. It is not accuracy magic or model selection.