Estimate monthly token cost
modelfinder_estimate_costEstimate monthly LLM token costs from request volume, token usage, and official per-million prices, optionally adjusting for cached input and eval pass rates to show cost per accepted result.
Instructions
Planning estimate of monthly token cost from requests, average tokens per request and USD-per-million prices, with optional cached-input share and pass rate (cost per accepted result, counting retries). Prices must come from the provider's official pricing page.
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 |