Recommend a node and model
recommendRecommend the best AI node + model for a task, with an enforceable cost estimate and human-readable reasons. Use this first when you know the task but not the model. Pass task (sent to this registry, which extracts features and discards the text) or features already extracted on your side with extractFeatures from @opennodes/core, which keeps the prompt private. Returns ranked candidates with score components, a cost estimate pinned to the node's card revision, an optional cheaper two-step scenario, and MCP tool categories the task likely needs. To browse instead, use search_offerings; to price a specific chain, use estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | The task description or the prompt itself. Sent to the registry for feature extraction; use `features` to keep it private. Give this or `features`. | |
| policy | No | Optional constraints and preferences for the recommendation. | |
| features | No | Features from extractFeatures(prompt) in @opennodes/core: task class, size, language and needs, no prompt text. Give this or `task`. | |
| est_output_tokens | No | Expected answer length in tokens, if known. Improves the cost estimate; otherwise inferred from the task. |