Compare the same workload across models
compare_modelsPrices the same request across models, optionally filtered by provider or tier, and orders results by cost so you can choose a model before testing quality.
Instructions
Price the same request on every model (optionally one provider or tier), cheapest first. Use to choose a model on cost before testing quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Price on this date (YYYY-MM-DD), including announced changes; default today | |
| tier | No | ||
| batch | No | Use asynchronous batch prices (results within 24 hours) | |
| provider | No | ||
| requests | No | Number of requests to price | |
| input_tokens | Yes | Prompt tokens per request, including cached tokens | |
| output_tokens | Yes | Output tokens per request, including any reasoning/thinking tokens | |
| cached_input_tokens | No | Part of input_tokens read from the prompt cache |