estimate_cost
Estimate the USD cost of an LLM API call for a given model and token counts. Returns input/output/total cost, plus reseller markup vs. the upstream model when applicable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id in provider/model form, e.g. anthropic/claude-opus-4-8. Use list_models to discover ids. | |
| input_tokens | Yes | Number of input (prompt) tokens. | |
| output_tokens | Yes | Number of output (completion) tokens. |