Gemini API for Calculating Credits
Is there a Gemini API that I can use for building my own cost/credits calculator based on tokens used. A google API which returns exactly the number of tokens used and its cost for a given video, image or text analysis.