Build1 distinct publisher3 min readPublished
Because provider APIs are stateless, every token you remove from a static prompt is removed once per turn. That arithmetic is why the fix for a synchronous support agent looks nothing like the fix for an autonomous CI debugger.
The Engineer · Build desk

Compiled by The EngineerSomething wrong?How this is made
Check the 60% figure first, because it is the one number in the guide that demonstrates the mechanism instead of asserting it. Concierge's system prompt went from 3,100 tokens to 380 after a retrieval step replaced hardcoded policy text, and the guide calls that a 60% reduction for a 10-turn thread [13]. Per call it is an 88% cut. The session-level number works out because the static prompt is resent on every turn: 10 x 2,720 removed tokens is 27,200, against a 45,300-token baseline for the ticket, which is 60.0% [1].
That division is the argument. Provider APIs are stateless, so each call carries the whole history, and the model's own prior outputs come back as billable input on later steps [6]. Summed over N steps the input volume compounds quadratically [7]. A token deleted from static context is deleted N times; a token the model emits early is purchased N times.
So price the emission. At a baseline of $3 per million input tokens and $15 per million output [5], a token generated on turn 1 of a 10-turn ticket is billed once at output rates and then resent as input on nine later calls: 15 + (9 x 3) = $42 per million, 2.8x its sticker price [3]. Output is nominally 5x input at that baseline, the top of the 4-5x spread the guide cites [2] [4]. Re-billing is the bigger multiplier.
The absolute totals are claims about someone else's workload. 45,300 input tokens per Concierge ticket and 150,000 per 15-step Pathfinder run [8] [9] come to roughly 14 cents and 45 cents of input at the baseline rate [5]. For those to transfer, your static context, your per-step payload and your step count all have to match theirs, and the guide says outright that Pathfinder's step increment was 4x Concierge's [10]. The shape of the curve is the portable part.
The two fixes diverge because the workloads do. Concierge is a latency-sensitive synchronous support agent, so it got retrieval: 2-3 relevant policy snippets per ticket [2] [13]. Pathfinder ingests CI logs asynchronously, so it got LLMLingua-2 at rate=0.33 with Error, Exception, Failed, Traceback and FATAL pinned as force_tokens, cutting incoming observation size 3X with no reported loss of debugging accuracy [15] [14]. 1/0.33 is 3.03, so the configured rate is the reported result [6].
Neither fix touches the worst case. A stuck tool-use loop that reaches 30 steps consumes 570,000 tokens in one run, about $1.71 of input [11] [5]. That is 3.8x the 15-step figure for twice the steps, close to what squaring the step ratio predicts [4]. Compression scales the curve down by a constant; only a step ceiling changes its degree.
The compressor call is wrapped in try/except and falls back to the raw or truncated log when compression fails [16]. That is the right default, and it means a compressor outage lands on the invoice instead of the pager, which is also why nobody will notice it for a month. Worth noting: the checkpoint is llmlingua-2-xlm-roberta-large-meetingbank [15], a meeting-transcript model aimed at CI logs, which is presumably why the error keywords are pinned by hand.
The retry path is the same tax in a worse form. Prose instructions to "return JSON" produced malformed output, and each parse failure triggered a synchronous retry that resent the accumulated context [17]. At step nine, a schema violation buys the entire history again.
Ranked by verification strength, evidence, and original report placement.
Summed across a complete execution run of N steps, total input token volume compounds quadratically, and this O(N^2) accumulation of history is the mechanism causing the explosion in cost and latency.
Relying on open-ended prose instructions to 'return JSON' caused malformed output, and when parsing failed the system initiated a synchronous retry that resent the accumulated context.
The guide works through two systems: Concierge, a latency-sensitive synchronous customer support agent, and Pathfinder, an asynchronous multi-step autonomous CI debugging agent.
Major LLM providers tokenize with byte-pair encoding; the guide's rule of thumb is 1 token = 4 characters, or 0.75 words in standard English prose.
The guide states output tokens are typically 4-5X more expensive than input tokens.
As a baseline, the guide assumes a mid-tier frontier model runs roughly $3 per million input tokens and $15 per million output tokens.
Distinct publishers with included, body-backed reporting in this cluster.
1 article · September 3, 2026
Follow any of these and your For You feed starts watching them — no settings page required.
build
Long agent sessions bill the same context 32 times over1 distinct publisher
build
Harness choice moved token use 83-fold with the model held constant1 distinct publisher
build
Deferred tool schemas cut cost 21% on average, and made one task type 12.3% dearer1 distinct publisher
build
The AGENTS.md file is an audit of the documentation you never wrote for humans1 distinct publisher
Evidence-backed comparisons of source perspectives and observed adoption signals. Read the methodology
Which Builder, Operator, and Investor concerns the observed source mix emphasized—not a truth score.
Evidence, demonstrated adoption, hype gap, incentives, and confidence are assessed independently, each on its own current evidence. How these are measured.
One account, arithmetic that survives a recount
Everything in this story traces to a single first-person guide, and the parts we could redo by hand hold: strip 2,720 tokens from a prompt resent ten times and you really do recover 60% of a 45,300-token session; a 0.33 compression rate really is about 3x. What cannot be checked is the input side. The per-turn cost expression the quadratic argument depends on is announced and then simply absent from the published text, the token totals are described as formula outputs rather than logged telemetry, and the two agents have no company, provider, traffic volume, or observation window attached.
Two systems, one team, one telling
The guide describes both agents as live and already remediated, which is a real deployment signal — but it is entirely self-reported, and neither system can be identified, so nobody outside can confirm the before or the after. Beyond that team, the only adoption visible is unremarkable: a publicly available Microsoft compression model and Pydantic called with ordinary parameters. No other organisation, no usage numbers, no third-party replication of the pattern appears anywhere in this reporting.
Sober mechanics, two loud silences
The guide undersells rather than oversells its core insight, and the arithmetic is honest, which makes the gaps conspicuous. '3x smaller logs without sacrificing debugging accuracy' arrives with no accuracy test at all, and 'under 0.5% malformed' with no denominator or window. The bigger tilt is an omission: provider-side prompt caching discounts exactly the resent history that the quadratic tax is built from, and it is never mentioned — so the tax as described is harsher than a caching-aware team would actually pay.
Byline withheld
We cannot see who wrote this or who they work for. The guide speaks as 'we' about two production agents at an undisclosed company, recommends a Microsoft research model and two open source decoding libraries, and sells no product of its own. Whether that makes it a practitioner writeup or positioning for someone's platform is not something this reporting lets us settle, so we leave it unscored rather than invent a motive.
Confident about the mechanism, not the results
Two very different levels of certainty are bundled together here. The stateless re-billing mechanism and the per-turn savings multiplier we would defend to anyone, because they follow from how providers price calls and they re-add correctly. The outcomes — 45,300 tokens a ticket, 3x smaller logs, accuracy untouched, malformation under half a percent — rest on one unverifiable voice, and no second publisher has looked at any of it.