pub fn summarize_usage(
records: &[UsageRecord],
pricing: &[ModelPricing],
) -> UsageSummaryExpand description
Aggregates records additively. Each invocation ID is expected to be unique; retries and fallback attempts are separate records and therefore counted.