Anthropic
Track Claude API usage and model-level costs in Pump View alongside your cloud spend.
Bring your Anthropic API spend into Pump View alongside your cloud costs. Pump pulls Claude API token usage, model-level costs, and workspace breakdowns, giving you a single place to track infrastructure and AI spend.
Setup time: ~3 minutes
Access level: Read-only
Prerequisites
An Anthropic Admin API Key. This key starts with
sk-ant-admin-...and is different from a standard API key. Only Admin keys have access to billing and usage data.Admin role on your Anthropic Workspace. Only Admins can generate Admin API keys. If you don't have Admin access, ask your workspace Admin to create the key for you.
Billing enabled on your Anthropic account.
Setup Instructions
1. Create an Admin API Key
Log in to the Anthropic Console.
Go to the Admin Keys section (this is separate from the standard API Keys page).
Click Create Key.
Give it a descriptive name (e.g.,
Pump Integration).
2. Copy Your Key
Copy the Admin API key immediately after creation. It is only displayed once. If you lose it, you'll need to generate a new one.
3. Connect in Pump
In Pump, go to Settings → Integrations.
Find Anthropic and click Connect.
Paste your Admin API key.
Click Connect.
4. Verify
Pump validates your key and backfills up to 365 days of historical usage data. Your Anthropic spend should appear alongside your cloud costs within a few minutes.
What Data Does Pump Pull?
Token usage
Input and output token counts per model
Model costs
Spend broken down by Claude model (e.g., Sonnet, Opus, Haiku)
Workspace breakdown
Costs attributed to individual Anthropic workspaces
Cache reads
Cache read input token costs
Cache creation
Ephemeral cache creation costs
Web search
Costs for web search tool usage
Code execution
Costs for code execution tool usage
Frequently Asked Questions
I don't see an "Admin" key type when creating a key.
You may not have Admin-level access to your Anthropic workspace. Ask an existing Admin to either grant you Admin permissions or generate the key on your behalf.
Can I use a regular API key (sk-ant-api-...)?
No. Standard API keys don't have access to billing or usage data. You need an Admin key (starts with sk-ant-admin-...), which is created from the Admin Keys section of the console.
How far back does Pump pull data?
Pump backfills up to 365 days of historical usage data from the date you connect.
Is my API key stored securely?
Yes. Pump uses your key with read-only access to fetch billing data. The key is encrypted at rest and is never used to make inference calls or modify your Anthropic account.
Can I revoke the key later?
Yes. You can delete the Admin API key from the Anthropic Console at any time. This will disconnect the integration in Pump, and new data will stop syncing.
My data isn't showing up after connecting.
Confirm the key you pasted starts with
sk-ant-admin-....Check that billing is enabled on your Anthropic account.
Wait a few minutes. The initial backfill can take a moment depending on usage volume.
If the issue persists, reach out to support@pump.co.
Last updated
Was this helpful?

