# Max Tokens
The maximum number of tokens to generate in the chat completion.
This value could be overwritten if it is specified in the [[Template Metadata]] .
> [!info]
The total length of input tokens and generated tokens is limited by the model's context length. (1000 tokens ~ 750 words)
![[Pasted image 20230308023923.png]]