ReferenceAPIsRust Library Referencenemo-relaycodecpricingFunction estimate_cost_for_providerAsk a question|Copy page|View as Markdown|More actionsGenerated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi. pub fn estimate_cost_for_provider( provider: Option<&str>, model: &str, usage: &Usage, ) -> Option<CostEstimate> Estimates USD cost for a provider/model pair when pricing is known.