Skip to main content

reports_cost

Function reports_cost 

Source
pub fn reports_cost(provider: &str) -> bool
Expand description

Whether a run on provider reports what it cost. Only Claude’s result frame carries a cost today (PassStats::from_result_frame); any other provider’s runs have cost_known = false, count $0 toward the dollar caps and are bounded by their timeout (§5.3). A provider not known yet is assumed to report one.