Structs§
- Parsed
Usage - Parsed usage ready for database insertion.
- RawToken
Usage - Raw token usage as returned by the Claude API response metadata.
- Usage
Summary Row - Aggregated usage summary grouped by agent and model.
Functions§
- estimate_
cost - Estimate cost in USD for a given model and token counts.
- parse_
api_ usage - Parse raw API usage into a fully resolved ParsedUsage with cost estimate.