quote_price
Estimate USDC cost for a single model call. Uses GET /v1/pricing with model and token params.
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": {
"model": "<model>"
},
"name": "quote_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model alias to quote (e.g. llama-3-70b). | |
| api_key | No | Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call. | |
| max_tokens | No | Optional max completion tokens for the quote. | |
| prompt_tokens | No | Optional estimated prompt tokens (default: 1). |