{
"summary": {
"totalCost": "4.2310",
"taskCount": 87,
"tasksWithCost": 83,
"avgCost": "0.0509",
"costTrend": "-12.4",
"prevPeriodCost": "4.8200",
"days": 30
},
"forecast": {
"dailyAvgCost": "0.1410",
"monthCostSoFar": "2.1800",
"forecastedMonthTotal": "5.0900",
"daysRemaining": 14
},
"dailyCosts": [
{ "date": "2025-01-01", "cost": 0.32, "taskCount": 6 }
],
"costByRepo": [
{ "repoUrl": "https://github.com/org/repo", "totalCost": 1.84, "taskCount": 32 }
],
"costByType": [
{ "taskType": "coding", "totalCost": 3.91, "taskCount": 74 },
{ "taskType": "review", "totalCost": 0.32, "taskCount": 9 }
],
"costByModel": [
{
"model": "claude-opus-4-20250514",
"totalCost": 3.12,
"taskCount": 42,
"successRate": 95,
"avgCost": 0.074,
"totalInputTokens": 5880000,
"totalOutputTokens": 756000
}
],
"anomalies": [
{
"id": "uuid",
"title": "Migrate database schema",
"repoUrl": "https://github.com/org/repo",
"taskType": "coding",
"state": "completed",
"costUsd": "4.2100",
"modelUsed": "claude-opus-4-20250514",
"repoAvgCost": 0.84,
"costRatio": 5.01,
"createdAt": "2025-01-12T09:00:00Z"
}
],
"modelSuggestions": [
{
"repoUrl": "https://github.com/org/repo",
"currentModel": "claude-opus-4-20250514",
"taskCount": 15,
"avgCost": 0.92,
"cheaperModelAvgCost": 0.18
}
],
"topTasks": [
{
"id": "uuid",
"title": "Refactor auth module",
"repoUrl": "https://github.com/org/repo",
"taskType": "coding",
"state": "completed",
"costUsd": "0.8140",
"inputTokens": 142000,
"outputTokens": 18000,
"modelUsed": "claude-opus-4-20250514",
"createdAt": "2025-01-15T10:32:00Z"
}
]
}