Again I'm not even sure I'm understanding the auth situation correctly, after having solved this. But if I'm right then the whole GEMINI_API_KEY situation is worse than useless.
@honnibal
-
Google PM’s Wish: Simple Gemini API Key That Doesn’t Help
By
–
My head-canon is some Google PM insisted on having an easy, streamlined credential. Every Google PM appears to wish the rest of Google didn't exist. Well, the monkey paw curled and they got their wish. You can indeed easily get a GEMINI_API_KEY. It won't help you, but it exists.
-
Gemini API rate limit errors persist without solutions
By
–
I've seen thread after thread of people getting immediate rate limit errors on the Gemini API, with no resolutions. So is this the answer? For whatever it's worth, Gemini itself says so — it could always be wrong about its own auth though, it's working from the same docs as us.
-
Google Cloud Authentication Commands Configuration Guide
By
–
So what worked for me is to run the right combination of gcloud auth login, gcloud auth application-default login, gcloud config set project and gcloud auth application-default set-quota-project commands. Oh, set GOOGLE_CLOUD_PROJECT, and of course unset GEMINI_API_KEY. Trivial.
-
Gemini API Key Useless Without Default Billing Project
By
–
The Gemini API key also doesn't have any sort of default billing project. And with no billing project, you have no quota. And the free-tier rate limit for Gemini 2.5 Pro is 0. So correct me if I'm wrong, but doesn't this make the GEMINI_API_KEY worse than useless?
-
Gemini API Key Creation Missing Billing Project Specification
By
–
If you go to the Gemini console at https://
ai.dev, it will cheerfully help you create an API key. You can even select which gcloud project to use the key in. What the key doesn't specify is the _billing_ project. -

Gemini Code rate limit error due to authentication key confusion
By
–
Was keen to try Gemini Code, and I'm immediately reminded of the infamous "skill issue" tweet. I immediately got a rate limit error, because fool that I am, I tried to use GEMINI_API_KEY to authenticate, which is a total red herring.
-
Request for Public Benchmarks to Evaluate Claude Code System Prompts
By
–
@AnthropicAI Are there any public benchmarks I can run when developing a system prompt for Claude Code? I'm an ML person so it's fine if it's a repo with a bunch of steps etc. It's hard to know what's working just by feel, because tasks are always different.
-

Streaming spaCy Development Twice Weekly in 2025
By
–
Trying something new this year: I'm going to stream spaCy and other open-source development and maintenance twice a week! I hope this will give the community a better inside look while things are in progress. I'll also answer your questions and chat about NLP, OSS and more.
-
Navigation issue between Google Cloud Console and AI Studio
By
–
Then to monitor my spending, I do go to a link to the google cloud console…But there's no way to navigate back to the AI Studio page from cloud console. It's not a page for a gcloud resource you can navigate to.