AI
Anthropic
Roiva books Anthropic's Claude spend to the initiative that ran it, workspace by workspace, and prices Claude Code's accepted edits as developer time freed.
What it answers
What each initiative's Claude usage costs, and how much time Claude Code gives your developers back
What Roiva reads
Usage by model, cost by workspace and daily Claude Code totals. Never a prompt or a response; Claude Code's user names are dropped before anything is saved.
Setup
An Admin API key, created by a Claude Console organization admin
What you can measure with Anthropic
Spend by workspace
Link a workspace to an initiative and it books that workspace's spend whole, as token cost, from Anthropic's own cost report.
anthropic.usage.spend
Shared spend, split
Spend from workspaces no initiative claims, the default one included, is split between the initiatives that share the bill, by the weights you set.
Claude Code, as developer time
Accepted edits × minutes saved per acceptance × your developer rate, as freed capacity. Roiva starts from one minute per acceptance until you set your own.
anthropic.claude_code.acceptances
Starts from the AI Coding Assistant Rollout template
Unit cost over time
Cost per million output tokens, by model and month, to see whether a model change made each answer cheaper.
anthropic.usage.cost_per_million_output_tokens
A worked month
A support assistant built on Claude
Cash ROI: the initiative's approved cash value against everything it cost, for September
| Cash value approved for September | $18,400 | Its formulas and cited entries |
| Claude API spend, Support workspace | $3,900 | Anthropic |
| Help desk AI add-on | $1,100 | Your books |
($18,400 − $3,900 − $1,100) ÷ ($3,900 + $1,100)
268% cash ROI for September
Freed capacity, such as the agent hours the assistant saved, is shown next to the ROI and never added to it, so 268% is cash set against cash.
Illustrative figures. Roiva keeps every input with the entry it calculates, and none of it counts until it's approved.
What gets synced
Roiva writes these metric observations on each sync. Reference the key in a value formula to use this data in your ROI calculations.
API Usage
anthropic.usage.spend
Total Spend
currency
anthropic.usage.cost_per_million_output_tokens
Cost per Million Output Tokens
currency
anthropic.usage.input_tokens
Input Tokens
count
anthropic.usage.output_tokens
Output Tokens
count
anthropic.usage.total_tokens
Total Tokens
count
anthropic.usage.model_spend
Per-model spend (one row per model, the model in the row's dimensions)
currency
anthropic.usage.model_input_tokens
Per-model input tokens (one row per model, the model in the row's dimensions)
count
anthropic.usage.model_output_tokens
Per-model output tokens (one row per model, the model in the row's dimensions)
count
anthropic.usage.model_total_tokens
Per-model total tokens (one row per model, the model in the row's dimensions)
count
Claude Code Activity
anthropic.claude_code.acceptances
Accepted Suggestions
count
anthropic.claude_code.proposals
Suggestions Offered
count
anthropic.claude_code.acceptance_rate
Acceptance Rate
percentage
anthropic.claude_code.lines_accepted
Lines of Code Added
count
anthropic.claude_code.active_users_avg
Active Developers (daily average)
count
What Roiva keeps
Reads: Usage by model and cost by workspace for the last 12 months, and daily Claude Code usage for the last 3 months, from the Admin API. Never a prompt or a response. The Claude Code report names each user by email or API key name; Roiva adds each day up and drops the names before anything is saved.
Keeps: Records of cost lines, usage by model and daily Claude Code totals, plus the totals worked out from them.
How to connect
You connect Anthropic from inside Roiva, so you need a Roiva workspace first. Sign in to connect it now. New to Roiva? Start free with your work email, take the free assessment and create your workspace at the end, or request an invite.
- In the Claude Console: Sign in at platform.claude.com as an organization admin — only members with the admin role can create Admin API keys
- In the Claude Console: Go to Settings → Admin keys (platform.claude.com/settings/admin-keys) and click Create key
- Back in Roiva: Paste the secret here — it starts with sk-ant-admin01- and is shown only once
- Back in Roiva: The connection page checks each step and says what's missing. Once it's all ticked, click Test Connection
- Back in Roiva: After connecting, link this connection to an initiative on the Initiatives tab
Need help?
Email hello@roiva.ai with what you're seeing, and you'll hear back within one business day.
Anthropic
Start free, then connect Anthropic once your workspace is set up. Or begin with the free AI ROI exposure assessment.
Start free → Sign in to connectRelated integrations