AI
Anthropic
AI safety company and API provider for Claude — a family of models optimized for safety, accuracy, and nuanced reasoning.
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
Common use cases
- Track Claude API spend per initiative to measure the cost side of AI ROI
- Monitor input and output token usage to identify efficiency opportunities
- Attribute AI costs to specific initiatives for accurate ROI calculation
- Compare cost-per-task before and after prompt or model optimizations
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? 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
Tips for capturing value
- Admin keys live on their own Console page — a key from Settings → API keys is a different credential, and a workspace-scoped one cannot read organization usage and cost data
- The Admin API is not available on individual accounts — set up an organization first under Claude Console → Settings → Organization
- Claude Code on Claude Enterprise seats reports to the Enterprise organization on claude.ai, not to a Console organization, so this key cannot see it. Connect Claude Enterprise for that
- Spend and token data is broken down by model, so you can see exactly which Claude model is driving costs
- Pairing Anthropic cost data with outcome data from your CRM or support platform gives you a complete ROI picture
- If you also map Anthropic's invoice to the same initiative in QuickBooks, Xero, NetSuite, Brex or Ramp, the invoice is left out in any month this connection books, because it carries the whole Anthropic bill and this connection books Anthropic's own cost report, for the workspaces this link claims. An allocation rule for Anthropic, or a locked period, keeps the invoice instead, and this connection books nothing that month
Need help?
Email hello@roiva.ai with what you're seeing, and you'll hear back within one business day.
Anthropic
Start with the free AI ROI exposure assessment, then connect Anthropic once your workspace is set up.
Get your exposure report → Sign in to connectRelated integrations