Cost reporting and breakdowns for the dashboard.
Summary
Functions
Aggregates recorded prompt-run and suite-run costs by prompt.
Aggregates recorded prompt-run and suite-run costs by provider.
Returns the average recorded cost across prompt runs and suite runs.
Functions
@spec cost_by_prompt() :: [map()]
Aggregates recorded prompt-run and suite-run costs by prompt.
Results are ordered from highest to lowest total cost.
@spec cost_by_provider() :: [map()]
Aggregates recorded prompt-run and suite-run costs by provider.
Results are ordered from highest to lowest total cost.
@spec cost_per_run() :: float()
Returns the average recorded cost across prompt runs and suite runs.