pub fn cost(model: &Model, tokens: &TokenCounts) -> f64Expand description
The cost of tokens on model: a cached read at the cache price, the rest of the input at the input price.
pub fn cost(model: &Model, tokens: &TokenCounts) -> f64The cost of tokens on model: a cached read at the cache price, the rest of the input at the input price.