Reproduce “Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Elias Lumer, Faheem Nizar, Akshaya Jangiti, Kevin Frank, Anmol Gulati, Mandar Phadate, Vamse Kumar Subbiah
PricewaterhouseCoopers researchers conducted a comprehensive evaluation of prompt caching across major LLM providers for long-horizon agentic tasks, demonstrating that it significantly reduces API costs by 41-80% and improves time to first token by 6-31%, with strategic cache boundary control being crucial for optimal latency.
Key insights
- Prompt caching consistently offers substantial API cost reductions and TTFT improvements for agentic tasks, particularly for larger prompt sizes, but benefits are provider-dependent.
- Strategic cache boundary control, such as caching only stable system prompts and excluding dynamic tool results, is crucial for maximizing TTFT improvements and preventing performance regressions from cache write overhead.
- The system prompt length is a primary driver of cost savings, with additional caching of dynamic conversation history or tool calls providing only marginal incremental advantages for cost in the tested setup.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.