max_tokens is not a contract: five runs against a 600 token cap
max_tokens looks like a hard limit. In the OpenAI-compatible world it is a request, and whether it is enforced is a property of the implementation you happen to be talking to. I found this the boring way. I was measuring output length on a fixed prompt to decide which model was cheaper per task, an…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-12-03 07:03 · DEV Community — AI
max_tokens is not a contract: five runs against a 600 token cap