estimate_run_cost
Calculate the expected cost of one workload run on a chosen model and compare pricing across all models to find the lowest-cost option for given input and output tokens.
Instructions
Estimate what one run of a workload will cost on a model.
Args: model_id: Model to price the workload on. input_tokens: Expected input tokens for one run. output_tokens: Expected output tokens for one run.
Returns the model's cost plus the same workload priced on every other model in the snapshot, cheapest first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ||
| input_tokens | Yes | ||
| output_tokens | Yes |