Skip to main content

Claude Code & Cowork

The Claude dashboard has five tabs: Overview, Cost, Usage, Users, and Repositories. Every figure is derived from Claude Code and Cowork usage metrics over the time range and filters you've set.

Both agents report the same usage metrics, so cost, token, session, and user figures cover Claude Code and Cowork together. Code-impact figures — commits, pull requests, lines of code — and the Repositories tab apply to Claude Code only, since Cowork doesn't touch repositories.

The Repositories tab ties every session's cost and code impact to the repository it actually touched, then splits managed company repos from unmanaged personal ones — so you can see what each repo is getting for the spend, catch company IP being built in personal projects, and keep the Code Agents license funding work the company actually owns.

Before the dashboard shows data, set up the integration — see Connect Claude Code and Cowork.

Overview

Claude Overview tab with Key Insights showing models used, total sessions, token usage, estimated cost, highest-cost model, average session cost, power user, and unique users

A snapshot of who's using Claude Code and Cowork, what they're running, and what it's costing — models in use, total sessions, token usage, estimated cost, the highest-cost model, the average cost per session, your power user, and how many unique users were active.

Cost

Built to answer one question: where is your Claude Code and Cowork spend going, and where can you cut it?

Claude Cost tab top: Total Cost, Cost Change, Avg Cost per Session, Cache Hit Rate, Token Breakdown, and Cost Over Time

  • Total cost and Cost change — spend for the period, and how it compares to the previous equal period.
  • Avg cost per session — a quick read on how expensive a typical session is.
  • Cache hit rate — how much of your input is served from cached context. The single biggest lever on input-token cost.
  • Token breakdown and Cost over time — what's driving the bill and when spend spiked.

Claude Cost tab bottom: Cost by Model table, High-Spending Users table, and Optimization Insights cards

  • Cost by model — cost, share, cache hit rate, and effective cost per million tokens for each model.
  • High-spending users — top spenders by cost, share, and tokens — the starting point for a usage conversation.
  • Optimization insights — ranked, metric-based suggestions for cutting spend; each card links to the widget it relates to.

Usage

Claude Usage tab: Activity, Code Impact (commits, PRs, lines of code, acceptance rate), Productivity Ratio, and Top Used Tools

  • Activity — total sessions and sessions over time.
  • Code impact (Claude Code only) — commits, pull requests, lines of code, and the share of AI suggestions accepted by developers.
  • Productivity ratio — split of human vs. Claude activity. A higher Claude share means more output came directly from the agent.
  • Top used tools — the tools Claude invoked most across sessions.

Users

Claude Users tab: ranked table of active users with cost, sessions, tokens, lines of code, commits, PRs, and models

Active users ranked by cost, with sessions, tokens, lines of code, commits, PRs, and models per user. Select any row to drill into that user's session activity, token consumption, code impact, and model usage over time.

Repositories

See not just how much Claude Code is costing you, but what each repository is actually getting out of it. The Repositories tab on the Claude dashboard attributes every per-session signal — cost, tokens, code impact (lines of code, commits, pull requests), models invoked, session counts, and the developers behind them — to the repositories Claude Code actually touched. You can see how that activity distributes between Managed repos (those owned by an Organization you configure in Settings → AI Center → Code agent) and Unmanaged ones: personal projects, external clones, or private projects that consume the company's Code Agents license.

To populate this tab, attribute sessions to repositories on the Claude Code integration.

Repositories tab showing Repository cost distribution pie, Managed vs unmanaged pie, and Top users on unmanaged repositories table

The Repositories tab attributes per-session activity to each repo, splits it between Managed and Unmanaged repos, and surfaces the top users on unmanaged repos.

What this unlocks

  • Every Claude Code session's full signal — cost, tokens, code impact (lines of code, commits, PRs), and the model used — attributed to the repository it actually touched.
  • A clean split between Managed repos (owned by Organizations you configure in Settings → AI Center → Code agent) and Unmanaged ones — personal projects, external clones, and private projects running on the company's Code Agents license.
  • Pivot freely: from a repo to its top users, or from a user to their repos, models, and tokens-over-time pattern.

Use cases

Two stories that show what the Repositories tab makes possible. Same trigger, different conclusions. Expand each one to follow the drill.

What you need

The Repositories tab is enabled by three independent layers, each set up on the Claude Code integration:

  • Claude Code's native OTLP exporter — feeds the core per-session signals (cost, tokens, sessions). Every tab in the Claude dashboard inherits this data.
  • Coralogix repository-tracking hook — attributes each session to the repository the developer was working in. Without it, sessions still appear elsewhere on the dashboard, but they're not attributed to a repo.
  • Repository Organizations — split attributed activity into Managed and Unmanaged buckets based on the Organizations you configure in Settings → AI Center → Code agent. Until you configure an Organization, the Repository cost distribution pie still renders, but the Managed vs unmanaged breakdown prompts you to set one up and every repository is treated as Unmanaged.

For installation steps, the hook architecture, and org-wide rollout, see Connect Claude Code.

Widgets

Repository cost distribution

A pie of cost share by repository. The top seven repositories render as individual slices; everything else collapses into an All other repos aggregate slice.

Repository Cost Distribution pie chart with the top repos by spend, including coralogix/cx-web-workspace at 16.4% (1.233K), coralogix/onlineboutique at 14.7% (1.108K), coralogix/eng-pipeline-handler at 14.3% (1.081K), and an All other repos aggregate slice at 6.0% (455.633)

Managed vs unmanaged

A pie that splits spend three ways: Managed (repositories owned by an Organization you configure in Settings → AI Center → Code agent), Unmanaged (repositories owned by no configured Organization), and Unknown (sessions where the agent didn't report a repository name). Before you configure any Organization, this panel prompts you to set one up instead of showing the split; once configured, repositories with no matching Organization appear as Unmanaged.

Repo type pie chart with Unmanaged 58.3% (4.398K), Managed 29.0% (2.189K), and Unknown 12.6% ($953.601)

Top users on unmanaged repositories

A ranked table of the five users with the most spend on Unmanaged repos. Columns: User Email, Cost, Sessions, Repos, Models, % of user's total spend.

Top Users on Unmanaged Repositories table with five rows ranked by cost, showing each user's email, cost, session count, repos worked on, models used, and percentage of the user's total spend on Unmanaged repos

Per-session cost is split across the repositories a session touched, proportionally to file activity. Sessions launched outside any Git repository land in the Unknown bucket.

Drill into a repo or bucket

Selecting a slice in either pie opens a side drawer scoped to what you clicked:

  • Repository cost distribution — Selecting an individual repo slice opens the drawer scoped to that repository.
  • Managed vs unmanaged — Selecting a slice opens the drawer scoped to that classification bucket (Managed, Unmanaged, or Unknown).

The drawer shows Total Cost, Sessions, and Users for the selection, plus a top-users table — up to 10 rows of User, Cost, Sessions, Repos, Models, % of spend.

Selecting a row in the Top users on unmanaged repositories table opens the standard user drawer, pre-filtered to that user's unmanaged-repo activity.

Alert examples

Example alerts you can build on Claude Code and Cowork metrics to catch cost spikes, runaway sessions, and unapproved models early. Each one expands to show what it detects and the query to use.

Troubleshoot

The Claude dashboard reports fewer tokens than a custom dashboard built on the same metric.

When you compare token totals between the Claude dashboard and a Custom Dashboards widget built on the same metric, the Code Agents number can come out lower. The Code Agents widgets use PromQL increase() over the visible time range, and for short windows or sparse time series, increase() can skip individual data points — the resulting total ends up smaller than a raw counter sum. For longer time ranges, the two values converge.

If you need an exact counter total, build a Custom Dashboards widget with sum by (cx_application_name) (claude_code_token_usage_tokens_total{}).

Last updated on