Token Limit
What Is It
max_tokens — a call parameter of LLM that limits the maximum number of tokens in the response. It controls both cost and delay.
Why Limit
- control of paid API usage;
- predictable response time;
- protection against a model that becomes overly talkative.
In Practice
In AI audit neural network call is set strictly: max_tokens 1200 + temperature 0.4 — predictability and controlled usage are needed, not a ‘creative’ response of 10,000 tokens.