calculate_model_arbitrage
Price a workload at list prices across models: cost per request and per month for the requested model, its cheaper sibling, and the effect of prompt caching. Pricing table version 2026-10-26.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| compare_to | No | ||
| input_tokens | Yes | ||
| output_tokens | Yes | ||
| static_tokens | No | portion of input_tokens that is a fixed prefix (system + tools) | |
| requests_per_month | No |