Is there any way get the cost usage in dollars for individual API keys under project

I want to get the cost usage for individual API keys under project.
In this Usage Activity Page I can able to see model wise based on tokens and API requests, On right side, there is a option Top API keys, there I can find the total request for specific API Key.
Is there any way to find the cost usage in dollar for each API key

1 Like

Are you aware that you are not allowed to share keys?

Hi @venkateshsys and welcome to the community!

No, unfortunately there is no way to see per API key costs. I have a same issue where I have a single organization and have multiple keys under that organization, where each key is for a specific app we have deployed. The only way is to infer based on type of model and workload, i.e. I can see what the cost is for Batch API, which I can tie to a specific app.

So short answer is no.

Another option is to just create separate projects and one API key for each project. That way you can see the spend per project.

1 Like

Or save the token from the response and update the prices regulary. They usually change on devdays.