Create a Gemini API key in Google AI Studio, understand the free tier's limits and data terms, and make your first Gemini call.
Get me a Gemini API key so I can try Google's models in my app
How it works
- Open Google AI Studio: Vovy opens aistudio.google.com and you sign in with your Google account. AI Studio is where Gemini API keys live.
- Create an API key: Vovy clicks Get API key, then Create API key, and links it to a Google Cloud project, which is created for you if you have none.
- Explain free vs paid: A card compares tiers: the free tier has tight rate limits and Google may use your prompts to improve products. Adding billing lifts limits and changes that.
- Store the key safely: Vovy saves GEMINI_API_KEY in your server environment or .env file and checks .gitignore so it never lands on GitHub.
- Run a test prompt: Vovy sends a quick request and shows the reply on a card, plus the snippet to use in your app.
What you provide
- A Google account
- A project folder or backend
What you get
- A Gemini API key
- A clear read of free tier limits
- A working test call
FAQ
Is Gemini really free?
There is a free tier with rate limits. For production traffic or private data, enable billing on the Cloud project.
Is this the same as Gemini in Google Workspace?
No. A Workspace or Google One plan does not include API usage. The API is set up in AI Studio or Google Cloud.
Can I use it in an OpenAI-style app?
Yes. Gemini offers an OpenAI-compatible endpoint, so many apps can switch by changing the base URL and key.
Related tasks
All tasks