header-langage
简体中文
繁體中文
English
Tiếng Việt
한국어
日本語
ภาษาไทย
Türkçe
Scan to Download the APP
Partnered With:

User Comprehensively Validates Claude Code Cache Shrinkage with 120K API Records, Anthropic Claims It's Even Cheaper

According to 1M AI News's monitoring, Claude Code user Sean Swanson submitted a bug report on GitHub, providing hard data that revealed Anthropic quietly tweaked Claude Code's caching mechanism in early March. In essence, Claude Code attaches a significant amount of context (existing code, background instructions, etc.) to each conversation, which is cached to avoid redundant processing. The longer the cache is retained, the cheaper subsequent conversations become; once it expires, reprocessing is required, incurring additional costs.

Swanson analyzed approximately 120,000 API call records from two devices spanning January 11 to April 11, noting that from February 1 to March 5, the cache retention for all requests was set to 1 hour. Starting March 6, the cache retention was reverted to 5 minutes, resulting in a 20%-32% increase in cache creation costs. Despite having a $200/month subscription for half a year without fully utilizing the quota, March was the first month Swanson exceeded the limit.

Bun's founder, now employed at Anthropic, Jarred Sumner acknowledged this analysis but argued that reverting to a 5-minute cache actually reduces costs overall: many requests are one-time and never revisited, with the write cost for a 5-minute cache being only half of that for an hour-long cache. Swanson partially agrees, noting that quick, one-off tasks benefit from the lower write costs. However, his main counterargument is that Claude Code's most typical use case is precisely long, high-context main sessions, where a 5-minute cache inflicts a heavy penalty on such users.

Claude Code's founder, Boris Cherny, highlighted another reason for quota burn: paying users have access to a super-sized context window of 1 million tokens, and when the cache expires, the cost of reprocessing is substantial. "Returning to your computer after an hour to continue an old session basically means reprocessing everything." He revealed that Anthropic is considering reducing the default context window to 400,000 tokens, allowing users to manually switch back to 1 million. Some Pro users ($20/month) have nearly exhausted their quota to the extent that they can only send two messages within a five-hour period. Some users also pointed out that the cache code itself has bugs, arguing that until these bugs are fixed, debating between a 5-minute and 1-hour cache retention is meaningless.

举报 Correction/Report
RelatedRecommended
Anthropic chose the harder path, getting stuff done with your terminal, your environment, your config, instead of "writing some code in a clean room and then copy-pasting it over."
The code directly responsible for calling the AI model's API accounts for only 1.6% of the total.
The credit limit of premium users evaporates at a rate 10-20 times faster, and the official response is to ask you to use it more sparingly.
Anthropic's Chief Product Officer Mike Krieger Latest Interview
Correction/Report
Submit
Add Library
Visible to myself only
Public
Save
Choose Library
Add Library
Cancel
Finish