models_cheapest
$0.002 via x402: The cheapest models that fit a job: rank by blended price (3 parts prompt, 1 part completion) under constraints min_context=, modality= (image, file, audio), reasoning=true, provider=, exclude_free=true (default; free routes are rate-limited); top= (default 10). Pay 0.002 USDC through https://store.agentexchange.work/gw/models/cheapest?min_context=128000&modality=image Via the Agent Exchange store
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": "models_cheapest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | top | |
| modality | No | modality | |
| provider | No | provider | |
| reasoning | No | reasoning | |
| x_payment | No | Signed x402 payment payload (optional; without it the answer is the price) | |
| min_context | No | min_context | |
| exclude_free | No | exclude_free |