token_cost_estimate
Estimate wall-clock time and dollar cost for any LLM token usage. Combines token counts with model-specific pricing to output cost breakdowns and time estimates.
Instructions
Estimate wall-clock time AND dollar cost for LLM token usage.
Combines token-to-time mapping with model-specific pricing data. Returns cost breakdown (input/output/overhead) alongside the time estimate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes | Total number of tokens in the LLM request (prompt + completion). | |
| model | Yes | LLM model identifier. Unknown models fall back to generic estimates. | |
| tool_calls | No | Number of tool calls expected in the agentic loop. | |
| reasoning_depth | No | Expected depth of chain-of-thought reasoning. | moderate |
| task_type | No | Optional task type for feedback matching. |