# MYELIN: Budget Prompting for Persistent Memory Agents: history

10 versions, 2026-03-31 to 2026-11-25. Newest first. Clone: https://sprintpaper.com/git/budget-prompting.git

## v2.0 · 2026-11-25

15,810 words, +681 / −44 words. Text: https://sprintpaper.com/papers/budget-prompting/v/2.0.md

**Cost is now measured per model call**

The cost metrics now count each model call, not each conversational turn, because one turn can hold many calls. The improvement notes give the reason: the authors' system started recording every call separately.

- A count the provider did not report is left out, never written as zero.
- The context sent with each call is broken down by source before the call.
- The limitations add that the per-call record is live only, so studies over past weeks must use the slower usage ledger.
- The rest is wording and list layout.

## v1.9 · 2026-07-29

15,173 words, +1,294 / −661 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.9.md

**July measurements replace estimates; a budget-gate bug reported**

Measurements from the authors' own deployment replace several estimates, and some claims are taken back. The revision plan and improvement notes in the paper's folder give this as the reason: the July data contradicted the earlier numbers.

- The cache hit rate was 91 %, not the estimated 65 %, so the frozen-snapshot technique (B5) is no longer the top priority; it becomes insurance.
- Tool-output savings now come from an audit of 890 sessions: about 21 % of file-read output was compressible, replacing a 30-50 % guess.
- A new failure is reported: a budget check compared a whole turn's token total with the context size and started 29 needless compactions.
- A context breakdown found to be wrong is withdrawn; only five corrected measurements are kept, without generalising.
- Savings projections the data no longer supports are removed, and an acknowledgements section is added.

## v1.8 · 2026-06-19

14,540 words, +268 / −4 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.8.md

**Explains the three cache breakpoints, with a new figure**

The caching section gains a passage and a figure on how the provider builds the cached prompt in a fixed order (tools, then system, then messages) and where the authors' system places its cache breakpoints. The other figures are renumbered.

## v1.7 · 2026-06-14

14,276 words, +1,955 / −25 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.7.md

**Wider on-demand loading, typed compression, and two related systems**

This version widens the idea of loading only what is needed. Before, it covered memory files; now it also covers tool definitions and skill catalogs, with a measured example of evicting a 44-skill catalog. A new technique (B6a) compresses tool output by its type and keeps the original so the model can ask for it back.

- New related-work sections: headroom, the closest comparable open-source system, and open agent-skill collections.
- The limitations admit that quality is not yet measured well, and future work adopts headroom's benchmark method.
- About 1,900 words added.

## v1.6 · 2026-06-02

12,346 words, +75 / −14 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.6.md

**Savings claim lowered to 2-3x today, 3-5x projected**

The headline number is lowered. The abstract now claims 2 to 3 times lower cost today, and 3 to 5 times only once the unbuilt techniques ship. The technique table explains why it has 21 rows for 20 techniques: one row is the output side of another.

- Spelling switched to American English.

## v1.5 · 2026-06-02

12,285 words, +31 / −37 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.5.md

**Wording only: new first lines for introduction and conclusion**

Wording only. The introduction and the conclusion get new opening sentences; the content does not change.

## v1.4 · 2026-06-02

12,291 words, +269 / −176 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.4.md

**Caching section rewritten around the authors' own system**

The prompt-caching technique (B1) now describes how the authors' own system marks the cached part of the prompt, next to the leaked Claude Code marker, instead of a one-line setting. References to the authors' other papers are replaced by short self-contained definitions, for example of the personality score SyncScore.

- The compaction and tool-pruning sections no longer compare against "our v1.1 design".
- Small wording changes elsewhere.

## v1.3 · 2026-06-02

12,198 words, +283 / −69 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.3.md

**Four figures added; future-work wording updated**

This version adds the paper's first four figures: the request lifecycle, the budget pressure levels, the techniques as rings around caching, and the map of how techniques help or hurt each other. Promises about "v1.0" become promises about "a future revision", and a few sentences are tightened.

- Author and date move into the file header.
- The abstract claim changes from "without measurable degradation" to "with no degradation" we have seen.

## v1.2 · 2026-06-02

11,984 words, +2,086 / −6 words. Text: https://sprintpaper.com/papers/budget-prompting/v/1.2.md

**Adds evidence from the leaked Claude Code source**

This version adds four sections on the Claude Code source code that leaked in March 2026. The authors read its compaction and budget code and found the same three-layer design the paper proposes. The paper's own notes give the leak as the reason for the revision.

- New sections: industrial convergence (2.5), when to stop spending (4.5), the leak as validation (6.5) and a related-work entry (7.8).
- The abstract now names the leak as outside evidence.
- About 2,000 words added; almost nothing removed.

## v1.1 · 2026-03-31

9,904 words, first version. Text: https://sprintpaper.com/papers/budget-prompting/v/1.1.md

**Twenty techniques to cut the running cost of an always-on agent**

This paper is about the bill for an AI assistant that never switches off. Every turn resends the whole context, so an always-on agent can cost 50 to 200 dollars a day or hit a flat-rate plan's limits within hours. The paper collects 20 techniques, in five groups, that the authors say cut the cost per turn by 3 to 5 times without making the agent worse.

- The five groups: send cheap work to cheap models, keep the context small, keep the answers short, spread heavy work over time, and use the shape of the pricing.
- Thirteen techniques run in the authors' own agent since January 2026; seven are designed but not built.
- The main idea is "prefix stability": prompt caching only pays when the start of the prompt stays the same, and memory writes keep changing it.
- It reports cost data, cache hit rates and failures from three months of use, and proposes a way to measure savings without losing quality.
