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