Max Tokens
A maximum-token parameter sets an upper bound on generated tokens for a model request. Its name and what it counts depend on the API and model; it is not a requested exact answer length.[1][2]
CARD NEWS · Prompts & AI use
Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.
A maximum-token parameter sets an upper bound on generated tokens for a model request. Its name and what it counts depend on the API and model; it is not a requested exact answer length.[1][2]
It is a ceiling, like a maximum page allowance. The model can stop earlier. Tokens are pieces of encoded text, not a universal number of characters or words. A small ceiling may cut off a useful answer.
[1] Pair the cap with a clear request such as a brief summary. Case 2: Chat Completions max_completion_tokens counts generated completion tokens, including reasoning and visible output.
Capture these cards or print them to a PDF.