estimate_cost
Estimate USD cost for ONE listed priceId and its exact billing scenario. inputMillion/outputMillion are millions of tokens, not individual tokens. Not a live quote, free quota calculation, or charge.
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": {
"priceId": "<priceId>",
"inputMillion": "<inputMillion>",
"outputMillion": "<outputMillion>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | ||
| priceId | Yes | ||
| inputMillion | Yes | ||
| outputMillion | Yes |