From Dev.to
A tight max_tokens cap made every good LLM answer 15% more expensive
A common first idea for saving money on an LLM API: output tokens are the expensive ones, so set max_tokens low and the model can't run up the bill. It backfires. A tight cap doesn't make a single nor...
