Measuring and Charging for Retained Context in Long-Context LLM Services
Yi Lu, Qianshi Lin, Yumeng Yang, Hongxia Wang
Key points
From the paper's conclusion- We present a three-layer framework separating content relevance, observable proxies and auditable positional weights.
Abstract
Long-context large language model (LLM) services charge for repeated context, yet billing weights need not reflect its contribution to answer quality. We present a three-layer framework separating content relevance, observable proxies and auditable positional weights. Context-ablation experiments show that relevance dominates position and that distance-decay families do not outperform a relevance-only baseline. A measured serving stack shows that cache hits reduce repeated-prefix compute cost by over two orders of magnitude at 65,536 tokens, while cold resends constrain sustainable discounts. Cross-provider measurements separate cache value from tokenisation and list-price differences. Calibrated simulations reduce the 99th percentile of session charges by 31-42%, although revenue-matched nonlinear tariffs achieve similar reductions and median charges increase. The framework provides a bounded per-token accounting rule and measured deployment constraints, rather than a validated utility estimator.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-Turn Semantic Caching for Low-Cost LLM ServingarXiv · 2026
- Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in RetrievalarXiv · 2026
- Semantic Caches for LLM Web Services Leave Their Error Budget UnspentarXiv · 2026
- Who Pays for Thinking? Billing Hidden Reasoning Tokens in Model Cloud ContractsarXiv · 2026
- LiveCtx context selection at query time for long conversational historiesDiscover Computing · 2026
- PACE: Keeping the Right Tokens in the KV Cache Is Not Enough for Long-Horizon LLM AgentsarXiv · 2026