logoalt Hacker News

bchernylast Sunday at 3:20 PM4 repliesview on HN

> 1hr -> 5min on March 6th

This is not accurate. The main agent typically uses a 1h cache (except for API customers, which can enable 1h but it is not on by default because it costs more). Sub-agents typically use a 5m cache.


Replies

throwdbaawaylast Sunday at 3:28 PM

https://github.com/anthropics/claude-code/issues/46829#issue... - Have you checked with your colleague? (and his AI, of course)

show 1 reply
mvkellast Sunday at 8:47 PM

Then my original question stands: why did this become an issue seemingly overnight if nothing changed?

aaronblohowiaklast Sunday at 3:36 PM

So if I run a test suite or compile my rust program in a sub agent I’m going to get cache misses? Boo.

show 1 reply
highdlast Sunday at 7:34 PM

... so how do API users enable 1hr caching? I haven't found a setting anywhere.

show 1 reply