Expand description
Token usage and per-model cost estimation.
Modules§
- pricing
- Per-model pricing lookup. Unknown models (e.g. local Ollama) return
None.
Structs§
- Cost
Estimate - Computed cost breakdown in USD.
- Model
Pricing - USD pricing per 1M tokens.
- Token
Usage - Normalised token counts for one request.