How Many max_tokens Should You Set? A 4-Step Method by Task (2026)
max_tokens caps how long one reply can be, so bigger isn't better. Learn how it relates to the context window, which APIs require it, and how to pick a value.
Blog
与「output length」相关的文章。