view actual generation costs
generations_get-costsRead the recorded cost of a past sync generation, split into lipsync, dubbing and speech synthesis components. Answers what a finished generation already cost.
Instructions
Read the recorded cost of one past sync. generation in the current organization, split into lipsync, dubbing and speech_synthesis components. Use it to answer what a generation actually cost; not for a price before generating (generations_estimate-cost) or remaining credits (account_get-usage), and never substitute an estimate or start a paid generation to answer a past-cost question. If the user does not know the generationId, find it with generations_list or projects_list-generations and ask which one when several match. totalCostUsd is null unless availability is complete; then present knownSubtotalUsd only as a partial amount. Whenever retryAfterSeconds is set, read again after that many seconds. Report each component separately, give credit amounts as credit face value rather than cash paid, and tell the user that the excludedCosts (tax, subscription fees, external provider charges, account-level adjustments) are not counted. An unknown or inaccessible id returns an error.
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": {
"generationId": "<generationId>"
},
"name": "generations_get-costs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| generationId | Yes | Id of the past generation, as returned by the create tool, generations_list or projects_list-generations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||