Remix.run Logo
sarchertech 2 days ago

Caching has so many caveats. The cache expiration window is short, if you change document in the context it clears the cache, if you change anything in the prompt prefix it clears the cache. And there’s no reason to think that Anthropic will keep charging dramatically less for cached tokens on the future once they start trying to make a profit.

shepherdjerred 2 days ago | parent [-]

My understanding is that Claude Code/Codex both put great effort into utilizing caching.

sarchertech 2 days ago | parent [-]

Yeah of course they do because it saves them more money than they are passing on to you. That doesn’t mean that they are magically able to overcome the tradeoffs inherent to caching. All of the issues I mentioned will still invalidate your cache.