Take a 4,800-token fact sheet for a business that sells tiered service plans. Suppose your usable window after reserving dialogue and output is 40,000 tokens. The sheet is 12 percent of it. That is inside the borderline band, and the usage data decides.
Suppose the logs show that of the sheet's 32 sections, nine come up in real questions: pricing tiers, overage rates, contract term, cancellation window, data residency, support response times, onboarding steps, the discount policy, and the definition of "active seat." The other 23 sections cover integrations, historical notes, and legal boilerplate.
The split:
Rules block (stays inline, about 400 tokens). Definition of active seat, the tier boundary arithmetic, the currency and date formats, the discount threshold, the cancellation-window rule, the refusal condition, and a list of the nine section titles.
Indexed sections (about 4,300 tokens total). The nine active sections, chunked one per question answered, plus a decision already made: the 23 dormant sections go into the index too, but as separate chunks that simply never rank. They cost nothing at query time and cost a few cents to embed once.
Here is the shape of the assembled prompt:
[system]
You are a plan advisor. Use only the RULES and RETRIEVED SECTIONS below.
RULES
- active seat = a seat with at least one login in the trailing 30 days
- tier boundary: overage applies only to seats above the contracted tier
- discount applies only when contract term >= 12 months
- cancellation window: 30 days before renewal
- formats: USD, ISO dates, no thousands separators
- if the answer is not in RULES or RETRIEVED SECTIONS, say so and stop
RETRIEVED SECTIONS
<<chunk: pricing-tier-overage>>
...
[user]
We have 14 seats contracted, 18 active last month, annual term. What do we pay?
The arithmetic that makes this worth doing: 4,800 tokens inline became roughly 400 fixed plus three or four retrieved chunks at 150 to 400 tokens each. Call it 1,400 tokens on a typical question. That is a 70 percent cut in the reference payload, and the rules that govern the answer did not move.
Chunking by question answered is the structural choice that makes those chunks rank well. Mixed-subject chunks return weaker similarity scores than separated ones, and concise chunks improve both performance and accuracy, which is why semantic and paragraph-based strategies beat fixed-length splits for prose documents per Meilisearch's chunking survey. A useful test for a chunk: can you read it alone and still answer one specific question? If not, split or merge it.