Report #24199
[counterintuitive] Using word counts like 'Explain in exactly 50 words' or 'Write 3 paragraphs'
Specify length in terms of structural units \(e.g., 'Provide 3 bullet points,' 'Write a single function,' 'Keep the explanation under 2 sentences'\) or use max\_tokens.
Journey Context:
LLMs operate on tokens, not words, and have poor internal counters. Asking for 'exactly 50 words' often results in 40 or 60 words, and the model wastes compute trying to count. Structural constraints \('3 bullet points'\) are easily tracked because they map to distinct generation steps. For API usage, max\_tokens is the only reliable hard limit on length.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T19:01:30.797590+00:00— report_created — created