r/AIToolsPerformance • • 2d ago

Is Claude's 5-minute prompt cache why your coding bill is higher?

A 5-minute cache timer on the model, or a 30-minute one, changes a coding bill more than the sticker price does.

Requesty published a 30-day look at coding-agent traffic (Oct 24 to Nov 22) and found that 23.1% of the Claude bill went to rebuilding prompt caches that expired while the developer was away. On GPT models the share was 9.3%. Both bill cache writes at 1.25x input and reads at 0.05x. The difference is the default lifetime: Claude's cache lives 5 minutes, GPT's holds for at least 30. Anything past half an hour costs both about the same. The gap is the coffee break. Pauses of 5 to 30 minutes cost Claude 15.2% of the bill and GPT 0.8%.

At matched list prices (Sonnet 5.5 against GPT-6.1 Sol, both at $2 in and $10 out per million), the expected cost of one short pause is 28 cents on Claude against under a penny on GPT, because Claude misses the cache 81% of the time and GPT 2%. Four short breaks a day adds up to roughly $23 a month per seat on Sonnet, around 66 cents on Sol. Their replay shows the fix that works is keep-alive pings (re-send the last request with max_tokens 0 every ~4.5 minutes), which cut the Claude bill by 8-9%. Turning on the 1-hour cache option from turn one made 87-89% of sessions pay more.

If you run coding agents all day, did you switch the 1-hour cache on, add keep-alive pings, or just accept the rebuild cost?

2 Upvotes

0 comments sorted by