WeWorkBuddy

Claude Code's API billing depends on how often the cache expires

Hello, HN! I’m Max, CTO at Hystax. We use Claude a lot in our development work, and we’re also trying to make coding agents cheaper to run. We built the open-source Kompressor for compressing identical tool outputs that agents constantly resend. In our Codex tests, we noticed a real cost reduction of 22.7%. But testing it with Claude Code, we found something completely different. In Claude Code, the cache plays a more crucial role than compression. Claude Code marks its messages with caching poi

阅读原始来源
原始网页截图: Claude Code's API billing depends on how often the cache expires
原始网页截图 · news.ycombinator.com

来源记录

指标快照

points · 2 votes
2026-11-12 16:30:29.579Z
cumulative since publication

研究分析

来源记录

来源描述:Hello, HN! I’m Max, CTO at Hystax. We use Claude a lot in our development work, and we’re also trying to make coding agents cheaper to run. We built the open-source Kompressor for compressing identical tool outputs that agents constantly resend. In our Codex tests, we noticed a real cost reduction of 22.7%. But testing it with Claude Code, we found something completely different. In Claude Code, the cache plays a more crucial role than compression. Claude Code marks its messages with caching poi

现有背景

来源票数: 2 votes (2026年11月12日 UTC; cumulative since publication) 可供比较的近期同类记录:“United Airlines blocks AI agents from booking flights, citing cybersecurity risks” (TechCrunch, 2026年11月12日);“Kazakhstan-linked hackers used AI agent to spy on Central Asian governments” (Hacker News, 2026年11月12日)。主题相近仅用于导航,未核验其是否属于同一需求或独立证据。

研究状态

这条记录尚不能可靠归入主类,未生成商业或性能结论。

缺失证据

需要核验主要事件、受影响对象与原始证据。

下一步

阅读原文,明确它支持什么决策,再选择对应分析框架。