Connect Anthropic to Stax.
Stax pulls dollar-denominated Claude costs and full token-level usage (including cache reads and cache writes) from Anthropic's Admin API. Workspace-level attribution, daily sync, read-only.
Generate the admin API key.
Sign in to the Anthropic Console as a workspace admin and open the API keys page:
console.anthropic.com/settings/keys- Click Create key, then select Admin key as the key type.
- Name it Stax or similar so you can revoke it later if needed.
- Copy the key. It starts with sk-ant-admin-.
Paste the key into Stax.
In Stax, go to /app → Providers → Anthropic → Connect. Paste the key into the field labeled Admin key and save.
Stax validates against /v1/organizations/cost_report before saving. The credential is then encrypted at rest with AES-256 before it touches the database.
What you'll see after the first sync.
The initial backfill pulls cost data for the last 30 days. Anthropic's cost endpoint has a ~5 minute data lag — the dashboard will show "data through 5 minutes ago" rather than real-time. You'll see:
- Daily spend in USD from /v1/organizations/cost_report.
- Per-model breakdown (Claude Sonnet, Opus, Haiku) split by input tokens, output tokens, and cache.
- Cache-read and cache-creation tokens broken out as separate line items so you can verify your prompt-caching strategy is actually saving money.
- Per-workspace attribution if your account has multiple workspaces.
Anthropic does not expose per-user attribution at the API layer — workspace is the finest granularity available. If you need per-developer breakdowns, that's coming from Anthropic, not from Stax.
Common errors
Ready to track this in your AI bill?
Stax is in private beta. Track this provider and your entire AI spend in one dashboard. Join the waitlist to lock in founding-member pricing — $29/mo forever for the first 100 sign-ups.
Join the waitlist →