Slightly off-topic, but I recently tested some tool and it turns out Opus is far cheaper than Sonnet, because it produces way less output tokens and those are what's expensive. It's also much slower than Opus (I did 9 runs to compare Haiku, Sonnet and Opus on the same problem). I also thought "oh, Sonnet is more light-weight and cheaper than Opus", no, that's actually just marketing.
Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
21–30 of 33 posts
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#22As per its own FAQ this plugin is out of date and doesn’t actually do anything incremental re:caching: > "Hasn't Anthropic's new auto-caching feature solved this?" > Largely, yes — Anthropic's automatic caching (passing "cache_control": {"type": "ephemeral"} at the top level) handles breakpoint placement automatically now. This plugin predates that feature and originally filled that gap.
I don't understand and I'm curious, why a dead on arrival open source tool needs a separate domain? Domain Name: prompt-caching.ai Updated Date: 2026-03-12T20:31:44Z Creation Date: 2026-03-12T20:27:35Z Registry Expiry Date: 2028-03-12T20:27:35Z
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#23Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#24Earlier quoted context omitted.
I don't understand and I'm curious, why a dead on arrival open source tool needs a separate domain? Domain Name: prompt-caching.ai Updated Date: 2026-03-12T20:31:44Z Creation Date: 2026-03-12T20:27:35Z Registry Expiry Date: 2028-03-12T20:27:35Z
Is it perhaps because this is for claude code but there's other tools that use anthropics api like custom agents? (some i prefer to use than claude code - e.g sketch.dev what is now called shelley at exe.dev) perhaps?
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#25Will this work for Cowork as well?
No. Claude.ai is a consumer product — you have no access to the API layer underneath it. cache_control is an API-level feature only. This plugin works exclusively when you're making direct Anthropic API calls, either through the SDK in your own code or through MCP-compatible clients like Claude Code, Cursor, Windsurf, etc.
I am so confused why you chose an MCP server to solve this, wouldn’t a regular API at least have some merit in how it could be used (in that it doesnt require an LLM to invoke it) ?
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#26> This plugin is built for developers building their own applications with the Anthropic API. > Important note for Claude Code users: Claude Code already handles prompt caching automatically for its own API calls — system prompts, tool definitions, and conversation history are cached out of the box. Source: their GitHub
From the FAQ:
You're right, and it's a fair question. Claude Code does handle prompt caching automatically for its own API calls — system prompts, tool definitions, and conversation history are cached out of the box. You don't need this plugin for that.
This plugin is for a different layer: when you build your own apps or agents with the Anthropic SDK. Raw SDK calls don't get automatic caching unless you place cache_control breakpoints yourself. This plugin does that automatically, plus gives you visibility into what's being cached, hit rates, and real savings — which Claude Code doesn't expose.
> Claude Code already handles prompt caching automatically for its own API calls
Claude Code is an app. The API layer is different.
When did people start thinking that the Claude Code app and the API are the same thing?
Are these just all confused vibe coders?
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#27> This plugin is built for developers building their own applications with the Anthropic API. > Important note for Claude Code users: Claude Code already handles prompt caching automatically for its own API calls — system prompts, tool definitions, and conversation history are cached out of the box. Source: their GitHub
Does anyone actually read anymore? From the FAQ: You're right, and it's a fair question. Claude Code does handle prompt caching automatically for its own API calls — system prompts, tool definitions, and conversation history are cached out of the box. You don't need this plugin for that. This plugin is for a different layer: when you build your own apps or agents with the Anthropic SDK. Raw SDK calls don't get automa…
The first thing on the page is "Automatic prompt caching for Claude Code."
Why should one expect this to actually be "Automatic prompt caching for new apps you develop with Claude Code"?
It appears to be hard to explain what this plugin does, and the authors did a terrible job; they did not even try.
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#28Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#29As per its own FAQ this plugin is out of date and doesn’t actually do anything incremental re:caching: > "Hasn't Anthropic's new auto-caching feature solved this?" > Largely, yes — Anthropic's automatic caching (passing "cache_control": {"type": "ephemeral"} at the top level) handles breakpoint placement automatically now. This plugin predates that feature and originally filled that gap.
I don't understand and I'm curious, why a dead on arrival open source tool needs a separate domain? Domain Name: prompt-caching.ai Updated Date: 2026-03-12T20:31:44Z Creation Date: 2026-03-12T20:27:35Z Registry Expiry Date: 2028-03-12T20:27:35Z
Re: Prompt-caching – auto-injects Anthropic cache breakpoints (90% token savings)
#30As per its own FAQ this plugin is out of date and doesn’t actually do anything incremental re:caching: > "Hasn't Anthropic's new auto-caching feature solved this?" > Largely, yes — Anthropic's automatic caching (passing "cache_control": {"type": "ephemeral"} at the top level) handles breakpoint placement automatically now. This plugin predates that feature and originally filled that gap.