pub fn pricing_for_entry(entry: &UsageEntry) -> ModelPricingExpand description
Per-turn rates: pricing_for_model, except Haiku 5.5+ turns whose prompt
(input + cache reads + cache writes) exceeds 100k tokens, which bill the
long-prompt tier.
pub fn pricing_for_entry(entry: &UsageEntry) -> ModelPricingPer-turn rates: pricing_for_model, except Haiku 5.5+ turns whose prompt
(input + cache reads + cache writes) exceeds 100k tokens, which bill the
long-prompt tier.