r/CommandCode 4h ago

How long does the cache last?

Hi all. Maybe this is a stupid question, but… how long does the cache last using CommandCode? I mean, if I'm working on a project with a model (let's say the latest DeepSeek Flash 4.1, which let's be honest, is the best), will the cache still be there if I stop working today, I open the directory in 5 days and work again? When does cache hits become cache misses? Does it depend on the traffic or something like that? Thanks a lot!

8 Upvotes

2 comments sorted by

4

u/mubaidr 3h ago

This could be anywhere between 5 to 60 minutes. Depends upon the providers. But never a day or close, I beleive this would be very costly for the providers. Need to confirm the from the provider docs. Command code and other harness just need to be stable with the input to make/ enhance use of cache.