---
title: "Costs - Claude Code Stats app plugin documentation"
description: "See what your team spends on Claude Code by model, team member and what drives each request."
---

> This is the Markdown version of https://grafana.com/grafana/plugins/timurdigital-claudestats-app/docs/features/costs/

# 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](https://plugins-cdn.grafana.net/timurdigital-claudestats-app/2.0.2/public/plugins/timurdigital-claudestats-app/catalog-docs/img/costs.webp)

## See spend by model and team member

| Panel                             | What it shows                                                                                      |
| --------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Total Cost**                    | Estimated cost in US dollars for the period.                                                       |
| **Cost by Model**                 | Each model's share of cost.                                                                        |
| **Cost Over Time by Model**       | Cost per interval, one series per model.                                                           |
| **Cost Over Time by Team Member** | Cost per interval, one series per member.                                                          |
| **Cost Distribution by Member**   | Each member's share of cost.                                                                       |
| **Cost Breakdown**                | A 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:

| Panel                         | What it shows                                                  |
| ----------------------------- | -------------------------------------------------------------- |
| **Cost by Query Source**      | `main` conversation, `subagent` or `auxiliary` requests.       |
| **Cost by Subagent**          | Which subagent type issued the request.                        |
| **Cost by Skill**             | Which skill was active.                                        |
| **Cost by MCP Server**        | Which MCP server's tool result the request used.               |
| **Cost by Plugin**            | Which plugin owns the active skill or subagent.                |
| **Cost by MCP Tool**          | Which MCP tool's result the request used, as `tool · server`.  |
| **Cost by Repository**        | Which Git repository Claude Code was working in.               |
| **Cost by Speed (Fast Mode)** | `fast` for fast mode, `normal` otherwise.                      |
| **Cost by Effort**            | The 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](https://grafana.com/grafana/plugins/timurdigital-claudestats-app/docs/#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](https://grafana.com/grafana/plugins/timurdigital-claudestats-app/docs/configure/#filters) apply to every panel.
