pub fn price_models(map: &HashMap<String, ModelUsage>) -> Vec<ModelSpend>Expand description
Prices a model usage map into sorted ModelSpend rows. Pure: shared by the
in-memory snapshot and the cross-process persisted_snapshot.
pub fn price_models(map: &HashMap<String, ModelUsage>) -> Vec<ModelSpend>Prices a model usage map into sorted ModelSpend rows. Pure: shared by the
in-memory snapshot and the cross-process persisted_snapshot.