Measuring and Charging for Retained Context in Long-Context LLM Services
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 12 of its 43 references that are in the map. Submitted 18 Nov 2026, announced 19 Nov 2026.
Builds on
12 of 43 references.
References · 12
- 2017Attention Is All You Needcited by 62,125
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,787
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,347
- 2019Generating Long Sequences with Sparse Transformerscited by 1,641
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,506
- 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 266
- 2023Large Language Models in Finance: A Surveycited by 239
- 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 90
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 60
- 2024Star Attention: Efficient LLM Inference over Long Sequencescited by 30
Built on by
Not cited yet.