Google Gemini

Gemini keys come from Google AI Studio and take about a minute to

create with any Google account.

Creating a key

  1. Go to aistudio.google.com/apikey

and sign in with your Google account.

  1. Click Create API key and, if asked, create or pick a project for it

to live in.

  1. Copy the key — it starts with AIza.

Google's official reference:

ai.google.dev/gemini-api/docs/api-key.

The Gemini API has a free tier with rate limits that's fine for trying

things out; for higher limits you attach billing to the project (billing is

managed in Google Cloud, but you never need to leave AI Studio to create

the key itself).

The one gotcha: Vertex AI keys don't work

Google has two AI products with credentials:

  • Gemini API (AI Studio) — a plain API key starting AIza. ✅ This is

what you want.

  • Vertex AI — service-account JSON files / OAuth credentials from the

Google Cloud console. ❌ These are a different product and will not work

here.

If what you're holding is a downloaded .json file, it's a Vertex

credential — go to

aistudio.google.com/apikey and create

a Gemini key instead.

Rotating or revoking a key

Keys are managed on the same AI Studio page — delete the old one, create a

replacement, and add it from your dashboard.