
The Usage and Cost Analytics API is now available in beta, reporting token usage and cost for Claude Console and Claude Enterprise organizations through the same endpoints.
Filter and group by model, workspace, API key (Console only), or the user or service account behind each request, and split results into daily, hourly, or per-minute buckets.
Requests need the analytics-usage-cost-2026-08-24 header, and data typically refreshes within 4 hours but can take up to 24. The Usage and Cost API, and the usage and cost report endpoints of the Claude Enterprise Analytics API, are now legacy. All of them remain supported, and the docs show how to migrate.
