AI Briefing
KO

Claude Code Cost and Usage Tracking Dashboard Released

·2026.05.17 00:31

Key point

An open-source Grafana dashboard that visualizes cost and usage by leveraging Claude Code's OpenTelemetry metrics has been released.

1 / 2

Details

Leveraging the OpenTelemetry (OTel) metrics supported by Claude Code, a Grafana dashboard that allows detailed tracking of cost and usage has been released as open source.

This dashboard integrates with Prometheus-compatible backends such as Prometheus, VictoriaMetrics, Mimir, and Thanos, providing the following key metrics:

  • Cost Analysis: Detailed cost breakdown by model, project, and user
  • Token Usage: Token consumption trends over time
  • Cache Hit Ratio: A key metric for improving cost predictability
  • Development Activity: Active time, lines of code modified, commits, and number of PRs generated by Claude
  • Edit Decisions: Accept vs Reject ratio for code modification suggestions

Users can set custom labels via OTEL_RESOURCE_ATTRIBUTES to group data by team or project. The project is provided under the MIT License.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.