estimate_llm_cost
Per-model token rate card ($/1M input, output, cached input, context window) for a token-priced AI product, plus a cost estimate when a token volume is given.
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": {
"slug": "<slug>"
},
"name": "estimate_llm_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Product slug, e.g. "openai", "claude", "gemini". | |
| model | No | Model id to select, e.g. "gpt-5.4". Optional. | |
| inputTokens | No | Input token count for the estimate. | |
| outputTokens | No | Output token count for the estimate. |