We’ve launched the Usage and Cost Analytics API in beta with the analytics-usage-cost-2026-08-24 beta header
Anthropic's Usage and Cost Analytics API is in beta for Claude Console and Claude Enterprise organizations.
Use the analytics-usage-cost-2026-08-24 beta header to call /v1/organizations/analytics/usage and /v1/organizations/analytics/cost. You can filter and group token usage and cost by model, workspace, API key, and the user or service account behind each request.
The older Usage and Cost API and Enterprise usage_report, cost_report, user_usage_report, and user_cost_report endpoints are now legacy, but remain supported. Anthropic directs new integrations to the new API and provides migration guides for existing ones.
Loading replies…
Loading replies