How do I know how much tocken i have left in Gemini API?

How do I know how much tocken i have left in Gemini API ? If I am using a trial verstion.

Does this help?