Skip to main content

Getting the AI to Stay Within Word Count Limits when writing

If you’ve asked Poppy to generate content within a certain word count (eg: 2200–2500 words) and noticed it overshoots or undershoots, here’s why and how to fix it.

Updated over 6 months ago

Why it happens:

AI models don’t actually count words. They generate text in tokens (small chunks of text that can be a word, part of a word, or punctuation). Since tokens don’t perfectly equal words, outputs can overshoot (eg: 3000 words) or undershoot (eg: 1800 words).

How to improve accuracy:

  1. Request tokens instead of words

    On average, 1 word ≈ 1.3–1.4 tokens.

    For 2200–2500 words, ask for ~2900–3500 tokens.

2. Break content into parts

Ask the AI to generate sections (intro, body, conclusion).

This lets you measure and control length step by step.

3. Iterative adjustment

Too long? Ask the model to shorten by 10–15%.

Too short? Ask it to expand with examples or detail.

4. Set hard boundaries

Be explicit: “Do not exceed 2500 words. Do not go under 2200 words. Stop generating if you reach 2500 words.”

5. Manual word count check

Copy the draft into a word counter.

Then prompt: “This is 1800 words. Expand by ~400 words to reach 2200–2500.”

Pro tip: Instead of one exact number, give the AI a range with ±100 words. This makes it easier for the model to stay on target.

Did this answer your question?