Estimate cost
estimate_costThe exact amount create_generation would charge for this request. Nothing is created or charged.
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": {
"model": "<model>",
"input": "<input>"
},
"name": "estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Model parameters, exactly as get_model lists them (camelCase). Media inputs are public URLs. | |
| model | Yes | Model id from list_models, for example `veo3.1-fast`. |