---
title: "Claude Code usage per developer and per repository · Selan"
description: "How to see Claude Code usage and cost per developer and per repository: Anthropic's analytics, OpenTelemetry, and a gateway that adds Codex and Desktop."
url: https://selan.ai/guides/claude-code-usage-per-developer
updated: 2026-11-12T09:25:06+02:00
---

Guide · Claude Code usage for teams

# How do you see Claude Code usage per developer?

Per developer, read the analytics Anthropic gives your plan, or export Claude Code's OpenTelemetry metrics, which works on every setup and splits by repository once OTEL\_METRICS\_INCLUDE\_REPOSITORY is true. Neither covers Codex. A gateway that signs each person in records every tool in one place. With Selan, every Claude Code, Codex and Claude Desktop request is recorded under a person's name, with its model and cost.

## How do teams track Claude Code usage per developer by hand?

In one of four ways, each reading a different source:

| Way | What it reads | Where it stops |
| --- | --- | --- |
| [ccusage](https://selan.ai/compare/ccusage) and similar trackers | The usage logs the tools write on one machine | One laptop. A team total means collecting every developer's figures. |
| One API key per developer | The provider's usage per key | Keys billed per token only. One key per person per provider to issue, track and revoke. |
| Anthropic's analytics | Anthropic's own record: on Team and Enterprise, the spend report per user and per model; on the Console, the Claude Code dashboard and Analytics API | Anthropic's products. Codex is not in it. |
| OpenTelemetry export | Token and cost metrics from each Claude Code session, tagged with the user, sent to a collector you run | Claude Code only, and the collector and dashboards are yours to run. |

## What does the manual way miss?

A laptop tracker shows what one person used, and only on the machine it runs on. A key per developer shows who spent what, but leaves a list of keys to go through whenever somebody leaves. Subscription seats are not billed per token, so their traffic is missing from any per-key bill.

Each source covers one tool or one kind of money. A total per person ends up as a spreadsheet that somebody joins by hand.

What a developer typically costs, by Anthropic's own figures, is in [how much Claude Code costs per developer](https://selan.ai/guides/claude-code-cost-per-developer).

## How do you see Claude Code usage per repository?

Set `OTEL_METRICS_INCLUDE_REPOSITORY=true` beside the OpenTelemetry export, in Claude Code v2.1.269 or later. Every metric and event then carries the repository's name and URL, read from its `origin` remote, so one collector can add usage up per repository. A session with no `origin` remote reports no repository.

Set it in managed settings, or in each developer's shell or `~/.claude/settings.json`. A repository's own `.claude/settings.json` cannot turn telemetry on.

In Selan, recording which repository a session belonged to is a switch of its own, off until an owner turns it on. With it on, [insights](https://selan.ai/solutions/insights) show hours by repository, each split by the people who were in it.

## How does a gateway show usage per developer?

A gateway sits between the tools and the providers, so every request passes through one place that knows who sent it.

With Selan, each developer signs in once, as themselves, with `selan login`. `selan claude` then runs Claude Code on the company's accounts and `selan codex` runs Codex, while Claude Desktop joins with one settings file. Every request is recorded with who ran it, which account served it, which model answered and what it cost.

The launch commands are in [the docs](https://selan.ai/docs#run), and the Codex and Desktop setups in [Codex](https://selan.ai/docs/codex) and [Claude Desktop](https://selan.ai/docs/claude-desktop). For Codex on its own, with what OpenAI's analytics show, see [how to track Codex CLI usage](https://selan.ai/guides/codex-usage-tracking).

## What does Selan's usage dashboard show per developer?

Usage, in the Selan control app, covers the last 24 hours, 7 days or 30 days, in UTC. Its tiles give the window's API bill and cache hits, and either its total cost or its new tokens, whichever the page is measured in. New tokens leave out cache reads, so a long conversation does not look like more work than it was.

A ranked list orders people by new tokens or by cost, with each one's share of the window. Click a name and the whole page narrows to that person. Charts split the same window by provider, by model and by client, so Claude Code, Codex and Claude Desktop each get their own band.

A subscription seat is priced at what the same requests would have cost per token, next to what your pay-per-use keys actually cost. A request that cannot be priced shows as unknown, never as zero.

## Can you see Claude Code usage per team?

Yes. An owner puts each person in one team, and Usage ranks teams beside people. It can also narrow to a single team, and every figure on the page follows. A team's figure is its people's figures added up, so the two lists cannot disagree.

Teams are for reporting only: a team grants nothing and caps nothing. A CI job's API token spends under an address of its own and belongs to no team, so the jobs show up as themselves.

## Can each developer see their own usage?

Their own, yes. Usage is the owner's view, and a developer never sees anybody else's numbers. Each developer's spend against their own limit is on the statusline Selan adds to Claude Code. `selan usage` prints the same numbers without launching Claude Code, which is how a Codex user reads them.

What the statusline shows is in [the statusline docs](https://selan.ai/docs/statusline), and the command in [the reference](https://selan.ai/docs/reference).

## What breaks at team scale?

Tracking tells you who spent too much after they have spent it. In Selan you can set a spend limit per person, by day, week or month, and it follows them across every pay-per-use key you added. A limit binds the moment it is reached, and the refusal says which limit it was and when it lifts.

**Good to know:** Selan does not cap a subscription seat. Its ceiling is the provider's own usage window.

Limits are on [the spend page](https://selan.ai/solutions/spend), and repositories on [the insights page](https://selan.ai/solutions/insights).

[Start for free](https://auth.selan.ai/r)

Free for up to three seats, and the Free plan needs no card.

### The short version

-   By hand, each source covers one tool or one kind of money, and a total per person is a spreadsheet joined by hand.
-   Per repository, set OTEL\_METRICS\_INCLUDE\_REPOSITORY=true on Claude Code's OpenTelemetry export, or turn on Selan's repository switch.
-   With Selan, every Claude Code, Codex and Claude Desktop request is recorded under a person's name, with its model and cost.
-   The owner sees every person and team; a developer sees only their own numbers.

What ccusage covers is as its own documentation described it on 13 October 2026. What Anthropic's analytics and OpenTelemetry export cover is as code.claude.com/docs/en/costs, /analytics and /monitoring-usage described it on 12 November 2026. What Selan's Usage page shows is the control app as it stood on 13 October 2026.
