Claude
Integration

Act on Claude spend and see the return on tokens

OneLens turns Claude cost findings into actions, and sets what each surface, key and model costs against the value it produces, so you can protect margin as Claude usage grows.
OneLens dashboard splitting Claude spend by surface, with return on tokens per feature for support, code review and sales

Connect Claude with two read-only keys

Create an Admin API key in the Claude Console for API and Claude Code, and a read:analytics key on Enterprise for Chat, Cowork and Code. Both keys are read-only, cost $0 and bring data into OneLens within 24 hours.

Diagram of a read-only Admin API key and a read:analytics key feeding OneLens cost by surface, user, key and model

Turn Claude cost findings into savings your teams act on

Cost data saves nothing until a team acts on it, so Action Center takes each Claude cost finding from detection to an owner and a result.

Tickets in Action Center

Action Center runs approved actions to cap workspace spend, revoke unused keys and licenses, and shut off keys whose costs run away.
Action Center board of Claude findings, with a capped sandbox workspace ticket verified and $620 a month saving booked
Claude Code cost anomaly of +64% routed into a Slack alert, a Jira ticket and a ServiceNow incident

Workflows

Route cost anomalies, policy violations and ticket events into Slack, Jira, ServiceNow and the workflows your teams already use.
Budget bars for an organization, team and user, with the owner alerted at 80% of budget and one user over limit

Budgets

Track actual and projected spend against configured budget thresholds and alert the owners.

One cost view across API, Code, Chat and Cowork

Each surface reports through its own source, so Chat, Code, API and Cowork are read separately.

Claude API cost per feature by workspace and API key, with model mix, service tier and cost per outcome

API

The Console Admin API key splits usage and cost by workspace, API key, model and service tier, so a feature's Claude cost can be weighed against what it returns.
Claude Code cost per developer per day as a heatmap, with each developer's total for the period

Code

Claude Code reports one record per developer per day with estimated cost by model, through the Console Admin API or, on Enterprise, the analytics key.
Claude Chat Enterprise seat view showing 77% of seats in use, with active and idle users and per-user cost

Chat

The Enterprise analytics key reads per-user cost with seat utilization and active users, so you can see which seats are in use.
Claude Cowork, Office Agent and Claude in Chrome spend side by side with trend lines and share of agent spend

Cowork

Cowork is read through the same Enterprise key as its own surface, alongside Office Agent and Claude in Chrome.

Split Claude spend by account, caller, model and tags

Spend can be split in the ways below.

See which organization each dollar belongs to

Splits when both an Enterprise and a Console organization are connected.
Claude spend split between an Enterprise organization and a Console organization, shown as two account cards

Find the users and keys behind the spend

The person on Enterprise or the API key on Console behind each charge.
Claude spend by caller, listing users and an API key with the cost behind each one

Tell interactive use apart from API workloads

A person in a Claude app or an API key calling from code; splits only with both connected.
Claude spend split by caller type: 63% from API keys calling from code and 37% from people in Claude apps

Compare what each model costs the workloads that call it

Spend by model and tier, to show where a premium model carries work a smaller one might.
Claude spend by model, with Opus, Sonnet and Haiku cost cards and the service tiers each one ran on

See where requests are served

Inference geography per request, relevant to data-residency pricing.
Claude spend by inference region, with US, EU and APAC totals for data-residency pricing

Group spend by fields Claude already sends

App and user on Enterprise, workspace on Console, with no tagging work.
Claude spend grouped by fields Claude already sends, such as workspace, app and user, with cost per group

See the value behind your Claude token spend

Margin depends on knowing what each team, key and feature costs to run on Claude and what it returns.

Give every key and user a cost

Claude spend is attributed and mapped to teams and business units for showback and chargeback.

Set cost against what it returns

AI cost ROI joins the cost of an AI feature with the business metric it serves.

Set limits and approvals for AI usage

Govern holds the budgets, alerts and approval requests for AI usage.

Put a cost and value on every Claude token

See what Claude costs on every surface in your own organization, and which findings are ready to act on.

Schedule a demo
Claude mark at the centre of orbiting integration tiles for OpenAI, Azure, Gemini, Cursor and AWS
How do I track Claude cost?

Connect an Admin API key from a Console organization and a read:analytics key from an Enterprise organization. OneLens reads both daily and shows cost by surface, user, key, workspace and model within 24 hours.

How do I track Claude Code cost per user or developer?

On a Console organization, the Claude Code report gives one record per developer per day with estimated cost by model. On Enterprise, the analytics key supplies per-user cost.

How do I monitor Claude API cost by workspace and API key?

Add an Admin API key from the Claude Console in OneLens. It reads usage and cost by workspace, API key, model, service tier and cost type.

What do Claude Enterprise costs and usage analytics include, and what are the plan limits?

The read:analytics key returns per-user token usage and cost by model and product surface, plus seat utilization and active users. It needs the Enterprise plan and a Primary Owner, and seat-based plans show usage credits only.

How does OneLens handle Anthropic cost allocation?

OneLens attributes Claude cost to the organization, workspace, API key, user and model, and maps API keys to teams and business units for showback and chargeback.

Can I see Claude Chat and Cowork usage and cost?

Yes, on the Enterprise plan. One read:analytics key covers Chat and Cowork as separate surfaces, with per-user cost and seat utilization.

What does OneLens not cover for Claude?

Team and individual plans, Claude Code outside Enterprise or a Console organization, Bedrock-routed Claude Code, and Claude Platform on AWS, Bedrock, Vertex AI and Foundry. Priority Tier cost is estimated at list price.