Anthropic Prompt Caching on Portkey
New Feature
Portkey now has native support for Anthropic's new prompt caching feature! Cache your messages directly on Anthropic's end and save tremendous time and money.
To enable, just pass the anthropic-beta header while instantiating your client, and set the cache_control property for any message you want to cache.