find_cheapest_models
Use when you know your token workload but have not selected offers: rank eligible current reviewed offers by USD text-token subtotal and return their exact IDs. Defaults to standard tariffs. Cheapest means within the eligible catalogue and supplied filters, not best quality or the entire market. Equal token counts do not imply tokenizer equivalence. Excludes cache writes, storage, search, tool fees and taxes; reports exclusion counts. Optional capacity filtering uses reviewed pricing input limits, not full context windows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum ranked results to return: 1–20; default 10. | |
| usage | Yes | Token totals for the period or scenario being estimated, not dollars or request counts. Supply input and output separately; cached input is a subset of total input. | |
| provider_id | No | Optional exact provider_id returned by list_providers or offer identity. Use to restrict results to one provider; omit for all providers. | |
| pricing_tier | No | Optional exact tariff name from offer identity, such as standard or peak. Omit to rank standard tariffs. | standard |
| expected_dataset_revision | No | Optional consistency check: copy meta.dataset_revision from a prior tool response to require the same current pricing snapshot. Omit to use the current snapshot. A mismatch returns DATASET_CHANGED; refresh pricing and retry. This cannot retrieve a historical snapshot. | |
| min_input_tokens_per_request | No | Optional minimum reviewed per-request pricing input limit an offer must support. Unknown or smaller limits are excluded. This is not the model context window and does not replace usage.max_input_tokens_per_request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||