Anthropic
Connect your Anthropic organizations to CloudZero to bring your Anthropic cost data into a unified view of all your cloud and AI spend. CloudZero organizes your Anthropic costs, along with your other costs, into categories (called Dimensions) that matter most to your business. For example: business unit, team, product, feature, environment, customer, or virtually anything else. Once connected and organized, you can quickly answer questions about your spend that matter to your stakeholders.
Choose the connection that matches how your organization pays for Claude. If you pay for both, set up both.
| You pay for | Connection | Cost broken down by | You need |
|---|---|---|---|
| Claude API usage in Claude Console | Anthropic (Platform) | Workspace, model, and operation | An Admin API key |
| A Claude Enterprise plan, covering Chat, Claude Code, Cowork, and other Claude apps | Anthropic Enterprise | User, product, model, and context window | An Analytics API key, created by your Primary Owner |
On seat-based Enterprise plans, CloudZero receives usage credits, the spend above your seat allotment, and not seat fees. Other Claude plans, such as Team, Pro, and Max, can't be connected, because Anthropic offers no usage API for them. A Team customer can still connect a Claude Console organization with Anthropic (Platform).
To see one connection's cost in Explorer, filter by the Cloud Provider Dimension.
Anthropic (Platform)
The Platform connection ingests cost and usage data broken down by workspace, model, operation, and more. It connects through Anthropic's Usage and Cost API using an Admin API Key from the Claude Console at platform.claude.com. This connection is available to any Claude Console organization, whether prepaid or on a committed API contract. Anthropic's Admin API is not available to individual accounts, so if you have not set one up yet, create your organization in the Claude Console under Settings > Organization first.
What you need
- A CloudZero user with admin permissions
- An Anthropic Admin API Key. Only organization members with the Admin role can create Admin API Keys.
Step 1: Create an Admin API Key
- Sign in to the Claude Console at platform.claude.com.
- Go to Settings > Admin keys.
- Select Create key, give it a descriptive name (for example, "CloudZero Integration"), and choose a key expiration.
- Copy the key and store it securely. Anthropic does not display the key again after creation.
Step 2: Configure the connection in CloudZero
- In CloudZero, go to Settings > Connections.
- Select Create Connection.
- Select the Anthropic tile.
- Enter a Connection Name. This label identifies the connection throughout CloudZero.
- Enter the Admin API Key you created in Step 1.
- Select Create Connection. You are redirected to the Connections page, where your new connection is listed.
What to expect
The connection status changes from Pending to Healthy once the first ingest completes. Your Anthropic costs appear across the platform within 24 hours.
Fixed IP egress
If your Anthropic organization only accepts requests from approved IP addresses, select Use fixed IP egress on the CloudZero connection, then add the following addresses to your Anthropic IP allowlist:
52.0.118.18052.0.33.11134.207.222.14934.193.111.240100.30.110.23454.85.9.23135.175.48.156100.50.61.179
See Anthropic's IP allowlist documentation.
For how fixed IP egress works, see Fixed IP egress.
Anthropic Enterprise
The Enterprise connection ingests per-user cost and usage data, broken down by user, product, model, and context window. It connects through Anthropic's Claude Enterprise Analytics API using an Analytics API Key created in Claude.ai. This connection requires a Claude Enterprise plan, and your Primary Owner turns on the Analytics API in Claude.ai.
What you need
- A CloudZero user with admin permissions
- A Claude Enterprise plan
- The Primary Owner role on your Claude Enterprise organization. Only the Primary Owner can enable API access and create Analytics API Keys.
- An Analytics API Key with the
read:analyticsscope. This is a different credential from the Admin API Key used by the Anthropic (Platform) connection.
Step 1: Create an Analytics API Key
- As the Primary Owner of your Claude Enterprise organization, sign in to Claude.ai and go to Organization settings > API.
- Enable public API access if it is not already enabled.
- In the Keys section, select Create key and give it a descriptive name (for example, "CloudZero Integration").
- Select the
read:analyticsscope. Scopes are fixed when the key is created, so a key created without this scope cannot be used for this connection. - Copy the key and store it securely. Anthropic does not display it again.
For the full procedure and the complete scope list, see Anthropic's guide to creating a key for a Claude Enterprise organization.
If you do not see the API section, the
read:analyticsscope is unavailable, or key creation fails with an "analytics not enabled" error, contact Anthropic Support and ask them to enable Enterprise analytics for your organization.
Step 2: Create the connection in CloudZero
- In CloudZero, go to Settings > Connections.
- Select Create Connection.
- Select the Anthropic Enterprise tile.
- Enter a Connection Name. This label identifies the connection throughout CloudZero.
- Enter the Analytics API Key you created in Step 1.
- Select Create Connection. You are redirected to the Connections page, where your new connection is listed.
If the connection fails with an authentication error, confirm you are using an Analytics API Key created in Claude.ai, which starts with
sk-ant-api01-, and not an Admin API Key from the Claude Console, which starts withsk-ant-admin01-.
What to expect
The connection status changes from Pending to Healthy once the first ingest completes. Your Anthropic Enterprise costs appear across the platform within 24 hours. CloudZero pulls up to 12 months of historical data on first connection. Data is not available prior to January 1, 2026.
Anthropic reconciles Enterprise billing data for up to 30 days, so recent month costs can shift slightly as Anthropic finalizes the numbers.
On seat-based Claude Enterprise plans, Anthropic's cost endpoints report usage credit consumption rather than the seat license fee, so the ingested totals cover usage credits only. Usage-based Enterprise plans report full cost.
Claude Code usage that runs through Amazon Bedrock is not included, because Anthropic's analytics API does not report it.
Fixed IP egress
If your Anthropic organization only accepts requests from approved IP addresses, select Use fixed IP egress on the CloudZero connection, then add the following addresses to your Anthropic IP allowlist:
52.0.118.18052.0.33.11134.207.222.14934.193.111.240100.30.110.23454.85.9.23135.175.48.156100.50.61.179
See Anthropic's IP allowlist documentation.
For how fixed IP egress works, see Fixed IP egress.
Tags
The Anthropic Enterprise connection provides tags with the anthropic_cz prefix for use in Dimensions:
| Tag | Description |
|---|---|
anthropic_cz:user_id | Anthropic's identifier for the person who ran the usage (empty when Anthropic reports no identity) |
anthropic_cz:user_email | Email address of the person who ran the usage (empty when Anthropic reports no email) |
anthropic_cz:user_name | Display name of the person who ran the usage |
anthropic_cz:context_window | Context window size of the request: 0-200k or 200k-1M |
anthropic_cz:organization_uuid | The universally unique identifier (UUID) Anthropic shows for your organization in its console, for matching the Account value to the ID you see in Anthropic |
Cloud Provider Dimensions
Once connected, you can group and filter your Anthropic Enterprise costs across the platform by the following categories (called Cloud Provider Dimensions):
| Dimension | Example values |
|---|---|
| Account | Your Anthropic organization ID, for example org_01... |
| Service | The Claude product, for example claude_code, chat, cowork |
| Service Category | AI and Machine Learning |
| Resource Type | claude_code: user, chat: user, cowork: user |
| Usage Family | The model that ran the request, for example claude-opus-4-6 |
| Usage Type | tokens, web_search, code_execution |
| Operation | The token type, for example output_tokens, cache_read_input_tokens (empty on web_search and code_execution rows) |
| Pricing Unit | Tokens, Requests, Executions |
| GenAI Platform | Anthropic |
| GenAI Model | The same value as Usage Family, for example claude-opus-4-6 |
| GenAI Model Family | Claude Opus 4.6 |
| GenAI Token Type | Input, Output, Cached Read Input, Cached Write Input, Other |
Usage data
The connection calls four Anthropic API endpoints with your Analytics API Key:
GET /v1/organizations/analytics/user_cost_report: per-user cost by product, model, context window, cost type, and token type, read in one-hour windowsGET /v1/organizations/analytics/user_usage_report: per-user token usage by product, model, and context windowGET /v1/organizations/analytics/skills: usage and spend for each skill, read twice a dayGET /v1/organizations/me: your organization's ID and name, read once a month so the organization ID in CloudZero matches the one Anthropic shows you
No other part of CloudZero calls Anthropic with your key.
Cost by skill
The connection uses the skills report to divide each user's cost among the skills that user ran. The division reassigns cost CloudZero has already ingested, so your Anthropic Enterprise total stays the same. A skill's share is the cost of the requests that involved the skill. Those requests would have cost something without the skill too.
Each cost row attributed to a skill carries two line-item properties:
| Property | Description |
|---|---|
ai:skill | The skill's display name, or its Anthropic skill name when Anthropic reports no display name |
ai:skill_id | Anthropic's skill name, which stays the same when Anthropic adds a display name |
Neither property holds a user name or email address. Custom skills appear under the names your team gave them, so a skill named after a project or a client shows that name in CloudZero.
Line-item properties are separate from tags and do not appear as Dimensions on their own. To group or filter by skill, add a custom Dimension in CostFormation. The Properties source holds a cost row's line-item properties, and the Dimension extracts the skill from it with a Lookup transform:
Skill:
Name: Skill
Rules:
- Type: GroupBy
Source: Properties
Transforms:
- Type: Lookup
Key: ai:skillUse Key here, because Path treats the colon in ai:skill as a separator. Anthropic can add a display name to a skill after its cost is ingested, so one skill can appear under two ai:skill values. For a value that stays the same, use Key: ai:skill_id.
Costs with no skill attribution, such as Chat usage, have no value in this Dimension.
Skill properties are available for September 2026 onward. Earlier months carry them only if the connection is reingested.
For organizations that use customer-managed encryption keys, Anthropic does not count skills started with a slash command in Claude Code or Cowork, so cost by skill is understated. For details, see Anthropic's Claude Enterprise Analytics API documentation.
Have questions or feedback? Reach out to your account manager.
Updated 3 days ago

