Anthropic Usage and Costs integration metrics
The official Datadog integration for monitoring Anthropic Usage and Costs. It collects 8 metrics.
Official summary
Optimize your Anthropic usage: monitor token consumption, track your costs, and attribute usage.
Metric types
- gauge (value at a point in time): 7
- count (occurrences in the interval): 1
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
anthropic.Input tokens used during ephemeral 1 hour cache creation. | gauge | token |
anthropic.Input tokens used during ephemeral 5 minute cache creation. | gauge | token |
anthropic.Input tokens retrieved from anthropic cache reads. | gauge | token |
anthropic.Number of input tokens used in a request to Anthropic. | gauge | token |
anthropic.Number of input tokens used in a request to Anthropic. | gauge | token |
anthropic.Number of output tokens generated in a response from Anthropic. | gauge | token |
anthropic.Number of output tokens generated in a response from Anthropic. | gauge | token |
anthropic.Number of web search requests triggered by server tool use in Anthropic. | count | request |
Official documentation
Official documentation for the Anthropic Usage and Costs integration
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.