Skip to main content

cost_of

Function cost_of 

Source
fn cost_of(model: &str, counts: &TokenCounts, pricing: &PricingTable) -> f64
Expand description

Notional cost of counts at model’s price; 0 for an unpriced or <synthetic> model.