Can I send some unique ID and sort costs by it on google cloud?

I want to analyse the costs of my Gemini call for different use cases. I am using one API key and one google cloud project. Can I send some id for different use cases and use that to divide the costs on google cloud? Or would I need to have different API keys?