CacheCanary

Check your Bedrock prompt cache

Paste three numbers from CloudWatch and see how much of your Claude prompt came from the cache on Amazon Bedrock, what your input cost, and how much the misses cost you. Nothing to install. It runs in your browser and sends nothing anywhere.

Use the numbers for one model, summed over the same period (a week is a good start). The next section shows where to find them.

Target hit rate and your own price

Where to find the three numbers

Amazon Bedrock publishes them to CloudWatch for every model you call, with no setup. In the CloudWatch console:

  1. Open Metrics, then All metrics, and type your model ID in the search box (or open Bedrock and the metrics listed by model ID).
  2. For the model you want to check, tick InputTokenCount, CacheReadInputTokenCount and CacheWriteInputTokenCount.
  3. Pick a time range, for example 1 week. On the Graphed metrics tab, set Statistic to Sum and Period to the same length as the time range, so each metric shows one total.

With the AWS CLI, list the exact model IDs CloudWatch has, then get each total. This is the cache read total for one week; run it again with the other two metric names, and add up the values if it returns more than one:

aws cloudwatch list-metrics --namespace AWS/Bedrock \
  --metric-name CacheReadInputTokenCount

aws cloudwatch get-metric-statistics --namespace AWS/Bedrock \
  --metric-name CacheReadInputTokenCount \
  --dimensions Name=ModelId,Value=YOUR_MODEL_ID \
  --start-time 2026-10-13T00:00:00Z --end-time 2026-10-20T00:00:00Z \
  --period 604800 --statistics Sum

Use the Region your app calls. InputTokenCount doesn't include cached tokens (AWS docs), so the three numbers add up to your whole input.

How the numbers work

Want the same for each app or IAM role, a reason for each miss, or an alert when it drops? CacheCanary reads your invocation logs or your Langfuse traces, and runs in CI.

Using CacheCanary? I'd love to hear how it's going, good or bad, and whether you'd want the dashboard. Email me at hello@cachecanary.com. I read every message.