Fundamentals of GenAI
An assistant produces lengthy answers when users need only brief responses. Using the same model and prompt, which change would MOST directly reduce output-token charges and generation time?
Show the answer
Correct answerA. Lower the maximum output-token limit
AWhy this is right: A lower output limit caps generated tokens, reducing charges and generation time when responses would otherwise exceed that cap.
BWhy not this: Lower temperature changes randomness but does not directly cap output length or output-token charges.
CWhy not this: A larger context capacity does not reduce the tokens generated for an unchanged prompt.
DWhy not this: A higher output limit permits longer responses rather than directly reducing their cost or generation time.
A lower output-token limit can shorten unnecessarily long responses, reducing billed output tokens and generation time. Temperature changes sampling behavior, not the permitted response length.