Estimate a monthly API bill
estimate_monthly_billTurn a daily usage pattern (requests per day, tokens per request) into a cost per day and per period for up to six models, using Kingy's currently verified rates. Models without a current price are listed as unavailable with the reason.
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>",
"requests_per_day": "<requests_per_day>",
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>"
},
"name": "estimate_monthly_bill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days in the period. Default 30. | |
| models | Yes | Models to compare. | |
| input_tokens | Yes | Input tokens per request, including any cached input. | |
| output_tokens | Yes | Output tokens per request, including reasoning tokens. | |
| requests_per_day | Yes | Requests per day. | |
| cached_input_tokens | No | Portion of input_tokens served from the prompt cache. Default 0. |