Compare models
compare_modelsCompare LLMs offline for a fixed token shape, ordered by cost. Displays the price multiplier relative to the cheapest model to help select the economical option.
Instructions
Compare models side by side for a fixed token shape, cheapest first, with the multiple of the cheapest. Offline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| models | Yes | Models to compare (alias or id). | |
| inputTokens | Yes | Input tokens for the comparison. | |
| outputTokens | Yes | Output tokens for the comparison. | |
| providers | No | Axis 1: provider availability allowlist (spec 5.4). | |
| target | No | Axis 2: "self" (default) applies the client scope; "code" considers all providers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| cheapest | Yes | ||
| mostCapable | Yes | ||
| cheaperIfAvailable | No | ||
| unknownModels | Yes | ||
| providerScope | Yes | ||
| scopeSource | Yes | ||
| catalogVersion | Yes | ||
| asOf | Yes |