Plugins
ApplicationCommunity
Claude Code Stats logo

Claude Code Stats

timurdigital

Get plugin

Costs

The Costs tab breaks down the estimated cost Claude Code reports after each API request. Use it to find which models, team members and features drive spend.

The Costs tab with spend by model and team member and attribution bar gauges

See spend by model and team member

PanelWhat it shows
Total CostEstimated cost in US dollars for the period.
Cost by ModelEach model's share of cost.
Cost Over Time by ModelCost per interval, one series per model.
Cost Over Time by Team MemberCost per interval, one series per member.
Cost Distribution by MemberEach member's share of cost.
Cost BreakdownA table with one row per team member and model: Team Member, Model and Cost, in dollars and cents.

Find what drives spend

The bar gauges attribute cost to what issued each request, largest first:

PanelWhat it shows
Cost by Query Sourcemain conversation, subagent or auxiliary requests.
Cost by SubagentWhich subagent type issued the request.
Cost by SkillWhich skill was active.
Cost by MCP ServerWhich MCP server's tool result the request used.
Cost by PluginWhich plugin owns the active skill or subagent.
Cost by MCP ToolWhich MCP tool's result the request used, as tool · server.
Cost by RepositoryWhich Git repository Claude Code was working in.
Cost by Speed (Fast Mode)fast for fast mode, normal otherwise.
Cost by EffortThe effort level, or default when the model doesn't use one.

Cost by Subagent, Cost by Skill, Cost by MCP Server, Cost by Plugin and Cost by MCP Tool say so when nothing in the period used one, such as No skill was active in this period. User-defined subagents, third-party skills and plugins, and user-configured MCP servers and their tools show as custom or third-party unless team members set OTEL_LOG_TOOL_DETAILS=1. Cost by Repository needs OTEL_METRICS_INCLUDE_REPOSITORY=true. For details, refer to Optional telemetry settings.

Filters on this tab

Team Member and Model apply to every panel, except that Cost by Model ignores Model and Cost Distribution by Member ignores Team Member, so you can compare. Repository and any filter labels apply to every panel.

Insights

  • Adoption

    Running on 816 active Grafana instances.

  • Activity

    Last updated 20 Nov 2026.

    3 releases in the past year.

Version
2.0.2
Dependencies
  • Grafana >=13.2.0
Developer
timurdigital

Grafana Cloud

Connect any plugin in Grafana Cloud.

  • 150+ data source integrations
  • Grafana Assistant - AI that correlates your data, builds queries, and answers questions
  • 10k Prometheus metrics + 50 GB logs, traces, and profiles on the free tier
  • ...and more
Create free account