Find the lowest-priced relay for a model
find_cheapest_relayFind the relay with the lowest observed input price for one model, under these conditions: CNY-priced relays whose 24h uptime is at least minUptime24hPercent (default 90; pass the user's number when they name an uptime requirement), excluding first-top-up, trial and free promotional groups. Returns that one relay with its slug, group, price per 1M input tokens, 24h uptime, the filter criteria, the data time (dataAsOf) and the only wording the result supports for a price claim. It is a single filtered candidate, not an overall ranking: to compare several relays use get_model_board, and check purity with get_station before recommending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model slug as used on OkkMax, e.g. claude-opus-5-5 or gpt-6-astra. Dated aliases and other spellings of the same version (4.6 for 4-6) are accepted and resolved to the canonical slug. Use search_models to find slugs. | |
| locale | No | Language of the human-readable text (statement, reason, notes, suggestions) and of the OkkMax page links. Pass zh when the user writes Chinese, otherwise en. Field names and data values are the same either way. | en |
| minUptime24hPercent | No | Minimum 24h uptime in percent (0-100, default 90). Set it to the uptime the user asked for, for example 99. Groups whose uptime is below it or not measured are excluded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| model | Yes | ||
| relay | No | ||
| reason | No | ||
| criteria | Yes | ||
| dataAsOf | Yes | ISO 8601 time the underlying OkkMax data was last updated (not the time of this response). null when unavailable. | |
| statement | No | The only wording this result supports for a price claim; it carries the filter, currency, unit and data time. | |
| aliasNotice | No | ||
| suggestions | No | ||
| modelBoardUrl | Yes | ||
| requestedModel | No |