Anthropic launches beta API for usage and cost analytics
Brief by TrendCue AI · Dates refer to the original sources.
Anthropic has launched a beta Usage and Cost Analytics API for Claude Console and Claude Enterprise organizations. The endpoints report token usage and cost with filters and groupings such as model, workspace, API key and actor.
Reports and breakdowns
The usage endpoint reports token and request counts; the cost endpoint reports costs in USD. Anthropic says organizations can rank results by usage or cost and build daily, hourly or per-minute time series. Usage includes activity that cannot be attributed to a seat user.
Access and cost interpretation
Requests require the beta header and an API version header. Claude Console organizations use an Admin API credential; Claude Enterprise organizations use a key with the read:analytics scope after the Analytics API is enabled. The reported cost amount is after discounts but before credits; list-price amounts are also provided.
Data freshness and migration
Anthropic says data typically refreshes within 4 hours but can take up to 24 hours, and values may be revised as late events arrive. The documentation describes migration from legacy reports: the new API returns rows for combinations with data rather than including empty time buckets, and uses a beta header.
Original sources
Original websites and X posts open in a new tab.
- Official announcement — Anthropic ↗https://platform.claude.com/docs/en/release-notes/overview
- Official announcement — Anthropic ↗https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api
- Official announcement — Anthropic ↗https://platform.claude.com/docs/en/api/http/beta/organization/analytics/usage/list
- Official announcement — Anthropic ↗https://platform.claude.com/docs/en/api/beta/organization/analytics/cost