Get the cost statistic for a specific API Key?


Currently I can only see the costs for the whole account. Is there a way to get the costs for a specific API Key?

OpenAI introduced some usage-tracking features to API keys, and also very limited controls of what endpoints a key can access, but the usage report of the API key is not given to you in terms of cost, only the activity of requests and tokens.

1 Like