llm_cost_quote
Text or token counts in, cost per model out, cheapest first, from OpenRouter's public price list with a price-fetched-at timestamp. Applies time-of-day pricing. Not charged if the price list is unavailable or no model matches. Price $0.0034 via x402.
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": "llm_cost_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| text | No | ||
| models | No | ||
| request_id | No | Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once. | |
| include_free | No | ||
| input_tokens | No | ||
| output_tokens | No |