Setting Up Anthropic Cost Tracking

Last updated February 8, 2026

Setting Up Anthropic Cost Tracking

Anthropic cost tracking uses their Admin API to fetch usage data for Claude models.

Prerequisites

  • An Anthropic account with API access
  • Admin access to view organization usage

Step 1: Create an API Key

  1. Go to Anthropic Console API Keys
  2. Click Create Key
  3. Enter a name (e.g., "Administrate Cost Tracking")
  4. Click Create Key

Important: Copy the key immediately - it won't be shown again.

Step 2: Find Your Organization ID (If Required)

Some Anthropic accounts require an Organization ID:

  1. Go to Anthropic Console Settings
  2. Copy the Organization ID if displayed

Step 3: Connect in Administrate

In Administrate, go to LLM Providers > Add Provider and enter:

Field Value
Provider Type Anthropic
Name Your preferred name
Admin API Key The key from Step 1
Organization ID (Optional) From Step 2

What Gets Synced

Once connected, we'll automatically sync:

  • Usage - Daily token usage by Claude model
  • Costs - Daily costs (when available via API)

Data syncs every hour automatically.

Note on Anthropic API Limitations

Anthropic's usage API is newer than OpenAI's. Some limitations:

  • No project-level breakdown - Usage is organization-wide
  • Cost calculation - May be estimated based on token counts and published pricing

Troubleshooting

"403 Forbidden" error - Your API key may not have admin access. Contact Anthropic support to enable usage API access.

No usage data appearing - Usage data may take 24-48 hours to appear - Ensure your organization has actual API usage

Security Best Practices

  • Create a dedicated API key just for cost tracking
  • Rotate the key periodically
  • Don't share the key or commit it to version control

Note: Anthropic doesn't currently offer granular API key permissions. The same key that can read usage can also make API calls. Keep it secure.

Next Steps

Still need help?

Can't find what you're looking for? Get in touch with our support team.