can I activate prompt caching for claude in AWS?
# ask-ai
l
can I activate prompt caching for claude in AWS?
t
Thanks for reaching out, Dariush. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Just a heads-up: when you're using Claude models via AWS Bedrock in LiveKit, prompt caching is already turned on automatically. Although the AWS plugin doesn’t have a clear-cut "caching" setting like the native Anthropic integration, AWS Bedrock handles prompt caching behind the scenes. You can actually see this in the response metadata, where there’s a
cacheReadInputTokens
field that shows how many tokens were served from the cache. Plus, LiveKit takes that info and ties it into its telemetry metrics, so you can easily keep an eye on cached token usage through the
prompt_cached_tokens
metric in your agent’s performance dashboard. Pretty handy, right? Sources: Logs, metrics, and telemetry | LiveKit Docs | livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realti...