Why Telegram-Style Prompts Do Not Save Money in Coding Agents

    A terse, “telegram-style” prompt format went viral on claims of cutting output tokens by 65%. A paired evaluation on 86 real coding tasks found no meaningful quality change, only about 8.5% fewer output tokens, and at most roughly 10% lower total cost—often lost in task-level noise. This article explains why chat-style compression does not transfer to coding agents, when shortening instructions can raise the bill, and which levers actually reduce cost.

    In late November 2026, an open-source prompt-style project whose slogan was essentially “if a few words will do, do not waste tokens” reached the top of the trending lists on a developer community and a code-hosting platform at the same time, with 122,900 stars. The pitch was simple: make coding assistants talk like a telegram—drop courtesy and preamble, and the bill falls. The figure that spread was “65% fewer output tokens.”

    An AI research team then ran a stricter test: a paired A/B comparison of about 240 billed trials on a public benchmark of 86 real programming tasks, at a total cost of about $106. The result has two layers. Code quality did not degrade—among 82 valid pairs, 8 were better, 10 were worse, and 64 were ties; a sign test gave p = 0.82, statistically almost no difference. Output tokens fell only 8.5% (about 592k down to 542k). Converted to total cost, the saving was at most about 10%, and a single task’s random variation could easily wipe it out.

    Why does the same method advertise 65% and deliver 8.5% in real development? The model is not “being lazy.” The mistake is treating a chat window and a coding agent as the same thing.

    2. Split the bill: cost is not set by how much the model talks

    The billed cost of one agent task can be written roughly as:

    1. Total cost ≈ Σ(input tokens per turn × input price) + Σ(output tokens per turn × output price) + tool/retrieval and other add-on fees
    2. where input tokens per turn ≈ system prompt + accumulated history + tool definitions + retrieved snippets + current instruction

    Two points matter. First, the input side is cumulative: turn N includes everything from the previous N−1 turns, so input tokens grow roughly with the square of the number of turns. Second, agent output is not “natural-language prose.” It is tool-call arguments, file patches, structured data, commands, and test output.

    A schematic token breakdown:

    1. Pure Q&A (explain an error)
    2. Input ≈ 1.2k Output ≈ 0.3k (almost all prose) → compressing prose can cut about two-thirds of the output
    3. Real agent task (fix a defect across 3 files and run tests)
    4. Input ≈ 45k (code context and tool definitions, accumulated turn by turn)
    5. Output ≈ 6k, of which:
    6. Code patches / file contents ≈ 3.5k ← not compressible; must be character-correct
    7. Tool calls and arguments ≈ 1.2k ← structured; compression means failure
    8. Natural-language explanation ≈ 1.3k ← the only compressible part

    The compressible slice is only about one-fifth of the output, and output itself is only a small share of total tokens. Cutting two-thirds of the prose is therefore diluted to a single-digit percentage of the whole bill. That gap is the entire difference between 65% and 8.5%.

    3. Why code and structured output cannot be “telegraphed”

    • Code carries exact semantics. useMemo cannot become “use that memo thing.” Variable names, types, and import paths must be character-correct. Compression here manufactures bugs.
    • Tool calls are a protocol. Argument names and value formats are fixed by the interface. A missing field fails the call and triggers a retry—and a retry raises both input and output.
    • Tests and logs are factual data. Failure stacks and assertion diffs are evidence you cannot trim. Dropping a key line leaves later reasoning without a basis.
    • The prose share falls as tasks get harder. The closer a task is to “change one line,” the larger the prose share and the bigger the compression gain. The closer it is to a multi-file refactor, the closer the gain is to zero.

    The conclusion is clear: telegram style is an output-format preference. It equals saving money only in explanatory, single-turn, short-output settings. On an agent execution path, it acts on a denominator that was already small.

    4. Why 8.5% is credible: paired design and a sign test

    The method is worth copying, not only the headline number:

    1. Paired design. The same task and the same initial state; only the prompt style changes. That removes variance from task difficulty.
    2. Enough sample. 86 tasks and about 240 billed trials, covering repository-scale edits rather than toy problems.
    3. A nonparametric test. A sign test handles ordered but non-interval judgments—“better,” “worse,” or “tie.” p = 0.82 means the data cannot reject a “no difference” null.
    4. Billed figures, not estimates. Tokens and charges were recorded directly.

    Not significant does not prove equivalence. It only means no difference was observed on this task set and sample size. An 8.5% saving is smaller than between-task fluctuation, so it is not something engineering can rely on.

    5. The less intuitive point: compressing the prompt itself can raise the bill

    Many people also rewrite their system prompt and task description in telegram style, and cost goes up. The mechanism:

    1. More ambiguous instructions → the model misreads the request → extra file reads / extra probing turns / wrong patches
    2. → more turns → more accumulated input tokens + rework output → higher total cost

    A schematic contrast:

    1. Compressed: Fix that login bug. Don’t ramble.
    2. Explicit: In the auth/session module, the local cache is not cleared after the token expires,
    3. which causes repeated redirects. Find where the cache is written, add expiry cleanup,
    4. and add a unit test that covers this path.

    The second version’s output may be slightly longer, but it usually lands in one turn. The first often ends as three probing turns plus a rollback. Under cumulative input, those extra two turns are often an order of magnitude more expensive than a few hundred tokens saved. What you can compress is expressive redundancy. What you cannot compress is the completeness of constraints, acceptance criteria, and boundary conditions.

    6. Levers that actually cut cost (by payoff)

    1. Context control. Inject only the files and snippets you need; do not stuff the whole repository in. Trade retrieval precision for tokens.
    2. Higher cache hit rate. Keep the order and content of the system prompt and tool definitions stable so prefix reuse works. This is the largest lever on the input side.
    3. Isolate subtasks. Split exploration, retrieval, and implementation into separate contexts. Keep only conclusions on the main path so history does not accumulate without bound.
    4. Trim tool output. Structurally truncate and summarize logs and search results; keep only the lines related to the error.
    5. Tiered model routing. Use a small model for mechanical rewrites and a large model for architectural reasoning.
    6. Fail fast. Cap turns and detect repeated reads so the agent does not keep rereading the same file.
    7. Output style last. Shorten explanatory prose only when it clearly does not damage the completeness of the constraints.

    7. Build your own eval: turn “it feels cheaper” into reproducible data

    1. # Pseudocode: a minimal skeleton for a paired evaluation
    2. tasks = load_tasks(n=80) # repository-scale tasks
    3. for t in tasks:
    4. base = run(t, style="verbose", seed=0)
    5. exp = run(t, style="terse", seed=0) # change style only; everything else stays fixed
    6. record(t, base, exp) # pass rate, tokens, cost, turns
    7. # Metrics: task pass rate, cost per task, input/output tokens, average turns
    8. # Decision: paired sign test + median cost difference and confidence interval

    The north-star metric should be cost per accepted task, not price per thousand tokens. Fix sources of randomness. Report the spread. Do not claim equivalence when the sample is too small.

    8. Conclusion

    “Make the AI say less filler” was a successful piece of distribution and a misread engineering result. It took output-compression gains from chat and wrongly extrapolated them to an agent execution path, where the bulk of the bill is incompressible code, protocol-shaped tool calls, and accumulated input. The measured answer is: no quality loss, 8.5% less output, at most about 10% lower total cost, and that saving is unstable. Compress the instructions as well, and cost goes up.

    Three practical rules: use brevity on explanations and completeness on constraints; move optimization from output toward context and caching; and put any optimization through a paired evaluation on billed cost before it reaches production.