Pre-flight: cheapest listed model for your needs (paid: 0.003 RLUSD or 0.003 USDC on Base via x402)
decide_cheapest_modelPaid: 0.003 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.003 USDC on Base (eip155:8453). Use when an agent needs the lowest listed price (OpenRouter listing) among models meeting hard needs. A pre-flight price reading: the lowest-priced match (field pick) and a fallback reading from a different vendor, reasons, excluded counts per filter, with sources and times. A measurement, not advice or a quality rating. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vendor | No | Comma list of allowed vendors | |
| capability | No | Comma list, all required: reasoning, coding, vision-input, image-output, audio, free-tier, tools, structured-output | |
| min_context | No | Minimum context length in tokens | |
| include_free | No | Allow zero-price / :free entries (default false) | |
| exclude_vendor | No | Comma list of vendors to skip | |
| max_input_per_1m | No | Max input price, USD per 1M tokens | |
| max_job_cost_usd | No | Max cost of 10k input + 1k output tokens, USD | |
| max_output_per_1m | No | Max output price, USD per 1M tokens | |
| payment_signature | No | Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements. |