earwaxntoast
08/02/2025, 5:07 AMAI Evy
08/02/2025, 5:07 AMAI Evy
08/02/2025, 5:07 AMcall_cost object is available in the response and includes detailed cost breakdown [(2) ]() [(3) ]() [(4) ]() :
javascript
"call_cost": {
"product_costs": [
{
"product": "elevenlabs_tts",
"unitPrice": 1,
"cost": 60
}
],
"total_duration_seconds": 60,
"total_duration_unit_price": 1,
"total_one_time_price": 10,
"combined_cost": 70
}
For chats, the chat_cost object provides similar cost information [(5) ]() :
javascript
"chat_cost": {
"product_costs": [
{
"product": "elevenlabs_tts",
"unitPrice": 1,
"cost": 60
}
],
"combined_cost": 70
}
As mentioned in the community discussion, you would need to retrieve all calls using the List Calls endpoint and sum up the costs to get total billing information [(1) ]() .AI Evy
08/02/2025, 5:07 AMAI Evy
08/02/2025, 5:07 AM