Estimate cost
auteo_estimate_costEstimate the list price in credits for a generation with the given parameters, without generating anything, and check it against the user's balance. Returns credits=null with a reason when the parameter combination is invalid. unlimitedEligible=true means Plus / Ultra subscribers are not charged for this model; unlimitedForYou=true means this user is not charged. When enoughCredits=false, do not submit: tell the user the price and their balance, and ask them to top up at topUpUrl.
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>"
},
"name": "auteo_estimate_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Images per request (image models) or takes (speech models). | |
| text | No | Text to speak (speech models); required to price speech, which is charged per character. | |
| model | Yes | ||
| duration | No | Video length in seconds (video models). | |
| resolution | No | Required for models with resolution tiers. | |
| aspectRatio | No | ||
| inputImageCount | No | Number of reference images; some models charge extra per image. |