How to Get Google Gemini Free API Key (Step-by-Step)

By Joe @ SimpleMetrics
Published 9 September, 2025

You can generate a free API key for Google Gemini through Google AI Studio in just a few clicks. Here’s a quick guide.

Steps to create a free API key for Gemini AI

1. Open Google AI Studio

Go to Google AI Studio and sign in with your Google account. In the top navigation, click Get API key.

Google AI Studio – Get API key entry point
Google AI Studio – click “Get API key”.

2. Create API Key

In the API keys section, click Create API key.

Create API key button in Google AI Studio
Click “Create API key”.

3. Choose or Create a Project

Select an existing Google Cloud project, or choose New project to create one on the spot. Then confirm to generate the key.

Select existing project or create a new project
Select an existing project or create a new one.

4. Copy Your API Key

After the key is created, click Copy next to the key and store it somewhere secure. You’ll use this key in your application or tool configuration.

Additional tips

Key tips for using your Gemini API key safely

  • Keep it secret: Never share your API key publicly or embed it client-side without protection.
  • Revoke if needed: Revoke and re-create the key if you believe it has been exposed.
  • Usage & limits: Be mindful of rate limits and regional availability; some features may require billing to be enabled.

Prefer to use Gemini in Google Sheets without managing API keys? Try our add-on: AI for Sheets.

Found this useful? Share it!

If this helped you, I'd appreciate you sharing it with colleagues.

Was this page helpful?

Your feedback helps improve this content.

Related Posts