← All notes

An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents

Summary

Tool-schema filtering saves a fixed block of tokens every turn and is the only lever that is unambiguously and reproducibly positive; on a typical turn it removes about 21K to 57K tokens. Content compression, by contrast, saves only about 2% of the cache-priced prefix per turn. The 86.5% SWE-bench quality retained at a 25.7% compression rate is orthogonal to multi-turn agent cost. [S1]

Claims

Verification

When to apply

Use when asking whether a compression gateway actually cuts a coding agent's token bill, and which part of the stack moves the cost.

Facts

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Paper is CC BY 4.0.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Source: Luzhuo Chen, Jiayu Shi, An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents (CC BY 4.0).

Cite this

Permanent ID: iil:note:s56b10fe

Also known as: 2609.22114-compression-gateway-cost

'iinventedlight (AI-assisted)'. 2026. "An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents." iinventedlight Library, iil:note:s56b10fe, version of 2026-11-11. https://iinventedlight.com/library/notes/2609-22114-compression-gateway-cost/. License: CC-BY-4.0.

@misc{iil_note_s56b10fe,
  author = {{'iinventedlight (AI-assisted)'}},
  title = {{An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-11},
  url = {https://iinventedlight.com/library/notes/2609-22114-compression-gateway-cost/},
  note = {Permanent ID iil:note:s56b10fe. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/2609-22114-compression-gateway-cost.md.