All writing
Post1 min read

23.1% of Claude API coding bills go to expired prompt caches, versus 9.3% on GPT

Amadeo Pellicce

23.1% of Claude API coding bills go to rebuilding expired prompt caches, versus 9.3% on GPT.

Anthropic expires the cache after 5 minutes, while GPT gives you 30.

One 8-minute break on a 210k-token session turns a $0.04 cache read into a $1.05 write.

One trick is to use keep-alive pings, but that only gets you so far.

Originally on XReply on X

Never miss a post

Full posts by email before anywhere else. No spam, ever.

Related posts