FREE PRACTICAL AI LEARNING · LEARN BY DOINGNO SIGNUP NEEDED · YOUR WORK STAYS YOURS
Open PracticePRACTICAL AI ENGINEERING
API KEYS · GUIDE 2 OF 7

How to get a free Google Gemini (AI Studio) API key

Generous free tier on Gemini Flash models with a Google account.

Checked 29 October 2026. Free tiers change — confirm the live numbers in the console.

You need
A Google account. No card for the free tier.
Free allowance
Free tier on Flash and Flash-Lite models, with limits set per project and shown in AI Studio (community tracking in October 2026: roughly 10–15 requests per minute and around 1,000–1,500 requests per day on Flash). Pro models are generally paid only.
Best for
Longer documents (very large context window), summaries, multilingual drafts.
Region notes
Only available in countries on Google’s “available regions” list. If AI Studio says it is not available where you are, use Groq or OpenRouter. In the EEA, UK and Switzerland, paid-service data terms apply; elsewhere, free-tier prompts may be used to improve Google products — do not paste private data.
Key looks like
AIza…

Step by step

  1. Go to aistudio.google.com and sign in with your Google account.
  2. Accept the terms. New users get a default Google Cloud project automatically.
  3. Click “Get API key” (or open aistudio.google.com/apikey).
  4. Click “Create API key” and select the default project.
  5. Copy the key — it starts with AIza. Store it privately.
  6. On Open Practice, open Key settings, choose Google Gemini, paste and press “Test key”. Pick a model with “flash” in the name.

Use it on Open Practice

Paste the key into Key settings and press Test key. Then open any free tool and choose “Draft with my AI key”. The key stays in your browser.

If something goes wrong

403 / permission deniedThe API may be unavailable in your country or for this project. Try a new project, or use Groq.
429 with “limit: 0”This project has no free quota for that model. Choose a Flash model or another project.
400 API key not validCopy the full key again from AI Studio.

Keep your key safe

Other free keys

Questions people ask

Is Google Gemini (AI Studio) free?

Free tier on Flash and Flash-Lite models, with limits set per project and shown in AI Studio (community tracking in October 2026: roughly 10–15 requests per minute and around 1,000–1,500 requests per day on Flash). Pro models are generally paid only.

Do I need a credit card for Google Gemini (AI Studio)?

A Google account. No card for the free tier.

Is Google Gemini (AI Studio) available in my country?

Only available in countries on Google’s “available regions” list. If AI Studio says it is not available where you are, use Groq or OpenRouter. In the EEA, UK and Switzerland, paid-service data terms apply; elsewhere, free-tier prompts may be used to improve Google products — do not paste private data.