Skip to main content

estimate_decisions_cost

Function estimate_decisions_cost 

Source
pub fn estimate_decisions_cost(usage: &Usage) -> SessionCostEstimate
Expand description

Base price for the bounded, standard-endpoint Decisions probe, not generation. OpenAI charges $0.10 per million input tokens and no output/cache surcharge. Regional and long-context premiums are outside this bounded probe route.