Pick the cheapest offer that really fits
recommend_planGet a concrete Vast.ai rental plan from a workload template: compatible GPU offers, total session cost with weight download, the hidden-price trap avoided, and exact create_instance arguments.
Instructions
One call from a workload to a concrete plan: the offer to rent, what the session will cost including weight download, the sticker-price trap it avoided, and the exact create_instance arguments. Never picks hardware the workload cannot run on. Returns JSON: {ok, message, next_tool, next_args, ...tool-specific fields}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template | Yes | Template id, e.g. minimax-h3/i2v-32gb | |
| gpu_names | No | Restrict to exact Vast gpu_name values, e.g. ["RTX 5090"] | |
| work_minutes | No | Minutes of real GPU work planned, default 45 | |
| interruptible | No | Bid for an interruptible instance; it can be reclaimed mid-render | |
| allow_unverified | No | Consider hosts Vast has not verified: cheaper, flakier | |
| max_usd_per_hour | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false only when the tool itself failed (bad input, missing key, API error). | |
| message | Yes | Human-readable summary to relay to the user. | |
| next_args | No | Suggested arguments for next_tool. | |
| next_tool | No | Suggested next tool, or null when nothing else is needed. |