estimate_cost
Estimate LLM workload costs from input/output tokens and call volume across multiple models at current prices, showing lower-cost options first.
Instructions
Cost of a workload on several models at today's prices, cheapest first.
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": {
"models": "<models>",
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| calls | No | Number of calls, e.g. per day or per month. | |
| models | Yes | Model ids or names, e.g. ['openai/gpt-4o-mini', 'claude haiku']. | |
| input_tokens | Yes | Input tokens per call. | |
| output_tokens | Yes | Output tokens per call. | |
| response_format | No | 'markdown' (default) or 'json'. | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |