Estimate monthly token cost
modelfinder_estimate_costEstimate monthly token spend from request volume, token counts, and provider prices, including cached input and retry pass rates, to compare models and plan evaluations before running them.
Instructions
Estimate monthly token cost from requests per month, average tokens per request and USD-per-million prices, with optional cached-input share and pass rate (cost per accepted result, counting retries). Use for planning or to compare models before running an eval. Read-only and local: no network calls, no files written. Prices are not looked up: pass them from the provider's official pricing page. Returns cost per request, monthly cost and the assumptions used.
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": {
"requests_per_month": "<requests_per_month>",
"input_tokens": "<input_tokens>",
"output_tokens": "<output_tokens>",
"input_price_per_million": "<input_price_per_million>",
"output_price_per_million": "<output_price_per_million>"
},
"name": "modelfinder_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pass_rate | No | Optional eval pass rate; failures are assumed retried. | |
| input_tokens | Yes | Average input tokens per request. | |
| output_tokens | Yes | Average output tokens per request (include reasoning tokens). | |
| cached_fraction | No | Share of input tokens billed at the cached rate (0-1). | |
| response_format | No | markdown (default) for a readable summary, json for the full machine-readable result. | markdown |
| requests_per_month | Yes | e.g. 100000 | |
| input_price_per_million | Yes | USD per 1M input tokens. | |
| output_price_per_million | Yes | USD per 1M output tokens. | |
| cached_input_price_per_million | No | Required when cached_fraction > 0. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assumptions | Yes | ||
| monthly_cost_usd | Yes | ||
| cost_per_request_usd | Yes |