AI GLOSSARY · PROMPTING
Max tokens
A limit on how long the model’s reply can be, which also caps cost.
Example
Setting max tokens to 300 keeps answers short.
Learn it by doing
Reading a definition is a start; using the idea makes it stick.
Related terms
PROMPTINGPromptThe instructions and context you give an AI model. Clear prompts get more useful, checkable results.PROMPTINGPrompt engineeringThe practice of designing prompts — role, task, context, format and checks — to get reliable results.PROMPTINGSystem promptHidden instructions that set a model’s role and rules before the user’s message.PROMPTINGZero-shot promptingAsking a model to do a task with no examples, relying on instructions alone.PROMPTINGFew-shot promptingIncluding a few worked examples in the prompt so the model copies the pattern.PROMPTINGChain of thoughtAsking a model to reason step by step, which can improve answers on multi-step problems.