Unable to View Cost Breakdown Per Minute in Metric...
# support
a
Hi team, I tried to access the cost breakdown by applying the "minutes" filter on the Metrics page, but I’m encountering an error. Is there any option or section in the Vapi dashboard where we can view cost breakdown per minute? Alternatively, is this data available through the API? Any guidance would be appreciated. Thanks https://cdn.discordapp.com/attachments/1483894225291575377/1483894225622798537/tmp_41be4164-78c6-4187-b12e-5aec9ff8274e.png?ex=69bc3fb0&is=69baee30&hm=fcfa1d43bd4fc64c926e042396063cae2b0c5a18aa51f668f9598893a8bfcf6c& https://cdn.discordapp.com/attachments/1483894225291575377/1483894226310926416/tmp_4bcd3efa-6afe-44ab-89fb-e936167dd1eb.png?ex=69bc3fb0&is=69baee30&hm=b049b7805a7444792baac80a5db64c787a6cedd84d4b4c085aabf350722c399f&
v
You can view a cost breakdown per minute by creating a custom metric in the Vapi Dashboard's Boards feature. Go to Boards → Add Widget → Text, then enable Formula Mode and use the following formula for "Average Cost Per Minute":
Copy code
{{totalCost}} / ({{totalMinutes}} / 60)
This will display your per-minute cost and can be further customized with filters or visualizations as needed. For more details, see the [Boards quickstart guide](https://docs.vapi.ai/observability/boards-quickstart). Source: - [Boards quickstart](https://docs.vapi.ai/observability/boards-quickstart)
v
Message marked as helpful by @Azhar! šŸŽ‰
c
We hope this helped you. If anything else, please let us know we are happy to help you.