What HN thinks
The discussion debates the cost impact of Anthropic's 5-minute prompt cache TTL on Claude Code API usage, with some arguing it's a significant hidden cost while others say it's avoidable or not applicable to subscription plans.
Leading view, no majority (47%) Based on 45 of 57 sampled comments that took a side (96 in the thread).
-
5-min cache is a real cost problem 47%
Commenters argue that the short 5-minute cache TTL leads to frequent cache misses and higher bills, especially in long-running sessions with pauses or subagents. They suggest workarounds like keep-alive pings or longer TTLs.
“I did indeed run into this problem when I was steering 4 or 5 chats that would ask for feedback that took a few minutes to provide.” — viccis
21 comments
-
Article is overblown or misleading 22%
Some commenters say the article exaggerates the issue, noting that subscription plans default to 1-hour cache, and the 23% figure is based on API usage with long breaks. They also criticize the article's AI-generated style.
“FWIW, it's very Chicken Little / "the sky is falling!!111!": the idea is if you walked away for > 5m between every Claude request, re-caching would be 23% of your bill.” — refulgentis
10 comments
-
Cache TTL is a provider trade-off 22%
Some commenters explain that the 5-minute TTL is a deliberate choice balancing cost and hit rate, and that longer TTLs cost more to write. They note that different providers offer different options.
“Since the API is bare, the use cases will be broader than just agent sessions -- automated scripting and customer-served chatbotting are two obvious supplemental use-cases.” — Majromax
10 comments
-
Use alternatives or local models 9%
A few commenters suggest using cheaper providers like DeepSeek or local models to avoid cache costs entirely, or point out that local models can be more cost-effective.
“just use deepseek 10-100x cheaper is not something to sneeze at” — NooneAtAll5
4 comments