Get the model benchmark
get_benchmarkWhich model to use for a job, in three tiers (best, middle, cheapest), priced for this account: credits per reference request, who pays (paid_by: one of the user's own keys at no credits, the house's free allowance, or credits) and whether that payer can now (affordable), plus the account's two priorities (image_priority, clip_priority: best, balanced or cheapest) and, per task, the selected_tier its kind's priority picks. Call it before choosing a model and take the selected tier. When the priority for the kind is not saved, ask the user once, at their first request of that kind, what matters most (best quality, balanced or lowest cost, with the prices), save the answer with set_preferences and never ask again; until then an image takes the best tier and a clip (selected_tier null) waits for the answer. When a tier is not affordable, take the best affordable one and say so; a key that is out of funds (blocked) is the user's to top up, so ask. Pass task to also get the catalog recipes made for that job; when one fits, prefer it (generate_with_recipe, or start_recipe_run for a run recipe).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| task | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| account | Yes | ||
| message | Yes | ||
| reviewed_at | Yes |