Expand description
Pricing cache and refresh helpers.
Structs§
- Pricing
- Per-model pricing in USD per million tokens.
- Pricing
Cache - Cached pricing payload persisted on disk.
- Pricing
Catalog - Resolved pricing data for a run.
- Pricing
Load Options - Pricing load options.
Enums§
- Cache
Decision - High-level cache action.
Functions§
- decide_
cache_ action - Decide whether pricing should be refreshed.
- default_
cache_ path - Resolve the on-disk cache path.
- load_
pricing_ catalog - Load pricing with cache + refresh behavior.