ccusage / pricing-fetcher
pricing-fetcher
Fileoverview
Model pricing data fetcher for cost calculations
This module provides a PricingFetcher class that retrieves and caches model pricing information from LiteLLM's pricing database for accurate cost calculations based on token usage.
Classes
| Class | Description |
|---|---|
| PricingFetcher | Fetches and caches model pricing information from LiteLLM Implements Disposable pattern for automatic resource cleanup |