Hacker News new | ask | show | jobs
by viccis 46 days ago
Cache TTL will get you anyway. For Claude subscriptions, subagents still have a 5m TTL and before I discovered that, their constant waits for ~10 min tests or similar tasks would destroy my 5h usage. And for my API subscription at work, Claude has a 5m TTL for all stuff, and that's nowhere near long enough. You have to be monitoring this unless you want to absolutely torch your company's budget.
1 comments

You can set it to 1h. The analysis script Claude wrote for me says I'm saving 11% over the 5m window by doing that on my API account.

It's something, at least.

Yeah my problem is that I need to toggle it between "really active constantly writing" sessions and "running a bunch of long tests and periodically pinging me about it" ones. The former are best with 5m, the latter with 1h.

Ultimately, Codex doesn't suffer from ANY of this so I'm starting to think about just using it for work subscription use as well.