> Search "gemini api key", 2nd hit (after a help article)
> Click "Create API Key" button.
> Select project
> Copy key
No billing setup necessary.
> Click "Create API Key" button.
> Select project
> Copy key
No billing setup necessary.
I dont know if the solution with connecting to payment account is valid: this is what gemini told me when I descried problem using aistudio.google.com