Claude Code and Codex cost per developer, for a team
How to track Claude Code and Codex usage and cost per developer: Claude Team and Enterprise analytics, the spend report, the Analytics APIs, OpenTelemetry, and Codex workspace credits.
Updated
To see Claude Code cost per developer, use the spend report in your Claude Team or Enterprise analytics (CSV, per user and per model), the Console’s Claude Code dashboard if you pay through the API, or OpenTelemetry export, which works on every setup. For Codex, ChatGPT Business and Enterprise admins see credit use in Billing and Usage Insights. Anthropic’s figure for budgeting: about $13 per developer per active day on the API, or $150 to $250 a month.
Everything below is as of November 2026, from Anthropic’s cost and analytics docs and OpenAI’s Codex admin docs. Both change often; their pages win if they disagree.
What a developer costs
| Setup | Per developer |
|---|---|
| Claude Team, Standard seat | $25 a month, $20 billed yearly, plus any usage credits |
| Claude Team, Premium seat | $125 a month, $100 billed yearly, plus any usage credits |
| Claude Enterprise | $20 per seat a month, yearly, plus usage at API rates |
| Claude API (Console) | Per token. On average about $13 per active day, $150 to $250 a month, and under $30 a day for 90% of users |
| ChatGPT Business (Codex) | $25 per user a month, $20 billed yearly, plus any workspace credits |
| ChatGPT Enterprise (Codex) | Contact sales; with flexible pricing, usage scales with credits |
The API averages come from Anthropic’s enterprise deployments. Your number depends on the model, how long sessions run, and how many agents each person runs at once. Anthropic’s advice is to start with a small pilot group and measure before rolling out.
Claude Code cost per developer
Where you look depends on how your team pays:
| How you pay | Where to look |
|---|---|
| Claude Team or Enterprise | The spend report in org analytics: a CSV per user and per model, updated daily. On Enterprise, also the Enterprise Analytics API |
| Claude Console (API) | The Console’s Cost page, the Claude Code dashboard (spend and lines accepted per member) and the Claude Code Analytics API |
| Bedrock, Google Cloud, Foundry | Your cloud billing, plus OpenTelemetry or a gateway such as LiteLLM for per-person numbers |
Two things to know on Team and Enterprise:
- Seats aren’t metered in dollars. Usage inside a seat’s allowance shows as tokens, not cost. The spend report covers usage-credit spend, and it appears once usage credits are on.
- The Analytics API is Enterprise only. On Team, export the spend report CSV. A Primary Owner creates an Enterprise key with the
read:analyticsscope at claude.ai/analytics/api-keys.
The analytics dashboard at claude.ai/analytics/claude-code adds adoption: daily active users, sessions, lines accepted, and, with the Claude GitHub app, PRs merged with Claude Code’s help. Admins and Owners can see it.
To cap spend, set usage-credit spend limits for the whole organization, a group or one person in claude.ai admin settings. On the API, set workspace spend limits in the Console.
OpenTelemetry: per-developer cost on any setup
Claude Code can send metrics to your own collector (Grafana, Datadog, Honeycomb, anything that speaks OTLP). It’s the only option that streams per-user tokens and cost in near real time, and it works on every plan and provider. Push it to everyone through managed settings:
{
"env": {
"CLAUDE_CODE_ENABLE_TELEMETRY": "1",
"OTEL_METRICS_EXPORTER": "otlp",
"OTEL_EXPORTER_OTLP_PROTOCOL": "grpc",
"OTEL_EXPORTER_OTLP_ENDPOINT": "http://collector.example.com:4317",
"OTEL_EXPORTER_OTLP_HEADERS": "Authorization=Bearer example-token"
}
}
The metrics that matter for cost:
claude_code.cost.usage: cost in USD, bymodel, and whether it came from the main session or a subagent.claude_code.token.usage: tokens by type: input, output, cache read, cache creation.claude_code.session.count,claude_code.active_time.total,claude_code.pull_request.count: to put cost next to work.
Every metric carries user.account_uuid and, when signed in, user.email, so you can group by person. Cost here is computed at list price; if you pay contracted rates, set modelPricing in managed settings so the numbers match your bill.
A repo can’t turn this on or redirect it: Claude Code ignores OTEL_* exporter settings in a project’s .claude/settings.json. Tell your team what you collect before you turn it on.
Codex cost per developer
On ChatGPT Business, Enterprise and Edu, Codex usage past the seat draws from shared workspace credits.
- See it: admins review remaining credits and download usage reports in Billing, and explore activity in Usage Insights. Codex analytics shows adoption and activity.
- Cap it: set monthly credit limits for the whole workspace, a group, or one person. A person’s own limit wins over the group’s.
- Alerts: set usage alerts in Billing. They notify you; they don’t stop spending.
- Programmatic: the Daily Usage Analytics API reports daily ChatGPT, Codex and Work usage with a workspace Admin key (
enterprise.analytics.usage.readscope). OpenAI describes it as aggregated; check the API reference for per-user fields. - OpenTelemetry: the Codex CLI can export to your collector through the
[otel]table inconfig.toml(exporter,metrics_exporter,trace_exporter). See the config reference.
Developers on their own Plus or Pro plans don’t show up in any of this. Each person sees their own use at chatgpt.com/codex/settings/usage. See Check Codex usage and limits.
One sheet for both
For a small team, a monthly spreadsheet is enough:
- Seats: count each person’s Claude and ChatGPT seats at your price.
- Overage: add the Claude spend report CSV and the Codex usage report from Billing, per person.
- Per developer: seats plus overage, per month. Put PRs merged next to it (Claude’s analytics CSV has them) so cost reads against output.
If you already run OpenTelemetry, send both agents to the same collector and build one dashboard by user.email.
Where Coral fits
Coral shows one developer’s own plans live, not a team’s: press U in the notch for what’s left of Claude Code, Codex, Copilot and Grok, and when each will run out at your pace. It’s Free, and it’s a quick way for each person on the team to stop hitting limits by surprise. See Claude Code usage, limits and cost.
Questions
How do I see Claude Code usage per user?
On Team and Enterprise, export the spend report CSV from your organization’s analytics: it lists tokens and estimated spend per user and per model. On the API, open the Claude Code dashboard in the Console. On any setup, use OpenTelemetry.
Does Claude Team have an analytics API?
No. The Enterprise Analytics API is Enterprise only. Team admins export the spend report CSV. API (Console) customers have the separate Claude Code Analytics API.
How much does Claude Code cost per developer?
Anthropic reports about $13 per developer per active day on the API, $150 to $250 a month, with 90% of users under $30 a day. On Team, a Standard seat is $25 a month ($20 yearly) and a Premium seat $125 ($100 yearly).
Can I set a spend limit per developer?
Yes. Claude Team and Enterprise set usage-credit limits per organization, group or person. ChatGPT workspaces set Codex credit limits per workspace, group or person.
Does OpenTelemetry send my code?
Not by default. Metrics carry counts, costs and who used them. Raw prompts are opt-in on both Claude Code and Codex.