Expand description
Cost tracking โ token counting and billing for LLM calls Phase 4 feature: Production billing support
Structsยง
- Cost
Record - Cost record for a single LLM call
- Cost
Summary - Cost
Tracker - Cost tracker (in-memory + persistent accounting hooks)
- Model
Cost - Cost per 1M tokens (input/output separate)
- Rate
Limit Status - Claude API rate limit status (from response headers)
- Token
Usage - Token usage for a call