Anthropic has launched a beta API for tracking Claude Console and Claude Enterprise usage and costs.
Organizations can filter and group token and cost data by model, workspace, API key, and the user or service account behind each request.