Connect Anthropic
Anthropic cost and usage from your organization appear in CloudYali after you connect an Admin API key. CloudYali reads cost by workspace, model and API key, next to your cloud spend. Setup takes about 5 minutes.
Before you start
- Your Anthropic account must be an organization, not a standalone account.
- You need to be an organization admin in Anthropic to create an Admin API key. See Anthropic Admin API key.
What CloudYali can read
| Data | Why CloudYali needs it |
|---|---|
| The cost report, by workspace and line item | Anthropic cost in Cost Explorer and budgets |
| Usage by model, workspace and API key | Splitting cost by model and by key |
| Claude Code usage | Claude Code activity and cost, when your organization has it |
| Workspaces, API keys, users and workspace members | Naming the workspaces and keys behind the cost |
An Admin API key can do more than read. Anthropic permissions lists the calls CloudYali makes.
Connect Anthropic
- In CloudYali, open Integrations and select Connect on the Anthropic card (Add account if Anthropic is already connected).
- Enter an Account name. It labels the connection on the Connected tab.
- Paste the Admin API key. It starts with
sk-ant-. - Select Connect.

CloudYali checks the key with Anthropic and reads the organization's name before it stores the key. The key is stored encrypted and is not shown again.
Check that it worked
The console shows Connected with the organization's name, and the connection appears on the Connected tab of Integrations. The first data arrives with the next daily sync, not straight away. The first sync reads 6 months of cost and usage; after that, CloudYali syncs once a day.
Replace a key or disconnect
The console cannot replace an Anthropic key yet. To change it, contact support@cloudyali.io.
To disconnect, open the Connected tab and select Remove on the row. CloudYali deletes the stored key and keeps the cost history it has. To revoke the key itself, delete it in the Anthropic Console under API keys → Admin keys.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| That does not look like an Anthropic key | The key does not start with sk-ant- | Copy the whole Admin API key |
| Failed to validate API key with Anthropic | The key is a standard API key, not an Admin API key, or the account is not an organization | Create an Admin API key in an Anthropic organization |
| An account for organization '…' is already connected | This organization is already connected to CloudYali | Find it on the Connected tab |
| No data after a day | The first daily sync has not run yet | Check Last sync on the Connected tab the next day |