Recommend the measured best model for a task (score, cost per correct)
recommendRecommends what to call for a task from our own measurements: the rows on the measured frontier (top score or cheapest cost per correct output), each with score, cost per correct, n, date, source and the gaents alias or job to call. Measured tasks now: coding, ner, ner-conll2003, ocr, pixel-canary-profile, placement, roar, s1, transcription, transcription-h2h15, tts. Use it to choose a model or job for one of those tasks before paying for runs. Use models_list instead for every model's price and verdict at once, free. Use chat instead to run the recommended alias. Cost: $0.005 per answered task, debited from your balance; a task we have not measured answers 'not measured' and is free. Auth: Authorization: Bearer (POST https://api.gaents.com/v1/accounts, $0.10 free credit); with no key the call returns a signed 402 quote payable in BSV or USDC via x402. Errors (isError, error.code): 400 task_required, 401 bad_api_key, 402 low balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task": "<task>"
},
"name": "recommend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | A task id from the list above, or words matched against task names (e.g. extraction). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | the build and its sources | |
| task | Yes | ||
| answer | No | 'measured' or 'not measured' | |
| matches | No | ||
| measured | Yes | ||
| charged_usd | No | ||
| measured_tasks | No | the tasks we have measured (always given) | |
| receipt_quote_id | No |