anthropic_costs
Analyze Anthropic API costs by retrieving detailed expenditure data with model breakdowns and token usage statistics for specified date ranges.
Instructions
Get detailed Anthropic costs with model breakdown and token usage
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | Yes | Start date in YYYY-MM-DD format | |
| endDate | Yes | End date in YYYY-MM-DD format | |
| groupByModel | No | Group costs by model | |
| includeTokenUsage | No | Include token usage statistics | |
| useUsageReport | No | Use usage report API instead of cost report (provides token-level details with calculated costs) |