compute.cost
Get a model recommendation for a task type without running inference. Returns the best free model for the task, its strengths and speed tier, and a list of alternatives. Use this when an agent needs to select a model before committing to inference, or to surface model selection logic to a human. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | Description of the task — e.g. "summarize a financial document", "write Python code", "translate from French", "reason through a math problem". | |
| speed | No | true = prefer fastest model over most capable. Default false. |