ReferenceAPIsRust Library Referencenemo-relaycodecpricingFunction estimate_cost_for_providerCopy page|View as Markdown|Open in Claude|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.