By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
Every Helios chat call sends 9,500 input tokens. A policy handbook excerpt takes 4,200. Tool schemas take 1,100. Style and scope rules take 600. The customer history takes 2,400, retrieved snippets take 700, and the current question takes 500. At 30,000 calls a day, that is 285 million input tokens.
Finance asks for a 25% cut in input tokens without losing a point of answer quality. The instinct is to shorten the handbook, the most expensive place to cut.
A token ledger lists each block, its size, and how often it changes. Cost is tokens per call times calls per day, so a small block becomes visible at volume, and a vague argument about prompt length becomes arithmetic.
You can only cut what you can name. Teams that build the ledger usually find that a third of the context is duplicated, stale, or irrelevant to the current call.
CALLS_PER_DAY = 30_000
CONTEXT = {
"policy_handbook": 4_200,
"tool_schemas": 1_100,
"style_rules": 600,
"customer_history": 2_400,
"retrieved_snippets": 700,
"task": 500,
}
TRIMMED = {
**CONTEXT,
"tool_schemas": 850,
"customer_history": 400,
"retrieved_snippets": 450,
}
def report(label: str, blocks: dict[str, int]) -> None:
per_call = sum(blocks.values())
daily = per_call * CALLS_PER_DAY
print(f"{label}: {per_call:,} tokens per call, {daily:,} per day")
report("before", CONTEXT)
report("after", TRIMMED)Volatility is how often a block's text changes. Handbook and style rules change on a release, tool schemas change on a deploy, and history, snippets and the task change on every call. Volatility is the property that decides both how you trim a block and how you cache it in the next lesson.
| Block | Tokens | Changes | Correct action |
|---|---|---|---|
| Policy handbook excerpt | 4,200 | Per release | Cache and version |
| Tool schemas | 1,100 | Per deploy | Cache and dedupe |
| Style and scope rules | 600 | Per release | Cache with the handbook |
| Customer history | 2,400 | Every call | Summarise to cited fields |
| Retrieved snippets | 700 | Every call | Cap at three, with a floor |
| Current task | 500 | Every call | Keep it intact |
The table suggests the answer. The two blocks that change on every call send 3,100 tokens of mostly unused detail, while the handbook earns its place because the answer must quote its wording.
Three cuts keep quality in this system. Summarise the customer history to the six fields the answer actually cites. Drop retrieved snippets below a relevance score and cap the survivors at three. Remove tool schemas that two tools share, since a duplicate costs tokens and adds nothing.
A cut is a hypothesis with a measurable answer. Run the probe set before and after, and keep the cut only when agreement holds and tokens fall. The table is that run for Helios.
| Trim | Tokens saved | Agreement before and after | Decision |
|---|---|---|---|
| Customer history: 2,400 to a 400-token summary | 2,000 | 96.4% to 96.4% | Keep |
| Retrieved snippets: cap at three | 250 | 96.4% to 96.2% | Keep |
| Tool schemas: remove duplicates | 250 | 96.4% to 96.4% | Keep |
| Style rules: 600 to 200 | 400 | 96.4% to 93.3% | Revert |
| Policy handbook: 4,200 to 1,800 | 2,400 | 96.4% to 89.9% | Revert |
The two cheapest-looking cuts were the most expensive. The handbook lost 2,400 tokens and 6.5 points, because the answer quotes policy wording. The history lost 2,000 tokens and nothing, because the answer only ever cited six fields.
Write the metric, tolerance and rollback before you run the cut. Without a stop rule you cannot tell a real loss from noise.
A 0.2-point move on 240 cases is noise, since one case is 0.4 points. A 2-point move is worth reading case by case. A 6-point move is a revert, whatever the saving.
Both blocks are stable, which makes them cheap to cache and expensive to trim. That asymmetry is the lesson: trim where volatility is high, cache where it is low.
You inherit a support prompt at 8,000 tokens per call, with 140,000 calls a day and a 20% reduction target. Here is the ledger: policy 980, product catalogue 2,600, ten few-shot examples 1,900, customer history 1,500, retrieved FAQ 900, task 120.
Write five lines a product owner could read. If a line calls a block unnecessary without saying what it does, the review sends it back.
Key takeaways
A token ledger is tokens per call times calls per day.
Volatility decides: cache the slow blocks, trim the fast ones.
Cut where the task does not read; never trim the customer's question.
A trim is an experiment: metric, tolerance, rollback, defined first.
Scope rules and definitions are the worst cuts and the best cache candidates.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.