Skip to main content

query_unpriced_models

Function query_unpriced_models 

Source
pub fn query_unpriced_models(
    conn: &Connection,
    limit: usize,
) -> AnalyticsResult<UnpricedModelsReport>
Expand description

Query token_usage for model names that have estimated_cost_usd IS NULL, grouped by model_name with total token counts. Returns the top limit unpriced models sorted by total_tokens descending.