The Cache TTL Trap: Why We Need Paid Retention Windows
EmetInteractive · reddit · 2026-08-30
The author discusses the cost issue of prompt cache expiring when users step away, leading to full re-ingestion costs upon return.
- Pain Point: Developers often write keep-alive scripts. However, a short break (e.g., for coffee) causes the next short prompt to re-ingest the entire context at full input price, a 10x hit for large sessions.
- Proposal: Suggests a "Retention Window" feature. Users would pin a cache key with a TTL and pay a one-time write premium (e.g., 1.25x for short-term, 2x for long-term), significantly reducing read costs for the window's duration.
- Ecosystem: Anthropic has had a 5min/hr mechanism; OpenAI recently added TTL options, and hosts like DeepInfra offer similar features. However, many wrappers hardcode 5 minutes and don't expose these controls.
More from Infra
- Study: 603 data center restrictions in 445 US counties, all 42 ballot proposals rejected — huggingface · 2026-11-30
- Google Colab hands users a G4 Blackwell GPU, user reports — MickeySteamboat · 2026-11-30
- 19 GitHub Actions Runner Providers Benchmarked: Speed and Cost, Updated Weekly — DanielLockyer · 2026-11-30
- Learn Inference: An Interactive Guide to Serving Generative Models in Production — attentionmech · 2026-11-30
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30