Re:Prompt-caching – auto-injects Anthropic cache breakpoints...
by somesnm on Friday March 13, 2026 @08:15AM
(#47363398)
Hasn't this been largely solved by auto-caching introduced recently by Anthropic, where you pass "cache_control": {"type": "ephemeral"} in your request and it puts breakpoints automatically? https://platform.claude.com/docs/en/build-with-claude/prompt...
[ Parent
| on HN ]
Re:Prompt-caching – auto-injects Anthropic cache breakpoints...
by stingraycharles on Friday March 13, 2026 @08:26AM
(#47363530)
Yes, it has, this is a non-problem, and even if it was a problem, an MCP server would most definitely be one of the worst ways to fix it.
Re:Prompt-caching – auto-injects Anthropic cache breakpoints...
by philipp-gayret on Friday March 13, 2026 @08:27AM
(#47363547)
Looking at my own usage with claude code out of the box and nothing special around caching set up. For this month according to ccusage I have in tokens 0.2M input, 0.6M output, 10M cache create, 311M cache read for 322M total tokens.
Seems to me that it caches out of the box quite heavily, but if I can trim my usage somehow with these kind of tools I'd love to know.
Re:Prompt-caching – auto-injects Anthropic cache breakpoints...
by stingraycharles on Friday March 13, 2026 @08:44AM
(#47363733)
This is not about caching things for stuff that others built, it’s solely to modify code that you’re writing that will use Anthropic’s API endpoints.
[dead]
Re:Prompt-caching – auto-injects Anthropic cache breakpoints...
by stingraycharles on Friday March 13, 2026 @08:39AM
(#47363689)
Please don’t use AI for writing comments.
Also, what this adds is mostly overhead at the wrong level of abstraction, not visibility.