Connecting to Anthropic
How the Anthropic Connection works
CloudZero supports two Anthropic connection types, depending on how your organization buys Anthropic. In CloudZero you can view, track, and forecast your Anthropic costs alongside the rest of your cloud and AI spend, broken down by project, model, operation, user, and more.
After you create your Connection, at the time of the next data ingestion, you will see your Anthropic costs and usage throughout the CloudZero platform, including in Explorer and Analytics.
Which version of Anthropic do I have?
Use this guide to pick the right connection. If you're not sure, ask your Anthropic account team.
| If your organization... | Use |
|---|---|
| Is on Anthropic's Enterprise plan with analytics enabled | Anthropic Enterprise — recommended; provides per-user cost and usage data |
| Is on the Team plan, or on Enterprise without analytics enabled | Anthropic (Platform) |
| Consumes Anthropic through AWS Bedrock, Google Cloud Vertex AI, or Azure Marketplace | Your existing AWS / GCP / Azure billing connection in CloudZero |
| Has only individual subscriptions (Free, Pro, or Max) | Not supported — individual Claude subscriptions do not expose a cost or usage API |
Enterprise customers can configure both connections. The Platform connection gives workspace- and API-key-level cost and usage data; the Enterprise connection gives per-user cost and usage data. The two are independent — each pulls from its own Anthropic endpoint with its own key. See Using both connections together below.
Anthropic (Platform)
The Anthropic Platform connection uses an Admin API Key to gather cost and usage data for your organization from the Claude Console at platform.claude.com.
Supported Anthropic plans
This connection works for Anthropic organizations on the Team or Enterprise plan that use the Claude API. The Admin API key required by this connection is not available to individual accounts.
Individual Claude subscriptions (Free, Pro, Max) are not supported. These are billed as individual subscriptions and do not expose a programmatic cost or usage API. Those costs will not appear in CloudZero through this connection.
Prerequisites for an Anthropic Platform Connection
Only organization members with the Admin Role have the authority to create and use Admin API keys.
To create an Admin Key, follow these steps:
- Sign in to the Claude Console at platform.claude.com.
- Navigate to API Keys in the sidebar or settings menu. You may need to expand it to find Admin keys.
- Click the button to Create Admin Key.
- Name your key with a descriptive name.
- Copy the key immediately and store it securely. You will not be able to see it again.
Create an Anthropic Platform Connection
- In CloudZero, navigate to Cloud Integrations and select Add Connection.
- Select the Anthropic tile and select Get Started.
- Enter a connection name.
- Enter the Admin Key you created earlier.
- Enter your Anthropic Organization ID.
- Select Connect.
You will be redirected to Cloud Integrations, and your newly created Connection will be listed.
Anthropic Enterprise
The Anthropic Enterprise connection pulls per-user cost and usage data from Anthropic's Enterprise Analytics API. CloudZero shows your Anthropic Enterprise spend broken down by user, product (Chat, Claude Code, Cowork, Office Agent, Claude in Chrome), model, and context window.
Supported Anthropic Enterprise plans
This connection works for Anthropic's Enterprise plan with analytics enabled — whether your Enterprise contract is direct from Anthropic or partner-resold.
Out of scope for this connection:
- Workspace- and API-key-level billing on
platform.claude.com. This is handled by the Anthropic Platform connection above. Enterprise customers commonly configure both — see Using both connections together below.- Anthropic consumed through AWS Bedrock, Google Cloud Vertex AI, or Azure Marketplace. That spend appears in the respective cloud provider's billing data and is ingested by your AWS / GCP / Azure connections in CloudZero.
- Plans below Enterprise. This connection requires an Enterprise plan with analytics enabled. Team plan customers should use the Anthropic Platform connection instead. Free, Pro, and Max individual subscriptions do not expose a cost or usage API.
Prerequisites for an Anthropic Enterprise Connection
You will need:
- An Anthropic Enterprise plan with analytics enabled by Anthropic.
- The Primary Owner role on your Anthropic Enterprise organization — only the Primary Owner can issue an admin API key with the
read:analyticsscope. - An admin API key with the
read:analyticsscope.
Both connections use Anthropic admin API keys, but from different consoles with different scopes. The Anthropic Platform connection uses a key from
platform.claude.com(prefixsk-ant-admin...); the Anthropic Enterprise connection uses an analytics-scoped key fromclaude.ai/analytics/api-keys. Make sure you generate the right one for the connection you are configuring.
To create an admin API key with the read:analytics scope, follow these steps:
- As the Primary Owner of your Anthropic Enterprise organization, sign in to claude.ai/analytics/api-keys.
- Create a new admin API key with the
read:analyticsscope. - Provide a descriptive name (for example,
CloudZero Integration). - Copy the generated key immediately and store it securely. Anthropic will not display it again.
If you cannot access
claude.ai/analytics/api-keys, or if key creation fails with an "analytics not enabled" error, contact Anthropic Support and ask them to enable Enterprise analytics for your organization.
Create an Anthropic Enterprise Connection
- In CloudZero, navigate to Cloud Integrations and select Add Connection.
- Select the Anthropic Enterprise tile and select Get Started.
- Enter a connection name.
- Enter the admin API key you created in the previous section.
- Select Connect.
You will be redirected to Cloud Integrations, and your newly created connection will be listed.
Data freshness and historical depth
- Freshness: Data is typically available within about 4 hours of the underlying usage.
- Reconciliation: Anthropic may revise values for a given date for up to 30 days as late events arrive and reconciliation runs. The most recent month of cost in CloudZero may shift slightly as Anthropic finalizes the numbers.
- History: CloudZero ingests up to 12 months of historical data when the connection is first created. Anthropic's Enterprise Analytics API does not currently return data prior to January 1, 2026 — connections established before that floor has moved out of the rolling 12-month window will see correspondingly less history.
Using both connections together
Enterprise plan customers can configure both an Anthropic Platform connection and an Anthropic Enterprise connection against the same Anthropic organization. The Platform connection draws workspace- and API-key-level cost and usage data from the Admin API. The Enterprise connection draws per-user cost and usage data — broken down by product, model, and context window — from the Enterprise Analytics API. Each connection uses its own key with its own scope; they are independent rather than layered. When both are active, Anthropic spend will appear from each source.
Expect temporary double-booking in places where the two sources overlap. To isolate one source, filter Explorer by Billing Connection Id.
Which source should I use for which question?
| Question or breakdown you need | Recommended source |
|---|---|
| What did Anthropic invoice us for our Enterprise plan? | Anthropic Enterprise |
| Per-user cost breakdown | Anthropic Enterprise |
| Per-product breakdown (Chat, Claude Code, Cowork, Office Agent, Claude in Chrome) | Anthropic Enterprise |
| Per-workspace cost breakdown | Anthropic (Platform) |
| Per-API-key cost breakdown | Anthropic (Platform) |
Troubleshooting
Validator returns an error about analytics or your plan
Two distinct errors can surface here:
400—"The analytics API requires an enterprise plan": Your Anthropic organization is not on the Enterprise plan. The Enterprise Analytics API is only available on Enterprise.404—not_found_error: Your organization is on the Enterprise plan, but Enterprise analytics has not been enabled by Anthropic yet.
In the second case, contact Anthropic Support and ask them to enable Enterprise analytics for your organization.
Authentication error when creating an Anthropic Enterprise connection
The most common cause is pasting an Admin API key from platform.claude.com (prefix sk-ant-admin...) instead of an analytics-scoped key from claude.ai/analytics/api-keys. Only the analytics-scoped key can call the Enterprise Analytics API. Re-create the connection with a key from claude.ai/analytics/api-keys.
I see Anthropic spend twice in Explorer
You likely have both a Platform connection and an Enterprise connection active. See Using both connections together. Filter by Billing Connection Id to isolate one source.
Updated 2 days ago
