Anthropic Usage & Cost API
Programmatically access your organization's API usage and cost data with the Usage & Cost Admin API. The Usage API tracks token consumption across your organization with detailed breakdowns by model, workspace, and service tier via the /v1/organizations/usage_report/messages endpoint. The Cost API retrieves service-level cost breakdowns in USD via the /v1/organizations/cost_report endpoint. Requires an Admin API key.