Prompt Cache
Overview
prompt_cache is a route-local plugin that inserts Anthropic prompt-cache
breakpoints on a matched route. It never claims a cache hit or reports
savings; it only asks the provider to consider caching the marked content.
Key Advantages
- Keeps cache-breakpoint policy attached to the route that benefits from it, instead of requiring every caller to manage markers itself.
- Never overrides a caller that already manages its own markers.
- Disabled by default, so enabling it on one route cannot change behavior on any other route.