mlsanityData to 14 Oct 2026

Token Reduction Is Not Cost Reduction

arXiv 2607.12161 ↗First posted 13 Jul 2026cs.CLcited by 2

On the map: LLM agents and tool use → Agent memory systems

also in 1 more
Abstract (arXiv)

Token-reduction tools for coding agents are often evaluated by the number of tokens they remove, but token count alone does not determine end-to-end inference cost. We evaluate three token-reduction approaches against an unmodified Claude Code baseline across controlled coding tasks, measuring provider-billed cost, task success, cache traffic, and agent behavior. The largest compression setup reduced delivered tool-output tokens by 38.4% but increased billed cost by 6.8%, while lighter compression produced only small and statistically uncertain savings. Across tasks, token reduction was weakly correlated with cost reduction (Pearson r = 0.15). Cost decomposition shows that prompt-cache creation and reads dominate the measured input-side cost, leaving only a limited fraction of total spend directly addressable by tool-output compression. We also find that compression can alter agent trajectories through additional retrieval, diagnosis, testing, and turns, offsetting local token savings. On a SWE-bench Go subset, aggressive compression also reduced successful patch application. These results show that token reduction is not a reliable proxy for cost reduction in tool-heavy coding agents. Effective optimization should therefore be evaluated at the level of cost per successful task, including cache behavior, trajectory changes, and correctness rather than token counts alone.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 26 of its 48 references that are in the map. First posted on arXiv 13 Jul 2026.

Builds on

26 of 48 references.

References · 26

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  6. 2021Program Synthesis with Large Language Modelscited by 3,637
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  8. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  9. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
  10. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  11. 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,402
  12. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
14 more
  1. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
  2. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
  3. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  4. 2024Executable Code Actions Elicit Better LLM Agentscited by 564
  5. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  6. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  7. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  8. 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
  9. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
  10. 2023InterCode: Standardizing and Benchmarking Interactive Coding with Execution Feedbackcited by 238
  11. 2023Compressing Context to Enhance Inference Efficiency of Large Language Modelscited by 189
  12. 2023Efficient Large Language Models: A Surveycited by 186
  13. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 171
  14. 2023Retrieval meets Long Context Large Language Modelscited by 115

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Token Savings: A Systematic Study of Context Compression in LLM Agents
  2. 2026An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents
  3. 2026Can your AI agent be cheaper? Investigating the effects of task specifications on token spend in agentic coding tasks
  4. 2026Analyzing and Mitigating Cost-Inefficient Behaviors in Coding Agents
  5. 2026How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks
  6. 2026Reducing Token Usage of State-in-Context Agents using Minification
  7. 2026The Best Programming Language for Tokenmaxxing: An Investigation of Coding Agent Behavior Across Programming Languages
  8. 2025Reducing Cost of LLM Agents with Trajectory Reduction