|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI > AIO Commands |
MiniRobotLanguage (MRL)
AIO.SetMaxTok
Sets the maximum number of tokens to generate.
AIO.SetMaxTok|$$TOKENS
$$TOKENS
Maximum token count (1 to model limit, default 4096)
Sets the maximum tokens to generate to 2048:
AIO.SetMaxTok|2048
One token is roughly 4 characters for English text.
Input + output cannot exceed model's context window.
GPT-4o: 128k context, 4k-16k output depending on model variant.